Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write the code for select the 5 values from drop down list.
drop down list having the 10 values.

Answer Posted / ashish srivastava

Copy and paste the Below code

dim CountItem

countItem=Browser().Page().Weblist().GetROProperty("Itemcount")

For i = 1 to CountItem
Browser(). Page(). Weblist().Select i
if i >5 then
Browser(). Page(). Weblist().ExtentedSelect i
end If
Next

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the trigger events in qtp?

1210


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1885


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1801


How QA specialist can identify when programmatic descriptions are useful?

2558


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

2194


Does Low-level recording capture mouse movements?

1093


Explain qtp(quick test professional)?

1076


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

2154


can anyone tell me from where i can download qtp demo or crack version

2043


What is the difference between analog and low level recording?

1138


How do we handle run-time errors?

1091


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2957


What is a Patch in QTP?

1109


Tell some commonly used Excel VBA functions?

1098


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

2082