UFT Tutorial 34


UFT Class 34 (Object Identification Configuration)

Test blueprint inward UFT:
    Object Repository based Test Design
    Descriptive Programming

> Object Identification Configuration characteristic is related to
Object Repository based Test Design only.

> What is Object Identification Configuration?

Configuring of import properties data for Objects to recognize them uniquely.

> Why Object Identification Configuration?
Generally twenty to twenty properties available for every software object, using that consummate data recognizing objects is fourth dimension taking process.
Some objects properties values may modify dynamically.

Ex:

Environment: Standard Windows

Object is: Window

Property: window id

Property value:

1st time: 132303

2nd time: 1573653
------------------------------------
> When Object Identification Configuration is required?

Scenario 1:
We are using Descriptive programming for Test design-Not required.

Scenario 2:
(UFT has default configuration for every environment, that default configuration based on UI blueprint standards.)

We are using Object Repository based Test blueprint in addition to evolution followed UI blueprint standards- Not required.

Scenario 3:
We are using Object Repository based Test blueprint in addition to evolution Not followed UI blueprint standards- Required.
---------------------------
How to know if the Development squad is next UI blueprint standards or not?
By Record in addition to Playback.
-------------------------------------
Object Identification Configuration is:

Environment Level:
Ex: Standard Windows

Test Object Class Level
Ex: WinButton

Ex: If nosotros configure Button object inward Standard windows surroundings that configuration is applicable for all Buttons inward our touchstone windows application.
-----------------------
Object Identification:

Normal Identification
    a) Mandatory properties
        native class
        text
   
    b) Assistive properties
        height
        width

Smart Identification (Optional)
    a) Base filter properties
    b) Optional filter properties


Ordinal Identifier(Index)
    Index (0, 1, 2, 3....)
    Location (0, 1, 2, 3....)
    CreationTime (Only for Browser)
   
---------------------------------
i) Normal Identification process:

During learning (Recording is learning or Add objects is learning) UFT
1st reads all mandatory properties at a fourth dimension in addition to thinks conditions that data is sufficient or non to recognize the object uniquely, if it feels sufficient stops learning in addition to stores that information, otherwise it goes to Assistive properties in addition to acquire properties 1 past times one, if it feels sufficient, hence stops learning in addition to stores that information(Mandatory + Assistive).

After learning all Mandatory in addition to Assistive properties nonetheless it feels non sufficient, in conclusion it goes to Ordinal identifier.

Either index or Location is unique for this version, no guaranty for side past times side versions.
--------------------------------------------------
Environment: Standard windows
Test object Classes
Ex:
Window
Dialog
WinButton
WinEdit
etc...
-------------------------
WinButton: Smart Identification
100 buttons

60 buttons -Mandatory properties
30 buttons -Mandatory + Assistive properties
8 buttons - Smart Identification properties   
-------
2 Ordinal Identifier
----------------------------
ii) Smart Identification process: (Normal + Smart Identification)

During learning (Recording is learning or Add objects is learning) UFT
1st reads all mandatory properties at a fourth dimension in addition to thinks conditions that data is sufficient or non to recognize the object uniquely, if it feels sufficient stops learning in addition to stores that information, otherwise it goes to Assistive properties in addition to acquire properties 1 past times one, if it feels sufficient stops learning in addition to stores that information(Mandatory + Assistive).

 After learning all Mandatory in addition to Assistive properties nonetheless it feels non sufficient, hence It goes to Base filter properties in addition to learns all Base filter properties at a fourth dimension in addition to thinks that information is sufficient or not?  Otherwise it goes to Optional filter properties in addition to learns properties 1 past times one.

After learning all Mandatory, Assistive, Base filter, in addition to Optional filter properties nonetheless it feels non sufficient, in conclusion it goes to Ordinal identifier.
--------------------------------------------
Normal Identification:
    Mandatory Properties
    Assistive Properties
------
Ordinal Identifier
------------------------------
Smart Identification
    Mandatory Properties
    Assistive Properties
    Base filter Properties
    Optional filter Properties
------
Ordinal Identifier
------------------------------
Come dorsum to default configuration:
Reset Test object - It resets selected Test object flat only.

Reset Environment - It resets selected Environment only.

Reset All - It resets all loaded environments.
-------------------------------------------
> Configuring Single object

> Maintain unlike configurations for same environment.

Sumber http://www.gcreddy.com/
Post a Comment (0)
Previous Post Next Post