How to Display last item of a Combobox by using QTP?

Answer Posted / chandu

x=Browser("Browser Name").page("PageName").Weblist
("WebListName").GetRoProperty("items count")
Browser("BrowserName").page("PageName").Weblist
("WebListName").Getitem(x)
in this code..Weblist("WebListName")...this is the
combobox name...in web based application..qtp will display
"WEBLIST"...not "COMBOBOX"...

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is post recovery scenario?

1749


What is RTM (require ment tracebulity marix) fromate?

1612


how to find that tools work well with ur existing system?

1464


How will you test a stapler?

699


How to use setroproperty?

657






how to test Web application using QTP software

1419


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1450


How to check which add-ins are associated with a test in qtp?

680


How to replay a script in qtp?

722


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1731


tell me QTP standards ?plz

1608


after click on compose mail how can we attached a file in qtp with vbscript code

1724


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

1895


What is the limitation to XML Checkpoints?

1703


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1554