how to identify the objects if application consists of objects
that have same properties.
Answer Posted / nitin sharma
suppose your object name is "obj"
then write this script
set "obj"=Description.Create()
obj("property").value=Class of object
set a=browser("browser").page("page").childobject(objectname)
msgbox a.count
For i=0 to a-1
DataTable.SetCurrentRow(i+1)
DataTable("URL",dtGlobalSheet)=a(i).getroproperty("url")
Next
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain how you can find length of array in qtp?
explain how to write vb script in qtp?when will you write own script?
How to export quicktest professional (qtp) results to an .xls file?
Does quicktest professional is unicode compatible?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What is the difference between a Function and Action in QTP?
How do you create new test sets in td?
How to capture a window in QTP?
What is parameter in qtp?
Is it possible to merge two object repository files in qtp?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
How to use setroproperty?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
What are the main differences of qtp and win runner?
How many types of Automation frameworks are there in UFT? Describe them.