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.
Answers were Sorted based on User's Feedback
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 |
Answer / santhosh
1.FIRST LAUCH THE QTP AND LAUNCH THE APPLICATION AND THEN
CHECK IT OUT
2.DISABLE SMART IDENTIFICATION AND TRY
AND WHILE SCRIPTING U CAN USE
BROSER(" ").PAGE(" ").WEBLIST( " ").GETITEM(5)
this wil get u item 5
plesae revert back it this doesnot work
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / baby
in case of IE it identifies as winlist, to select a particular value say for eg, as '5'
For ex:-
Browser(" ").Page(" ").WebList(".*").Select(4)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kartheekmavuluru
It 's not possible. QTP will always identifying this object as
WebObject in Web application.
| Is This Answer Correct ? | 1 Yes | 6 No |
Write a script to verify font style and color of a windows object using descriptive programming
how to parameterise a test with data base table or excel sheet?
please any one can explain the keyword driven framework. with gmail example.
Through array we can execute the testcase how ? give me example
What is output value?
What is accessibility check point?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
What is Distributed testing? How does UFT support it?
How to Synchronize the Browser at Field level? For example if you put Browser.sync(), its waiting upto for that Browser sync only. It should wait total Browser get upload with fields.
what is diffrense between action and function
Diff b/w WEB TESTING AND Client server testing?
How to create a standard checkpoint ?