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
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
How to use parameterization in qtp?
what function you write to do database testing with the help of qtp?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
What is qtpro? What is quick test pro? What is a quick test professional?
How to get the particular property value?
How do you configure QTP AND Test director?
Hi ,Can any one pleas explain how to test splash objects using QTP?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
what is the advantages and disadvantages of using functions instead of re usable actions
In qtp, how you can use xpath to identify objects?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
What is the difference between the design-time and run-time data tables?