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


Please Help Members By Posting Answers For Below Questions

Explain different types of action in qtp?

793


How do you capture tooltip using QTP?

808


Does QTP run in any environment?

806


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?”

784


What is QTP and the use of QTP in TD?

798


By using QTP can we record any log files written by the application which is in execution?

1695


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1637


What are the types of object repository in qtp?

771


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

1600


what is the advantages and disadvantages of using functions instead of re usable actions

1647


What is a recovery scenario?

777


Does quicktest professional is unicode compatible?

693


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.

2002


how can we compare descriptive programing with a regular expression

2128


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.

2050