how qtp identify two objects having same name, supose
objects are in same page also with same name,specify spl
feature.

Answer Posted / sudheer 4m mphasis

This is the SPL feature for this problem.

QuickTest can use the following types of ordinal
identifiers to identify an object:

Index. Indicates the order in which the object appears in
the application code relative to other objects with an
otherwise identical description. For more information, see
Identifying an Object Using the Index Property.
Location. Indicates the order in which the object appears
within the parent window, frame, or dialog box relative to
other objects with an otherwise identical description. For
more information, see Identifying an Object Using the
Location Property.
CreationTime. (Browser object only.) Indicates the order in
which the browser was opened relative to other open
browsers with an otherwise identical description. For more
information, see Identifying an Object Using the
CreationTime Property.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is QTP and the use of QTP in TD?

573


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

1555


How will you report the bug and explain the defect tracking sheet you handled?

2510


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2774


Did the scripts need lot of maintenance? If yes, why?

3275






what is output value in QTP and how it can be used in automation testing

1419


Is it possible to split an action? How?

634


how did u use automating testing tools in ur job?

1462


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3233


How to creating an output value using quicktest professional (qtp)?

546


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1379


Why qtp always start action1 and does not start action?

579


How many types of trigger events are there in qtp?

522


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1473


What are the key points to create a framework in QTP for oracle forms?

1775