What do you do if QTP doesn't recognize object ,what action
should be taken
Answers were Sorted based on User's Feedback
Answer / uday kumar. a
QTP does not recognize the object means, you dont have
proper add-ins. In this case, QTP treats the objects as non-
standard objects. We can map these non-standard objects to
standard objects by using virtual object wizard. Once
mapped sucessfully, QTP can identify the objects.
| Is This Answer Correct ? | 19 Yes | 9 No |
Answer / mns
Steps to handle the non recognised(Or Custom objects) objects
1. Load proper AddIn(for example load web addin to recognise the HTML objects )
2. If then also not recognised, Class mapping (to closet class)
3. If then also not, then try writting some test(wrapper dlls) API's
4. Other wise go for low level recording or mapping to virtual object, but it's not reliable method. Smart identification will be handy only if objects are getting recognised.
| Is This Answer Correct ? | 12 Yes | 5 No |
Answer / srinivasamurthy
one is Using Virtual Object wizard Qtp,
Other one is Smart Identification .
| Is This Answer Correct ? | 12 Yes | 7 No |
Answer / nakash2050
An application may contain objects that behave like standard objects but are not recognized by QuickTest. One can define these objects as virtual objects and map them to standard classes, such as a button or a check box. QuickTest emulates the user's action on the virtual object during the run session. In the test results, the virtual object is displayed as though it is a standard class object.
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / meenu
if the qtp does not recognize an object it will go for
smart identification. we can also use object spy if we want
to view properties of an object
| Is This Answer Correct ? | 8 Yes | 6 No |
Answer / venki
If qtp does not recognize the objects then we will go for
smartidentification.
in that qtp uses two types of properties to identify the
objects. 1. Basefilter properties and 2. Option filter
properties.
After enabling smartidentification then also if not identify
the objects then it will go for Ordinal Idetifier.
In Ordinal Identifier it will use three properties to
identify the objects
1.Index
2.Location
3.Creation time (for Browser objects)
| Is This Answer Correct ? | 6 Yes | 5 No |
1)one is Using Virtual Object wizard Qtp,QTP does not
recognize the object means, you dont have
proper add-ins. In this case, QTP treats the objects as non-
standard objects.
2)go with low-level recording.
3)one is Smart Identification .
correct me iff i am wrong
mail me:rohitsharma.p81@gmail.com
| Is This Answer Correct ? | 6 Yes | 9 No |
Answer / mohan
I think we can go for descriptive programing...
suppose the OK button in Login dialog is not recognised
then write description of OK button as below
Set MyDescription = Description.Create()
MyDescription("text").Value="OK"
.
.
.
script:
"Login").WinButton(MyDescription).click
| Is This Answer Correct ? | 8 Yes | 13 No |
What is our exact stage involvement with QTP?
What is checkpoints for quicktest professional?
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
Can someone tel additonal features which has been included under QTP 9.0 which is not there in 8.2 version?
What is iteration? How it is related to Test Results in QTP?
How to associate function library at a run time?
HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.
How many types of parameters are there in QTP and what are they?
how to retrieve the xml file data through qtp. can anybody send script for this..
How to connect to a database?
How iteration is related to Test Results in QTP?
i can done the project with QTP in that time i can say how many members in my team size?