Geeks Talk

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.

How do I can select 2nd item from drop down list

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 ...

Go Back   Geeks Talk > Software Testing > LoadRunner
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 07-09-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 192 Times in 154 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-06-2007
Contributing Member
 
Join Date: Sep 2007
Posts: 50
Thanks: 0
Thanked 2 Times in 2 Posts
SW_LoadRunnerGuru is on a distinguished road
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.
Reply With Quote
Reply

  Geeks Talk > Software Testing > LoadRunner

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved