How you test the object which is dynamically changes its
location?
Answer Posted / chivukula.kumar
Hi Shiv,
your correct.
when object properties and object implementation is
dynamicaly changing then we are using DP
for example object(text box) location is changed
dynamically, then we can findout with the help object
properties like (index or creationof time or name etc....)
when that object having the unique name the following code
is applicable
Set obj = description.create()
obj("name").value = "xxx"
Browser("browsername").page("pagename").Webedit
(obj).set"xxx"
Or
Set obj = description.create()
obj("index").value = "x"
Browser("browsername").page("pagename").Webedit
(obj).set"xxx"
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Explain different types of action in qtp?
How do you capture tooltip using QTP?
Does QTP run in any environment?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
What is QTP and the use of QTP in TD?
By using QTP can we record any log files written by the application which is in execution?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
What are the types of object repository in qtp?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
what is the advantages and disadvantages of using functions instead of re usable actions
What is a recovery scenario?
Does quicktest professional is unicode compatible?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
how can we compare descriptive programing with a regular expression
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.