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 many actions we can create with in a test?
Question:how many types of repositories in QTP9.2?and explain??
what is the difference between action and function
11 Answers AppLabs, BirlaSoft, Infosys,
Why QTP is termed as a Record and Playback tool?
how to read log file using QTP??
Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.
What are the trigger events in qtp?
I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In the next release the Name Property is same but the index property is changed.when i run the script will the script Pass or Fail
Why a framework is needed?? Plaese post your answers ASAP
what is verification & validation?
Why script error occur in between recording in qtp?
In Developer view it is a high priority defect & in tester view it is a low severity defect what is that how to define with an example