How to handle dynamic objects in QTP?

Answer Posted / sreeprasad

QTP has a unique feature called Smart Object

Identification/recognition. QTP generally identifies an

object by matching its test object and run time object

properties. QTP may fail to recognise the dynamic objects

whose properties change during run time. Hence it has an

option of enabling Smart Identification, wherein it can

identify the objects even if their properties changes

during run time.

Check this out-

If QuickTest is unable to find any object that matches the

recorded object description, or if it finds more than one

object that fits the description, then QuickTest ignores

the recorded description, and uses the Smart Identification

mechanism to try to identify the object.

While the Smart Identification mechanism is more complex,

it is more flexible, and thus, if configured logically, a

Smart Identification definition can probably help QuickTest

identify an object, if it is present, even when the

recorded description fails.

The Smart Identification mechanism uses two types of

properties:

Base filter properties?The most fundamental properties of a

particular test object class; those whose values cannot be

changed without changing the essence of the original

object. For example, if a Web link's tag was changed from

to any other value, you could no longer call it the same

object. Optional filter properties?Other properties that

can help identify objects of a particular class as they are

unlikely to change on a regular basis, but which can be

ignored if they are no longer applicable.

Is This Answer Correct ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1973


What are the views available in quicktest professional (qtp)?

834


Write a QTP script to enter a keyword in to Google search engine?

890


Your roles and responsibilities and daily tasks? (As automation tester)

2845


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1671


Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

2704


Give the syntax to import/export xls into qtp.

827


What does mean by Scope of Automation?n How we defined it?

1804


whow much strong on VB and C?

1705


is there any addin for remedy user application

2034


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1533


How to record application running on the Virtual machine?

883


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1683


What are the ordinal identifiers in web page?

874


What is smart identification in QTP?

855