How to handle dynamic objects in QTP?
Answers were Sorted based on User's Feedback
Answer / vijay
by using reguler expressions we can handle dynamic objects
in qtp
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / srujan
By using smart idetification and regular expressions
| Is This Answer Correct ? | 11 Yes | 1 No |
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 |
Answer / krishnateja muppalla
Some times you can make use of Location and Index based on requirement.
| Is This Answer Correct ? | 3 Yes | 5 No |
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project
what is the command (keyboard command) to swith from expert view to key word view
How to get the particular property value?
explain virtual object? in detailed? pls any one explain me?
What is Associate Repository in QTP 9.2 ?
what type of test cases tou will automate?
How to do call a output parameter from one action to another action??/
how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes
How do Parameterization and Data-Driving relate to each other in QTP?
suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt
X=10,Y=20 you need to swap the numbers without using a third variable?
is qtp 9.2 create the scripts with the application run on mozilla firefox browser?