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
what is the diff b/w assistive and mandatary rules of object repository in QTP???
what is impact analysis on regression testing?
Explain different types of action in qtp?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
Are Shared ORs read-only?
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.
Is the qtp course will help to create a virtual object?
How to use transactions in qtp?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
what are the mandatory properties for a tex boxc (scenario?)
What is difference between shared and local object repository?
What are the types of properties that quick test learns while recording?
When ‘option explicit’ keyword is used in qtp?
Is it possible to call from one action to another action in qtp?