Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

if Object repository contain x and y properties. we do not
know whether they are mandatory or assistive properties.
While executing the script qtp will use both the properties
or only sufficient properties to identify the object.
It means it use OR (or) AND

Answer Posted / thirumala reddy

Answer: Mandatory properties are enough to identify the object

Below i am giving the total process of object identification

QTP uses three types of object identification to identify
the object

mandatory and assitive properties

smart identification

and ordinal identifier

QTP starts with mandatory properties, if QTP unable to
identify the object uniquely using mandatory properties then
it will go to the assistive properties (if and only all
mandatory properties are matching with runtime object
properties)

(test object properties are the properties of objects in the
object repository and runtime object properties are
properties of the objects in the application)

if QTP unable to identify the object uniquely using
assistive properties then it will go to the smart
identification (we have to enable the smart identification
in object repository) (in smart identification the QTP
compares the object properties at the record or creat time
using base filter and optional filter properties) if any one
property matches then it will identifies the object.

if QTP unable to identify the object uniquely using smart
identification then it will go to the ordinal identifier.

in ordinal identifier there are three options
INDEX: Tab position (order of that object in that
application, eg: if there are three OK buttons, then it will
give the button value which is first in order is "0", second
button value is "1" and third button value is "2")

LOCATION: The value of object which is closed to x-axis
(using x and y coordinates) is "0", for second one "1", for
third one "2".

CREATION TIME: For brower we can use this (for each brower
it creates a time) using the time difference it will give
the value and identifies the object.

if any queries plz mail me a.thirumalareddy@gmail.com

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you will rate urself in QTP in the range of 0 to 5

2151


What is the basic concept of qtp?

962


How to check feasibility of the appliction?in automation testing?

1920


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

2036


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

2087


How can get count of list box?

1060


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

2085


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

1956


What does it mean when a check point is in red color? What do you do?

1029


Which recording modes need more memory?

1002


Approach for Installation,comaptibility,system testing

2143


What is Unicode Compatibility?

1922


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1913


What is the script for database check point, bitmapchek point, regular expression ?

1990


what is run action?

1863