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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / ratheesh

BY using index property u can define the same objects

Is This Answer Correct ?    12 Yes 1 No

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

Answer / n.n.raju

QTP identify the objects by logical name and class but
smart identification mechanism is used for identified the
object from object repository
in this situation QTP uses ordinal identifier Concept

Is This Answer Correct ?    7 Yes 3 No

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

Answer / jayant naikwade

you have to enter to the rep and find the object
then check the propertoes
and you have to add index property there
in both objects with the same name
and for descriptive you have to include the index:= and the
number of index of the object
within the object descrioption
basically the index is what can help you identifying the
correct one

Is This Answer Correct ?    1 Yes 0 No

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

Answer / nidhi

objects ar identify by qtp through their logical name and
class we can use smart identification to recognise object
which is not normally recognised by qtp in normal process

do.send answer correct me i m wronge

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More QTP Interview Questions

Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??

1 Answers  


What is output value?

3 Answers   Ordain Solutions,


What is load testing?

1 Answers   Crea,


how to idetfy which test cases are automated?who will deside that plz tell me

0 Answers  


Which environments are supported by hp qtp?

0 Answers  






What is the another extention name of library file.If that is exist than what's the differnce between them.

1 Answers   Synechron,


I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here?

2 Answers   Ordain Solutions,


what is file database

1 Answers   Wipro,


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

0 Answers   IBM,


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

0 Answers  


Why we have to split actions in a test?

4 Answers  


w is fragmentation and paging

1 Answers   MBT,


Categories