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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / narayana
by assigning index value to each object, we can make qtp to
identify the object uniqely
| Is This Answer Correct ? | 3 Yes | 1 No |
How to Save your test using QTP?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
Can we create a qtp test from qc?
How can i initiate the objects to find uniquely in OR
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
How to load object properties to object repository through scripting.give one example
What is keyword view?
How can you give wait up to 10 seconds in qtp?
Hi im new in Testing..can any one plz re-write this code SystemUtil.Run "C:\Program Files\Mozilla Firefox\firefox.exe","","C:\Program Files\Mozilla Firefox","open" ----using for loop(for i=0;i<=10;i++ )
How to find duplicates in an array and remove them efficiently?
When to Insert transactions in QTP?