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

What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

0 Answers   Accenture,


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

0 Answers  


Did the scripts need lot of maintenance? If yes, why?

0 Answers  


What are the common defects found in your project? (in qtp interview)

0 Answers   TCS,






Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com

0 Answers   TechSoft,


WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?

2 Answers  


Write the regular expression code, it accepts the alpha, numeric and special symbol and the first character should be the Alphabet. Tell me the answer

3 Answers   IBM,


What are the benefits of quick test pro(qtp)?

0 Answers  


I want to open a Google page without recording a test and i do not want to use system.Util.run command as well how do i do this?

11 Answers   IBM,


Explain different checkpoints in qtp.

0 Answers  


Can we use index on view?

0 Answers   Wipro,


Categories