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 |
How to retrieve value (data) from notepad using QTP ?
how will you load the test cases in ddt?
Recovery Manager means..?
3 differences between QTP & Winrunner?
How to execute the test cases using QTP. i.e What is the use of QTP while execution
How many types of Check Point in QTP
Can any one send me the QTP Basic Coding Samples?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
How to get popup error message.
How to save your test using quicktest professional?
How many types of actions are there in quicktest professional?
How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)