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

Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com

1 Answers  


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

0 Answers  


What is the use of environment variables?

1 Answers  


i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)

5 Answers   Syntel,


What are the main attributes of test automation?

3 Answers  






write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result

3 Answers   Mind Q Systems,


Suggest and Define a solution for an application whose objects are not recognized by UFT?

0 Answers  


in QTP we test web based application at that time what script is run? is support vb script? plz tell me

3 Answers  


how to tell about testing a website in interview using qtp?? what r the points to be covered mainly?

2 Answers  


suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.

2 Answers   Bosch,


what is the difference between action and function

11 Answers   AppLabs, BirlaSoft, Infosys,


How to test results for qtp ?

0 Answers  


Categories