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

If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1618


How to save your test using quicktest professional (qtp)?

738


explain keyword driven framework with banking domain?

1679


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1578


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1547






How to get Traceability matrix from TD?

812


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1558


What is the default object synchronization timeout in qtp?

771


Where you get the run time data table?

713


What is active screen?

668


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1637


What is 'sleep' in sync point?

743


what is stepin & stepout?

1540


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1582


How to Test the mainframe application?

1948