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 |
i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.
When a requirement is given to u to automate , What is ur basic approach ?
What is difference between the For..Next and While..Wend statements?
difference Between LowLevel and Normal Recording Modes?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
How u connect bugzilla with QTP
1 Answers Deloitte, TCS, Wipro,
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
In a WebTable 2nd row,3rd column contains one link and that link name is changing dynamically. How you will click the link?
What is the use of an object spy tool in qtp?
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
Actually How do we use this Smart Identification Technology during Recording mode.
How to change the Default synchronization method time and where?