What is object identification?
Answers were Sorted based on User's Feedback
Answer / venkateshwarlu
while we are recording the operation on application qtp
tries to captures the properties to identify uniquely.
first and foremost it concentrate on mandatory properties
to identify the objcts uniquely, if it is not possible it
concentrates on assistive properties to identify uniquely
and if it is alos not possible, it capture the ordinal
identifier like index, location, creation time. and store
it in a file, it is called object repository file. using
this qtp will identifies the objects or windows.
by
venkatesh
| Is This Answer Correct ? | 22 Yes | 5 No |
Answer / kiran
Object Identification is Related to Object Classes
information That means if u want change the properties of
class do it in Object identification
Object Identification contains the properties of a standard
class of object
1.Normal identification
a.Mandatory properties
b.Assistive properties
2.Smart identification
a.Base Filter properties
b.optional Filter Properties
Apart from the above Properties there is ordinal identifier
proprty also
In Ordinal Identifier it wil consider 3 properties
1. Creation Time
2. Index
3. Location
| Is This Answer Correct ? | 21 Yes | 4 No |
Answer / chinmaya khatua
Object Identification:-
To identify the object properties uniquely.
there are two type of object identification modes in qtp.
1.Normal Identification
2.Smart Identification
| Is This Answer Correct ? | 15 Yes | 7 No |
Answer / sanjana
object identification is used for uniquely identifying the
objects they are two types of object identifications
1.Normal identification
2.Smart identification
Actually they are 4 types of properties in object
identification
1.Mandatory properties
2.Assistive properties
3.Base Filter properties
4.optional Filter Properties
Apart from the above Properties there is ordinal identifier
proprty also
| Is This Answer Correct ? | 8 Yes | 2 No |
Object Identification: -
QTP’s object identification concept is based on 4 types of
properties and an ordinal identifier.
Types of properties:
• Mandatory properties
• Assistive properties
• Base Filter properties
• Optional Filter properties
A test engineer can specify list of mandatory properties,
assistive properties, base filter properties, optional
filter properties and ordinal identifier.
Ordinal Identifiers: - There are 3 types of ordinal identifiers.
1. Location
2. Index
3. Creation Time
1. Location: If at all the Location is selected as an
ordinal identifier then the QTP will generate the sequence
of numbers from 0,1,2,… based on the sequence of the objects
located in the application.
2. Index: If at all the index is selected as an ordinal
identifier then the QTP will generate the sequence of
numbers from 0,1,2,… based on the sequence of the programs
of the corresponding objects.
3. Creation time: If at all the creation time is selected as
an ordinal identifier then the QTP will generate the
sequence of numbers from 0,1,2,... based on the loading time
of a web page
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / vinay srao
Before creating any shared repository file or before adding objects information in to object repository We can configure which property values QTP has to collect based on type of object and environment
Ex: Configure for a push button QTP has to collect native class, text & height property values for standard windows based application.......
navigation: goto Tools menu
--> select Object Identification...
--> select Environment as standard windows
--> select test object classes
--> click winButton
---> click add/remove in Mandatory properties
---. select height property, click OK---> click OK
| Is This Answer Correct ? | 4 Yes | 6 No |
Answer / namukaya winfred
uniquely identifies an object in the management information
base.
| Is This Answer Correct ? | 3 Yes | 6 No |
Answer / ram karthick t.g
Object Identification in QTP, How QTP learns Objects in Application?
Stores Objects as Test objects
1. Mandatory Properties
2. Assistive Properties
3. Ordinal Identifier
4. Smart Identification
| Is This Answer Correct ? | 0 Yes | 4 No |
What all challenges you have faced during automation and how you have resolved it?
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application?
Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects
What is use of Global Sync Timeouts in QTP9.2?
what is mean by soi in object identification
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya
In an application you have a web table. You are provided with an external Excel sheet with the same structure as that of the web table. How will you retrieve all data from the web table and compare it with corresponding data available in the excel sheet, using QTP? How will you report the results in QTP?
can anyone explain about the Descriptive programming in detail. I mean how to use in the script.