Quality Testing

Quality is delighting customers

Hi Friends,

i am new to qtp,i am getting some confusion abt this

while Recording Time qtp identified the objects and store in object repository ,

while doing descriptive Methodology  we create the description for the objects,so need for object identification and object repository .

i am getting some confusion about object identification.. (Why  assistive ,Mandatory,smart identification and ordinal identifier)

Fayaz....

Views: 305

Reply to This

Replies to This Discussion

During descriptive programming... RO will not come in picture.

DP is Independence of RO.

But, if you are storing your object's in RO then at the time of recording "assistive ,Mandatory,smart identification and ordinal identifier" use to distinguish  objects and uniquely store in RO.

QTP will identify objects using properties and its values.

QTP provides two ways for this.

1. Object Repository (we generally cal OR)

2. Descriptive Programming (DP)

In OR first preference goes to Mandatory, if qtp not able to identify object uniquely then it try with assistive, ordinal identifier, smart identification (respectively).

You can also make qtp identify object using DP, just write all required properties in a single line and identify it.

Example for DP:

Browser("title:=Google", "creationtime:=0").Highlight

In above example title is mandatory property and creationtime is ordinal identifier.

I hope you understand it.

 

--Subbu.

Thanq Subbu . But Expecting Some more Examples.

You have to practice.

Install QTP and play around any website (like google, rediff, irctc)

These are completely different concepts.  Object Identification is used specifically with the Object Repository.  It is simply the definition of what properties QTP will use when trying to identify a specific object type and what will get stored in the Physical Description of the object within the Object Repository.  It is used only during Recording.  This is an important concept to understand but it's better to learn from a class, not on a blog post since there's a lot to it.

Descriptive Programming completely bypasses the Object Repository, so it does not use the Object Identification and therefore the Object Identification does not apply at all to Descriptive Programming.

Shawn
www.asi-test.com
Online Training Classes Available:
- Learn QTP
- Learn VBScript for QTP
- QTP Advance Series - Part 1 (almost complete)

Thanq Shawn

     Object Identification: When you record an operation on a object,,it learns the set of properties and values ,which is sufficient to identify the object,in most cases this description is sufficient to identify the object during run session.Quick test also have predefined properties for object identification like Mandatory,Assistive,and also quick test uses a back up Ordinal identifier for object identification and in some cases quicktest also uses smart identification which has two properties like Base filter and Optional filter properties for object identification...

          Descriptive programming: In some cases we can make use of DP,,for dynamically changing objects where quicktest unable to identify the object,,for instance you have developed test with large amount of code,and saved it..

in future ,,if objects might change,then DP play a vital role..

 

Thanq lakshmiKanth..

For example when two or more objects  have same properties it is difficult for qtp to identify the object so we will go for  object identification

well durga,,, if the objects have the same properties,then qtp will make use of ordinal identifiers like we have three types of ordinal identifiers  like index,location ,and creation time ,,,,based on these identifiers qtp will identify the object...

what abt smart identification .

Smart identification is an optional feature. if we feel normal identification and ordinal identification is not sufficient for an object to identify we ll go for smart identification.It has 2 types base filter and optional filter

RSS

TTWT Magazine

Welcome to Quality Testing!

Sachin Natu

 Manager QA at IdeaS Revenue Optimization

Advertisement

Submit A Job

Submit A Tool

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2013   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service