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 |
can we call a test in another test?
what will be the stmt if record any edit box in the Web application ?
A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.
How to call Datable values in the QTP program. exp: I have two parameters like Email id and Password this two i would like to add multiple entries in the datable to use it. What is the difference between Gobal/Action datatable
Is any limitation to xml checkpoints?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What is the difference between local and shared object repository in qtp?
Where is the Bitmap checkpoint information stored?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
Does Low-level recording capture mouse movements?
How do Parameterization and Data-Driving relate to each other in QTP?