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 are the challenges you faced during you entire life automation ?
How to integrate the qualitycenter with qtp
IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS
write script for how to add function library in QTP
Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?
in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table
How do you perform testing on web based application using qtp 9.2?
what is the exact testing process in qtp plz explin ?
What are the differences between QTP 9.2 and 10? please explain e indetail......
i have to pass the testcases into userid anf password of gmail login page using functions you can take your own testcaseslike userdid should take only lowerletters it should not take special charactors and uppercase letters and password should take only numericvalues it should not take alphanumeric and alphabets
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
what is batch testing?