Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on How do I can select 2nd item from drop down list within the LoadRunner forums, part of the Software Testing category; How do we select the dynamic values in drop down list in loadrunner at runtime or we can say how do i can select 2nd item from drop down list ...
|
|||||||
|
|||
|
How do I can select 2nd item from drop down list
How do we select the dynamic values in drop down list in loadrunner at runtime or we can say how do i can select 2nd item from drop down list at each run. If anybody can tell the answer please send it across, as I need to implement it as soon as possible
Question asked by visitor diksha |
| Sponsored Links |
|
|||
|
Re: How do I can select 2nd item from drop down list
In the web(HTTP/HTML) protocol, you will need to manually adjust the script itself to do this.
If the second value in the list may be different each time the page is returned, you will need to capture the second value using the web_reg_save_param() function. i.e. web_reg_save_param("SecondVal", "LB=", "ORD=2"); Once the second value is captured, it can be used in the web_submit_data() function that sends the value of the drop down list back to the server. In the web Click and Script protocol, this is much easier as the web_list() function has a "SelectByOrdinal=" option. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Execute two detail list from a basic list at same time | Geek_Guest | SAP R/3 | 0 | 06-26-2007 07:34 AM |
| The Item which you are looking for may not be active | arun1203 | Oracle Apps | 0 | 05-24-2007 07:43 AM |
| How to pick the data from the drop down list box | Livetek | QTP | 2 | 03-27-2007 03:11 AM |
| menu item list | Dave_Stanford | QTP | 5 | 01-17-2007 03:50 PM |
| Default choice for List Item | JobHelper | Oracle | 1 | 01-10-2007 06:49 AM |