GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 664 of 674    Print  
Ordinal Identification
What is Ordinal Identification in QTP


  
Total Answers and Comments: 1 Last Update: August 27, 2009     Asked by: sultanqa 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 21, 2009 05:49:03   #1  
akothuru Member Since: April 2008   Contribution: 49    

RE: Ordinal Identification
QTP can identify the object when it is uniquely identified using its properties. When objects that have the same values for all properties specified in the mandatory and assistive property lists QTP fails to
identify the object. To avoid this case it learns Ordinal Identifiers to identify the object uniquely.

In addition even if QuickTest learns an ordinal identifier it will use it during the run session only if the learned description and the Smart Identification mechanism are not sufficient to identify the object in your application. If QuickTest can use other test object properties to identify the object during a run session the ordinal identifier is ignored.


Index:
Indicates the order in which the object appears in the application code relative to other objects with an otherwise identical description.

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.


CreationTime:
(Browser object only.) Indicates the order in which the browser was opened relative to other open browsers with an otherwise identical description


Identifying an Object Using the Index Property

While learning an object QuickTest can assign a value to the test object's Index property to uniquely identify the object. The value is based on the order in which the object appears within the source code. The first occurrence is 0.

Index property values are object-specific. Therefore if you use Index: 3 to describe a WebEdit test object QuickTest searches for the fourth WebEdit object in the page.


Identifying an Object Using the Location Property

While learning an object QuickTest can assign a value to the test object's Location property to uniquely identify the object. The value is based on the order in which the object appears within the window frame or dialog box in relation to other objects with identical properties. The first occurrence of the object is 0. Values are assigned in columns from top to bottom and left to right.


Identifying an Object Using the CreationTime Property

While learning a browser object if QuickTest is unable to uniquely identify the object according to its test object description it assigns a value to the CreationTime test object property. This value indicates the order in which the browser was opened relative to other open browsers with an otherwise identical description. The first browser that opens receives the value CreationTime 0.


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Whenever QTP is not able to identify the object by using mandatory and assistive properties, it will go for Smart Identification mechanism. In this process it will use all the base filter properties at a time and prepares a list of objects that ...
Read Answers (12) | Asked by : Ebenezer

1. Defination of Object repository2. Explain Output co-relation3. Explain Exceptional handling4. Explain Synchronization5. Explain Parameterisation6. Explain Smart identification7. Principles of the QTP8. 
Latest Answer : paramerisation:changing constant value with parameter(variables) is called paramerisation.u can do parameterization by 4 ways:1)action parameter2)envirnmental variables3)data type4)random numbers.smart identification:when QTP unables to identify the ppt ...
Read Answers (11) | Asked by : M.TAGARE

Which command in QTP Script used to capture real time values?If QTP does not support third party web based application which is to be tested for GUI interface,what will be our next approach?What are configuration management Techniques?Difference between sanity testing and smoke testing? when will we use these testing?Comparision between weights and checkpoints.what is batch Testing?What is the difference between object identification and Object Repository?
Read Answers (3) | Asked by : kulgu

1) What is Output & Co-relation in QTP2) Explain Smart identification in QTP3) How do you handle exceptional handling in QTP4) What is object repository ? explain different types of object repositoryPlease send the answers as early as possibleRegardsM.Tagare
Read Answers (2) | Asked by : Mallikarjun Tagare

Latest Answer : Object spy:Using Object Spy you can view the properties of any GUI object on your desktopObject Identification : comes to picture when qtp fails to recognize object uniquely using the recorded properties ...
Read Answers (2) | Asked by : divya

I'm working on a .Net based web application. I'm getting lost with the WbfGrid tables which are generated dynamically.The expert view displays it asBrowser("").Page.("").WbfGrid("").SetCellData 2,2,"value".How do i validate these dynamically generated cells.QTP is using Smart Identification and it's taking ~ 5mins to check all it's properties.Your help is greatly appreciated.
View Question | Asked by : Bubba

What is Creation Time of Ordinal Identifier?Difference between smart identification and ordinal identifier?
Read Answers (2) | Asked by : VK

Latest Answer : I think in the tools option select Object Identification there you have Smart Identification check box, select it if you want to enable it Raghuramguptaraghu_13_sa @ yahoo . com9866379523 ...
Read Answers (2) | Asked by : newlearner

Hi,I am new for QTP.I have so many links in my page. but i want to count particular links among them.But all links properties are same. so now i have to add the new property for that group of links and 
View Question | Asked by : Punitha.R

1)How to change a custom object to standard object in QTP ?2)How to create a excel sheet & insert a value in it by using script?3)What is the difference between call to existing action & call to copy action?4)what 
Latest Answer : 1)How to change a custom object to standard object in QTP?---By using Virtual Object wizard we can map those objects which are not recognized by the tool to a standard object so that it will be identified by the tool.2)How to create a excel sheet & ...
Read Answers (4) | Asked by : M.Harish kumar


 Sponsored Links

 
Related Articles

Supply Chain : Problems with Radio Frequency Identification

Supply Chain Problems with Radio Frequency Identification Introduction The concept of Radio Frequency Identification was first developed in the 1950s as part of the Toyota Production System Over the years Radio Frequency Identification has evolved to the extent that nearly all sophisticated supply c
 

Be Prepared for Tech Job Cuts

Even one of the most flourishing and possibly the strongest industries of the future are not experiencing the economic crunch. The tech industry is now experiencing massive job losses in different categories. Although you will still see innovations almost every day from the tech industry through th
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape