On a web application I want to select list item 5 from a
dropdown list. but QTP identifying this object as
winobject. Then how can we select list item 5 from that
dropdown list.
Answer Posted / ashok kumar
Hi,
1. Are u using IE browser?
2. Have u opened the browser after QTP opened?
If u opened the IE browser after the QTP,
then, object will be record as Weblist, if you want to
select more than one value from list, try "ExtendSelect"
For ex:
Browser(".*").Page(".*").WebList(".*").Select "A"
Browser(".*").Page(".*").WebList(".*").ExtendSelect "B"
Browser(".*").Page(".*").WebList(".*").ExtendSelect "C"
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Explain the check points in quicktest professional?
Have you faced any problems with object repository?
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
Define Environment Variable in UFT and its uses?
How does quicktest professional identifies the object in the application?
Is it possible to merge two object repository files in qtp?
What is debugging? How you debug your script?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
Your roles and responsibilities and daily tasks? (As automation tester)
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
any body can you help me what is the script to automate an comand promt
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
How often were they executed?