Hi! Using Descriptive Programming How do we get Parent
object for an object by writing script(DP). Say, i want to
get a parent object
for a "Link" in a web page by writing script in Descriptive
Programming.
Answer / Anukrati Srivastava
In Descriptive Programming (DP), you can use the GetParent method to get the parent object of a specified object. For example, if you have a link object on a webpage and you want to find its parent div, you could write something like this: `Browser("browser_name").Page("webpage_name").WebElement("link_object_name").GetParent().Description`. This will return the description of the parent object.
| Is This Answer Correct ? | 0 Yes | 0 No |
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?
How to add Dynamic Objects to Object repository?
How can I use Call dlls in QTP ?
anyone can explain Diff B/w Actions and Functions
How to handle run time errors?
How to apporach while starting the automation testing?
Which version of QTP is using by companies nowadays?
1.what is the extension of action template? 2.what are the strengths and weaknesses of Keyword driven framework? 3.how qtp identify runtime objects?
Can we create user defined functions in qtp?
How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar