loadrunner Web_类函数之web_radio_group()
来源:互联网 发布:c语言调用windows api 编辑:程序博客网 时间:2024/06/06 03:58
web_radio_group()
该函数用于从单选按钮组中选择一个按钮。
int web_radio_group(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_radio_group
在以下示例中,web_radio_group函数模拟用户在一组单选按钮中选择一个选项,而没有唯一值,然后更改选择。注意,操作是SelectValueOrdinal。
web_radio_group("Age",
"Snapshot=t208.inf",
DESCRIPTION,
"Name=Age",
ACTION,
"SelectValueOrdinal=1",
LAST );
web_radio_group("Age_2",
"Snapshot=t209.inf",
DESCRIPTION,
"Name=Age",
ACTION,
"SelectValueOrdinal=2",
LAST );
在此示例中,web_radio_group函数模拟用户选择具有唯一值的一组单选按钮中的选项。注意,操作是SelectValue。
web_radio_group("tripType",
"Snapshot=t9.inf",
DESCRIPTION,
"Name=tripType",
ACTION,
"SelectValue=oneway",
LAST );
- loadrunner Web_类函数之web_radio_group()
- 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()
- [LeetCode]习题1
- tensorflow基础使用5
- javaSE 构造方法
- bzoj1008: [HNOI2008]越狱(快速幂)
- 中国古代史
- loadrunner Web_类函数之web_radio_group()
- MYSQL (三)
- Java比较器描述
- C++头文件和源文件的关系以及makefile文件
- 前缀式的计算
- MySQL——根据某时间点查询其前后数据记录并正序输出到TXT文件
- Algorithms(二)Maximum Subarray
- std:map与迭代器简析
- Netty心跳检测篇之IdleStateHandler