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 advantages of QTP over WinRunner?
What is an optional step in qtp ?
what is difference betweem class annd object?
in my system object spy show the web application as a window based propeties ex:winedit like that and also not recording scripts also so what should i do
how can i parameterize a login page by using database parameterization i fetch the username and password from database and put this on login page and click on ok button. so how can we write script for that code please let me know asap thanks
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
what testing activities u may want to automate in a project?
1...HOW MANY TYPES OF OBJECT REPOSITORY ARE THERE IN QTP? 2....WHAT ARE THE REPOSITORY FEATURES EXPLAN. 3...HOW TO CREATE A RECOVERY SCENARIO? WHAT DOES RECOVERY SCENARIO MANAGER DO? 4...OPEN A WORD FILE AND MODIFIED WITH SOME VALUE USING QTP? 5... HOW TO CREATE EXCEL FILE USING QTP? 6... HOW TO RETRIEVE A VALUE FROM WEB TABLE? 7... WHAT IS QC REQUIREMENT TAB DO ? HOW TO MAP THE REQUIREMENT? 8... HOW TO PASS A VALUE FROM EXCEL FILE TO SCRIPT? 9...WHAT IS THE USE OF SPLIT FUNCTION?
what is the difference between the modular framework and datadriven frame work
Please mail me the license key of QTP 9.5 t v.sadangi@gmail.com ????? thx
When using descriptive programming?