I am trying to write a descriptive program for clicking on
a perticular link.For that i wanted an index or location of
that object.But when I viewing through spy, There was no
index property of that object.What to do for getting index
value.How can I get index? please any one let me know.
Answer Posted / honey
Index of an object will be caputured only via OR and it
will not be displayed when spying the object through object
spy.So, add the object via OR and then write DP.
But for writing DP for a link, HTML tag and innertext of
the link properties can also be used.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
What is business process testing(bpt) in qtp?
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Where you are storing your script?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
What is a programmatic description?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
Can you write a script to check if the folder exists or not?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
What are the properties you would use for identifying a browser and page when using descriptive programming?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?