Geeks Talk

Prepare for your Next Interview




Select a different value from the combo box

This is a discussion on Select a different value from the combo box within the WinRunner forums, part of the Software Testing category; How is it possible to select a different value from the combo box control in script playback in each test run? NOTE : [This question was asked by eiman]...


Go Back   Geeks Talk > Software Testing > WinRunner

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-26-2006
Expert Member
 
Join Date: Oct 2006
Posts: 690
Thanks: 0
Thanked 49 Times in 41 Posts
JobHelper is on a distinguished road
Select a different value from the combo box

How is it possible to select a different value from the combo box control in script playback in each test run?

NOTE : [This question was asked by eiman]
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-26-2006
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 520
Thanks: 1
Thanked 53 Times in 45 Posts
sutnarcha is on a distinguished road
Re: Select a different value from the combo box

This was whe I was learning WinRunner.

Hope it helps.

Quote:
set_window ("Flight Reservation", 5);
edit_set ("Date of Flight:", "07/07/07");
list_get_info("Fly From:","count",n);
for (i=0;i {
list_get_item("Fly From:",i,x);
list_select_item("Fly From:",x);
if (list_select_item("Fly To:",x))
tl_step("S1",1,x & " appears in fly to also");
else
tl_step("S1",0,x & " does't appear in fly to");
}
__________________
Lack of WILL POWER has caused more failure than
lack of INTELLIGENCE or ABILITY.

-sutnarcha-
Reply With Quote
Reply

  Geeks Talk > Software Testing > WinRunner


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
SELECT query processing althafkarkal Database General 5 08-09-2007 05:59 AM


All times are GMT -4. The time now is 05:27 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved