In project module it contains 3-ok buttons with same
properties who qtp identify its objects while runing ??
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
QTP uses unique properties to distinguish the object from
other objects. If all these three buttons have same
properties then it go for Ordinal Identifiers. These
ordinal identifiers are 1. Index, 2. Creation Time, 3.
Location.
1. Location: There is no way that all these 3 buttons
placed at the same location.
2. QTP adds index to each of the objects i.e it creates
object description as ok_1, ok_2, ok_3
3. No two objects cannot be created at same time(Web add-in
only)
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / srinivasu
In qtp we can identify the object with the help of
following :-
Whenever we record a script using QTP - QTP identifies an
object uniquely using the following mechanisum.
[i] First captured the mandiatory properties
Object/Window [Class name, Label name etc...
If the manditory properties is not unique
[ii] Assistive properties [X,Y,Width,Hight,Abslute of X...]
If Manditory/Assistive properties are not unique then
it goes to ordinal Identify which is either location
or Index
Note: If the Object is identified using location/index
and if an object location is changed or index is changed...
the script will fail.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / chaitu.c
In qtp we can identify the object with the help of
following :-
1.Assive properties and Mandatory properties
2.Smart Identification ( Basefilter and Option filtr
properties)
3.Ordinal Identification(through the Index and Location of
Object in the project module screen)
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / tvsramakrishnachowdary
this can be solved by Ordinal Identifiers Concept in QTP
| Is This Answer Correct ? | 1 Yes | 0 No |
What is Step generator in qtp? wt is the use? can u any body explain me? plz
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
How to handle Recovery scenario in QTP. give detailed explanation about recovery scenario.
How can you close the second opened browser?
How to make Shared object repository in qtp 9.1 and 9.2?
how to retrieve the value from data table to the script and using the value to be displayed in message box. an also retrieve the value of the output value during runtime to the script or separating and using that value in the script.
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
Where can I find and view run-time data table?
Can you give me the code to calculate the total number of Links using the child object in the web page..? is there any other way to calculate number of links with out using the Child objects.??
2 Answers DST Global Solutions,
In QTP, What is Global action and Local action?