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

How to use Environment parameterization? Explain with an example.

1454


How to use descriptive programming?

584


how to test Web application using QTP software

1312


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1877


Explain how Selenium is different from UFT?

666






What is the new version of qtp which is recently released in the market?

617


what type of run time errors you get while you ar edoing rpg program?

1486


In qtp, how you can remove the spaces from string?

527


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1669


What is the basic concept of qtp?

558


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1699


How many types of trigger events are there in qtp?

522


How can I change object description or check point values in qtp?

536


Why is Client side image is preferred over server side image?

1421


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1718