loadrunner Web_类函数之web_text_link()
2017-09-26 20:18
357 查看
web_text_link()
模拟用户单击超文本链接。intweb_text_link(stepname,...,DESCRIPTION,descriptionarguments,ACTION,actionarguments,[VERIFICATION,verificationarguments,] LAST);
此函数返回以下之一:
LR_PASS(0):函数完成没有错误。
LR_FAIL(1):函数完成时出现错误,例如LoadRunnerLoad Generator的I / O错误。
LR_NOT_FOUND(2):函数的NotFound验证参数设置为警告或通知,并且找不到对象。
LR_PASS不指示测试步骤通过 - 只是函数运行到完成。 例如,LR_PASS不表示服务器返回了期望值。
此功能可用于Web(点击和脚本),Oracle Web应用程序11i,PeopleSoftEnterprise,AJAX(点击和脚本)和SAP(点击和脚本)脚本,所以也一般不推荐使用。
示例:web_text_link
点击文本链接
在以下示例中,web_text_link函数模拟用户单击“多个”链接。
web_text_link("Multiple_2",
"Snapshot=t638.inf",
DESCRIPTION,
"Text=Multiple",
LAST );
为文本链接触发事件
此示例显示从文本链接触发onmouseover事件时记录的步骤。
web_text_link("Multiple",
"Snapshot=t635.inf",
DESCRIPTION,
"Text=Multiple",
ACTION,
"FireEvent=onmouseover",
LAST );
相关文章推荐
- loadrunner Web_类函数之web_link()
- loadrunner Web_类函数之web_text_area()
- loadrunner Web_类函数之web_create_html_param_ex()
- 点击一个textView里的link导航至程序内可返回的自定义webView
- loadrunner Web_类函数之web_set_secure_proxy()
- loadrunner Web_类函数之web_global_verification()
- loadrunner Web_类函数之web_add_auto_filter()
- loadrunner Web_类函数之web_reg_add_cookie()
- loadrunner Web_类函数之web_disable_keep_alive()
- android文本组件textView属性autolink设置为web,显示网址的处理方法
- loadrunner Web_类函数之web_save_header()
- Android textview autolink web 隐藏链接问题
- loadrunner Web_类函数之web_browser()
- loadrunner Web_类函数之web_reg_cross_step_download()
- loadrunner Web_类函数之web_sjis_to_euc_param()
- loadrunner Web_类函数之web_reg_dialog()
- loadrunner Web_类函数之web_save_param_length()
- loadrunner Web_类函数之web_static_image()
- loadrunner Web_类函数之web_button()
- loadrunner Web_类函数之web_reg_find()