Hi ,

         You are Almost Correct  But,in <Smart Identifiaction> and
<ordinal Identifier> little bit of corrections has to be made

As you know QTP will use the <Global Setting (Tool-->options)> what
you done before Executing scripts.

1.when You learn Object of Application Under Test(AUT) ,Tool will learn
(Read or load) those objects based on the Global settings what you had
done.

 Say For Link object you have selected.....



Mandatory properties like --> Class Name==>mic class
                                           text

Assistive properties like --> innertext
                        name


(Assuming your Automation Frame Work Uses Object Repositary without
using Descriptive programming)

While Script execution tool will reffer the Object Repository ie.<To
Properties>
tool tries to match each Properties defined in Mandatory properties
one by one with the object in AUT
If Tool fails identify the object with Mandatory properties ,then it
will looks in to the Assistive properties one by one with respective
to the object in AUT.
even then also if , tool fails to identify the object uniquely in
application Then,

*****************  If You have selected the check box <Enable smart
Identification> then only Tool will go For taking Assistance of Smart
identification

******  Else Tool defaultly looks in to the <Ordinal Identifier>

Suppose you configuered the tool to go for Smart Identification
then ,

You should Define the

A] <Base Filter properties> --> Which are those properties whose
Values will not be changed untill the object changed to other object
( object class is changed)
    Ex :- For Link

    <html tag > property should has value==> A ( if value is changed
means now onwards link will not be their in application)

B]<Optional filter properties> --> are those properties whose Values
may changed in future
    Ex :- For Link  <href>

           If You have configured the tool for Smart Identification
and tool fails to identify the Object(Link) in AUT with the help of
Mandatory properties and Assistive properties Then,
Tool will Take One <Base Filter property> with combination of all
<Optional filter properties> even then tool is not able to find the
object then tool will
Take Next <Base Filter property> with combination of all <Optional
filter properties> .
like this tool will try to find the object uniquely .............

**********  Only If you have confiured for Smart Smart Identification
then only it goes Smart Identifiaction

Finally ,If Tool was not able to find the the object uniquely at last
tool goes for <Ordinal Identifier>

In <Ordinal Identifier> If you have configured the tool for

A] Index:--> tool will looks in to the index number given by developer
for each object while placing them in frames of Application
             index number starts from 0
OR

B] Location:--> tool will looks in to the X - Y Coordinates (position)
of the object in AUT
                Location starts from 0

**********  C] creation Time :--> will be displayed only for

                        Envirnoment --> Web
                        Test Object Classes-->Browser

creation time is the dynamically genearated number based on the
sequence of opened browsers

Suppose , You opend four browser a,b,c,d in sequence then,

              Creation time for Browser a==>0
                       Browser b==>1
                       Browser c==>2
                       Browser d==>3

if you closed the Browser b then,

              Creation time for Browser a==>0
                       Browser c==>1
                       Browser d==>2


 Hope this will help you inorder to now about Object Identification in
QTP..................




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to