how to identify the objects if application consists of objects
that have same properties.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / pravati
Through index property we can identify the object
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rjkumarmacha@gmail.com
if object properties dynamically changed, we can go for
descripetive prg.
in d.p we can't find object so that take additional
properties of object
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / khushi
U can identify the object of similar property name and property value through its x and y pixeles available under object identification or go for dynamic descriptive programming
| Is This Answer Correct ? | 0 Yes | 3 No |
How will you declare a variable in qtp?
how to capture objects of remote deskop as it is capturing only window.
How to delete an object from the object repository?
how can we group that these test cases only should be automated and in which order you execute that test cases?
To which environments does quicktest professional (qtp) supports?
How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?
Can objects recognised without repository?
Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???
3 differences between QTP & Winrunner?
Explain Descriptive Programming Types with Examples?
Types of properties that Quick Test learns while recording?
what is framework? which frame work u follow for writting script?