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

Explain the difference between call to action and copy action?

516


What is quicktest professional (qtp)?

562


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1547


Have you used xml check point in your project? How?

543


What are the five challenges you faced in QTP?

2749






Have you done batch testing in qtp? If yes how you are doing?

501


How to execute a winrunner script in quicktest professional (qtp)?

511


What are the types of object repository in qtp?

560


What is qtpro? What is quick test pro?

555


How is UFT 11.5 version different from UFT 12.0?

602


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

1365


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1579


How to do call a output parameter from one action to another action??/

1868


What is the use of text output value in quicktest professional (qtp)?

593


What is a data driven test in qtp?

576