loadrunner Web_类函数之web_image_link()
来源:互联网 发布:淘宝买家具运费怎么办 编辑:程序博客网 时间:2024/06/05 15:00
web_image_link()
模拟用户单击作为超文本链接的图像。
int web_image_link(stepname,...,DESCRIPTION,description arguments,ACTION,action arguments,[VERIFICATION,verification arguments,] LAST);
此函数返回以下之一:
LR_PASS(0):函数完成没有错误。
LR_FAIL(1):函数完成时出现错误,例如LoadRunner Load Generator的I / O错误。
LR_NOT_FOUND(2):函数的NotFound验证参数设置为警告或通知,并且找不到对象。
LR_PASS不指示测试步骤通过 - 只是函数运行到完成。 例如,LR_PASS不表示服务器返回了期望值。
此功能可用于Web(点击和脚本),Oracle Web应用程序11i,PeopleSoft Enterprise,AJAX(点击和脚本)和SAP(点击和脚本)脚本。
有关语法的详细信息,请参阅语法指南。
示例:web_image_link
单击图像链接
在本示例中,web_image_link函数模拟用户单击链接。
web_image_link("Angry_5",
"Snapshot=t411.inf",
DESCRIPTION,
"Alt=Next example",
"Name=Named Anchor",
ACTION,
"ClickCoordinates=193,42",
LAST );
触发图像链接的事件
此示例显示了onmouseover事件触发时记录的步骤。
web_image_link("Angry_3",
"Snapshot=t404.inf",
DESCRIPTION,
"Alt=Angry",
"Name=Named Anchor",
ACTION,
"FireEvent=onmouseover",
LAST );
- loadrunner Web_类函数之web_image_link()
- loadrunner Web_类函数之web_add_auto_filter()
- loadrunner Web_类函数之web_add_auto_header()
- loadrunner Web_类函数之web_add_cookie()
- loadrunner Web_类函数之web_add_cookie_ex()
- loadrunner Web_类函数之web_add_filter()
- loadrunner Web_类函数之web_add_header()
- loadrunner Web_类函数之web_browser()
- loadrunner Web_类函数之web_button()
- loadrunner Web_类函数之web_cache_cleanup()
- loadrunner Web_类函数之web_check_box()
- loadrunner Web_类函数之web_convert_param()
- loadrunner Web_类函数之web_convert_date_param()
- loadrunner Web_类函数之web_convert_from_formatted()
- loadrunner Web_类函数之web_convert_to_formatted()
- loadrunner Web_类函数之web_create_html_param()
- loadrunner Web_类函数之web_create_html_param_ex()
- loadrunner Web_类函数之web_custom_request()
- c++形参与实参
- 基于深度学习的命名实体识别详解(附Github代码)
- 常用的排序算法的时间复杂度和空间复杂度
- Android Studio插件开发2之Action System
- Activity的数据传递和回调数据。
- loadrunner Web_类函数之web_image_link()
- 向量空间模型(VSM)算法
- mysql5.6在centos6.9上安装
- 云
- FastDFS与Springboot集成
- MyBatis框架学习(一)——mbatis的介绍
- 大数据集群搭建之Linux的安装(一)
- 【学生信息管理系统】总结
- 大数问题-相加和相乘