I have 14 itmes in a drop down that are associated with an
account And these items change with different accounts

I want to be able to define it by and index number or any
other id so if I enter 2 in my Global excel sheet it
selects the 2nd item from the drop down - is this possible?

Answer Posted / jaipalreddy

try with this
option explicit
dim a
a=Browser("name:=Google").page("name:=Google").WebList
("name:=State).GetItem(1)
msgbox(a)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of the recovery scenario file in qtp?

541


What phases are involved in testing an application in qtp?

558


What is the Difference between test object and run time object?

607


If the objects hierarchy is changing from build to build, then how you will handle that condition?

617


how to test load test and block box testing an a web based application pls give ans briefly

1354






How do you create regression test packs?

608


Can you brief the hurdles you faced during Automation testing?

575


Hi All, I need code for how to execute qtp scripts from excell sheet

1461


Hi Samrat, Thank u very much, what u said it is right.

1344


What is qtpro? What is a quick test professional?

581


Explain how you can find the absolute value of the number in qtp?

645


What are the trigger events in qtp?

570


What is the expert view?

549


Will down time for server and content maintenance/upgrades be allowed? how much?

613


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

546