qtp training material

Post on 12-Jan-2015

5.539 Views

Category:

Education

6 Downloads

Preview:

Click to see full reader

DESCRIPTION

Object Identification Process in QTP demystified. Visit http://www.guru99.com for more.

TRANSCRIPT

QTP Object Identification Mechanism Brought you by – http://www.guru99.com

QTP Object Identification

Lets understand Object Identification Process in QTP with an Exercise

Learn everything you can about the upcoming picture in the next slide

Learn the Picture- You have 60 Learn the Picture- You have 60 secondsseconds

JIM

TINA

QTP Object Identification

Now , Identify the name of the Human Objects in the picture in the next slide

Identify the name of peopleIdentify the name of people

QTP Object Identification

I am sure most of you could successfully identified the names

QTP Object Identification

This is because when you were shown the picture , you brain implicitly recorded attributes like gender, cloths , skin color , hair type etc for the human objects

Gender

Cloths

Skin Color

Hair

QTP Object Identification

In the second picture even though the position of human objects had changed , you could identify the names accurately by comparing the attributes gender, color etc you had recorded earlierJIM

TINA

QTP Object Identification

QTP uses a similar “human” like technology to identify objects.

At record time QTP learns the important attributes of an object on which an action is performed

At run time QTP compares the recorded attributes with attributes of objects available on screen

Hence, it can identify an object even if the position of the object at record and run time are different

QTP Object Identification

In case humans the information is recorded in our brains

In case of QTP information is recorded in the Object Repository

For More Tutorials on QTP

visit us at http://www.guru99.com

top related