20080406-Loadrunner-Citrix ICA虚拟用户函数

Citrix products deliver applications across networks. Applications reside on the Citrix server; access to those applications is delivered to remote machines (the Citrix clients) via Citrix's ICA protocol. ICA supports a full GUI interface of the server application on the client side.

LoadRunner records GUI activity on the Citrix client and replays it to the Citrix server.

Currently, events are recorded in analog mode. That is, objects are identified by their coordinate position, and not by a context-sensitive name (e.g."OK_BUTTON"). For example, the parameters of the ctrx_mouse_click function, x_pos and y_pos, specify the pixel coordinates of the mouse click, found, say, within a window dialog's "OK" button.

[u][b]连接函数[/b][/u]
ctrx_connect_server: 连接Citrix服务
ctrx_disconnect_server: 断开Citrix服务器连接
ctrx_set_connect_opt: 设置Citrix ICA服务器选项并连接
ctrx_nfuse_connect: Connects to a Citrix server via an NFUSE portal

[u][b]鼠标事件函数[/b][/u]
ctrx_mouse_click: 模拟Client的一个鼠标点击事件
ctrx_mouse_double_click: 模拟Client的一个鼠标双击事件
ctrx_mouse_down: 模拟一个鼠标“点下”的事件
ctrx_mouse_up: 模拟一个鼠标“点击释放”的事件

[u][b]键盘事件函数[/b][/u]
ctrx_key: 模拟一个输入非数字字符串的键盘事件
ctrx_type: 模拟一个输入数字的键盘事件

[u][b]选择事件函数[/b][/u]
ctrx_list_select_item: 从列表中选择一项
ctrx_menu_select_item: 从菜单中选择一项

[u][b]同步事件函数[/b][/u]
ctrx_set_waiting_time: 设置LoadRunner/Citrix ICA的等待事件
ctrx_set_window: Waits for a window to appear in the Citrix client
ctrx_set_window_ex Waits for a window to appear in the Citrix client for a specified amount of time
ctrx_sync_on_bitmap Waits until a bitmap appears
ctrx_sync_on_bitmap_change Waits until a bitmap changes
ctrx_sync_on_obj_info Wait until the specified object's attributes have the specified value
ctrx_sync_on_window Waits for a window to become created or active
ctrx_unset_window Waits for a window to close in the Citrix client
ctrx_wait_for_event Waits for a specified event to occur
ctrx_win_exist Checks if a window is visible on the screen

[u][b]Citrix通用函数[/b][/u]
ctrx_save_bitmap Saves the demarcated bitmap in a buffer.
ctrx_set_exception Specifies exception handling.

[u][b]信息交互函数[/b][/u]
ctrx_button_get_info Retrieves information about a push button.
ctrx_edit_get_info Retrieves information about a text edit field.
ctrx_get_bitmap_value Returns the value of a bitmap as a string
ctrx_get_text Retrieves the text in a rectangle.
ctrx_get_window_name Retrieves the name of the active window
ctrx_get_window_position Retrieves the position of a window
ctrx_list_get_info Retrieves information about a list box.
ctrx_obj_get_info Retrieves information about an object.
ctrx_get_waiting_time Gets current wait time.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值