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
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is business process testing(bpt) in qtp?
What is the virtual object?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
Where you are storing your script?
When and why to use descriptive programming?
Give the syntax to import/export xls into qtp.
what is profile tool?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How to use Environment parameterization? Explain with an example.
How to recognise the webelement and verifying that webelement is enabled?
How can I import environment from a file on disk?
What is synchronization point in QTP?