How to identify the objects using descriptive programming
when the object property values are same, i mean in a page
10 objects are there i want to click the 6th object but all
the object property values are same? using descriptive
programming
Answer Posted / abi
If u r going to click on the 6th object, then give the
index value as 5 in the descriptive programming. For
example, if u r trying to clcik on an OK button where in
the same page, u have 10 OK buttons, then
Browser("").Page("").webbutton
("name:=OK","Class:=button","htmltag:=sumbit","index:=
5").click
this will click on the 6th OK button of the page.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
What are the types of object repository?
How many types of trigger events are there in qtp?
Can launch two instances of qtp on the same machine?
What is the differences between image check point and bit map check point?
what is the difference between built-i function and In-built function?
How to interact tool & application build in QTP?
how do u plan test automation?
what is the difference between IE & Netscape in web testing on a log in page
Is it possible to split an action? How?
How to find the difference between 2 dates in qtp?
whow much strong on VB and C?