Answer Posted / naresh
Smart identification comes into picture when Quick Test
fals to recognise an object uniquely using the recorded
properties. It follows the following process to identify
the object:
1. QuickTest ?forgets? the recorded test object
description and creates a new object candidate list
containing the objects (within the object?s parent object)
that match all of the properties defined in the base filter
property list.
2. From that list of objects, QuickTest filters out any
object that does not match the first property listed in the
Optional Filter Properties list. The remaining objects
become the new object candidate list.
3. If the new object candidate list contains more than one
object, then step 2 is repeated with the second property
listed in Optional Filter Properties list.
4. Step 3&4 are repeated until an the object in recognised
uniquely.
Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
what is the difference between IE & Netscape in web testing on a log in page
Describe the differences between functions and actions in UFT?
Step 3&4 are repeated until an the object in recognised uniquely.
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
How to recognise the webelement and verifying that webelement is enabled?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
When you open QTP, how many sheets you can see?
What is the pros and cons between QTP and Rational Robot
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
What are the disadvantages of recording test cases in qtp?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
How can you pass value one action to another action?