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
What are the automation metrice in your project?
How to use the object spy in quicktest professional (qtp) 8.0 version?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
How to open a new test using quicktest professional (qtp)?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
What are the 3 main stages involved in testing with qtp?
Diff b/w test scenario's and test Procedures?
What is the syntax for how to call one script from another?
how to test Web application using QTP software
why text area checkpoints cannot used for web applications
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
How many scripts did you have?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...