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

what is the diff b/w assistive and mandatary rules of object repository in QTP???

1614


what is impact analysis on regression testing?

2048


Explain different types of action in qtp?

574


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1573


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1555






Are Shared ORs read-only?

628


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1303


Is the qtp course will help to create a virtual object?

1516


How to use transactions in qtp?

563


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2266


what are the mandatory properties for a tex boxc (scenario?)

1528


What is difference between shared and local object repository?

589


What are the types of properties that quick test learns while recording?

538


When ‘option explicit’ keyword is used in qtp?

750


Is it possible to call from one action to another action in qtp?

564