how to identify the objects if application consists of objects
that have same properties.

Answers were Sorted based on User's Feedback



how to identify the objects if application consists of objects that have same properties...

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

how to identify the objects if application consists of objects that have same properties...

Answer / pravati

Through index property we can identify the object

Is This Answer Correct ?    0 Yes 0 No

how to identify the objects if application consists of objects that have same properties...

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

how to identify the objects if application consists of objects that have same properties...

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

Post New Answer

More QTP Interview Questions

Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

0 Answers  


Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...

4 Answers   EDS,


What is quick test pro? What is a quick test professional?

0 Answers  


Can I do Game testing with QTP tool

1 Answers   Google,


How do we analyze the checkpoint results?

0 Answers  






How many types of recording facility are available in quicktest professional (qtp)?

0 Answers  


Who is the best faculty for QTP in Hyderabad? Is it Mr. G.C.Reddy, some are referring his name?

21 Answers  


How can I pass values from one action to another in QTP ?

8 Answers   Ordain Solutions,


what properties do use to identify a browser and page while using descriptive programming?

3 Answers   TCS,


How many types of Test Plans are there...??

5 Answers  


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

0 Answers  


HOW CAN QTP AND TEST DIRECTOR CONNECTED TO THE DATABASE AND WHAT R THE OPTIONS?

0 Answers  


Categories