How to handle dynamic objects in QTP?

Answers were Sorted based on User's Feedback



How to handle dynamic objects in QTP?..

Answer / vijay

by using reguler expressions we can handle dynamic objects
in qtp

Is This Answer Correct ?    14 Yes 2 No

How to handle dynamic objects in QTP?..

Answer / srujan

By using smart idetification and regular expressions

Is This Answer Correct ?    11 Yes 1 No

How to handle dynamic objects in QTP?..

Answer / 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

How to handle dynamic objects in QTP?..

Answer / krishnateja muppalla

Some times you can make use of Location and Index based on requirement.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More QTP Interview Questions

3.How to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.

5 Answers  


Does Low-level recording capture mouse movements?

1 Answers  


What is an expert view and keyword view?

1 Answers  


what are the design objects in qtp

3 Answers   Wipro,


What are the views available in qtp?

1 Answers  


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1 Answers   Intel, Satyam,


Hi Small doubt . i am working as Contract employee in XYZ comany thrw ABC Consultancy. so. How i write my resume ? In Professional experience Column. plz send urgent

2 Answers  


How many types of recording modes in qtp?

1 Answers  


What is the difference between Call to Action and Copy Action?

2 Answers   Satyam,


We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.

1 Answers   Cap Gemini,


How to import excel sheet to QC?

1 Answers  


I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

9 Answers   IBM,


Categories