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 handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?
Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?
What are the different types of qtp test assets and their extensions?
what is TOM in qtp?
Tell me about userdefined functions ?
what is file database
what type automation is fofollowed in the project?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
How we can call the scripit from another scripit in QTP?,Not a call Action
Can anyone please explain me the process of automating an application using QTP as i am new to this?
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day