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.
连接函数
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
鼠标事件函数
ctrx_mouse_click: 模拟Client的一个鼠标点击事件
ctrx_mouse_double_click: 模拟Client的一个鼠标双击事件
ctrx_mouse_down: 模拟一个鼠标“点下”的事件
ctrx_mouse_up: 模拟一个鼠标“点击释放”的事件
键盘事件函数
ctrx_key: 模拟一个输入非数字字符串的键盘事件
ctrx_type: 模拟一个输入数字的键盘事件
选择事件函数
ctrx_list_select_item: 从列表中选择一项
ctrx_menu_select_item: 从菜单中选择一项
同步事件函数
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
Citrix通用函数
ctrx_save_bitmap Saves the demarcated bitmap in a buffer.
ctrx_set_exception Specifies exception handling.
信息交互函数
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.
分享到:
相关推荐
该书介绍了LoadRunner 9.1的使用
LoadRunner是通过先记录并保存用户的实际操作过程、再模拟用户操作过程来测试系统性能的自动化负载测试工具。 它适用于各种体系架构,主要用于测试并发程序的性能(从软件配置主要测试用户数就可以看出)。它能自动...
LoadRunner性能测试应用(二)-LoadRunner脚本编写
IP欺骗-loadrunner高级教程专篇
性能测试-LoadRunner.pptx
软件测试-loadrunner破解版,很好啊。
HETF-LoadRunner使用入门手册.docx
HETF-LoadRunner使用入门手册.zip
在LoadRunner最新版本中推出了“Virtual User Days(VUD)”,通过这项功能,开发组织可以更加灵活地去购买LoadRunner并发用户数。对于很多资金并不充裕的开发组织来说,这是一个非常棒的功能。不用一次性购买很大的...
IP欺骗-LOADRUNNER高级教程专篇
在LoadRunner最新版本中推出了“Virtual User Days(VUD)”,通过这项功能,开发组织可以更加灵活地去购买LoadRunner并发用户数。对于很多资金并不充裕的开发组织来说,这是一个非常棒的功能。不用一次性购买很大的...
Loadrunner中文初级的教程,版本可能比较老,不过有些是通用的。
LoadRunner常用函数 LoadRunner常用函数 LoadRunner常用函数 LoadRunner常用函数
LoadRunner是一款专业级别的应用负载测试工具,它可以模拟上千万用户对企业应用进行真实的负载测试,通过大量实时监测器和精确的分析来得到最真实的数据。
Web应用的压力测试-loadrunner(好资料收藏)
loadrunner常见概念 LR常见概念 1、集合点: 1.1概念: 同步虚拟用户,用来在同一时刻执行任务 1.2添加方式: 1.2.1手工 lr_rendezvous(‘ra:ndivuz) 1.2.2菜单 Scenario->Rendezvous 1.3集合点...
里面含有性能测试的脚本示例,C_Script、KindsOfScript、VUScript
详细介绍软件测试中,loadrunner教程
Loadrunner 基础教程,个人培训材料,希望能有所帮助