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
How can I use Call dlls in QTP ?
What are the different kinds of test steps?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
can any one say that where we can download the QTP trail version ??????????
How can i check items sorted or not in a weblist ? Give me the script for this...
Where to use function or action?
What are the types of object repositories? Which one is you using?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
How to connect to a database?
Explain different recording modes?
how will you load the test cases in ddt?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
Which environments does qtp support?