How will you handle the situation when object is not
captured during record?
Answers were Sorted based on User's Feedback
Answer / venkatabala
By using object spy collect the properties of object and
write descriptive programming.some times object properties
are same at that time take the ordinal identifier .
eg:-
Browser("xyz").Page
("xyz1").Webbutton"name:=abc",index:=1").click
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / allin
While recording the object is not recognised--go for low
level recording.
virtual object vizard too right. But, if u find object not
recognised by tool before start generating script.
Regards,
Ratna Rao
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / howard
You would have to manually add the objects if they are
showing up in the object spy. Otherwise you would have to
check your add-ins. You could also try editing the mic.ini
file under the bin folder to add hooks to the AUT
(Application Under Test)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh
When qtp not recognizes a object on the application we need
to install the appropriate addin then only qtp can recognize
that particular object.
This answer was given by the team lead who took the
interview and asked same question.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / manjinder
it happens when object is under 3rd party controller. There are 3ways to handle this situatin:=
1. Discriptive programming
2. insert function generater
3. check syntex
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
Hi,
Im Not too sure what u r asking...?
First...if the object does not recognise then we use the
virtual object wizard
Anyway ...u need to tell the interviwer that u have used
QTP only by programming.
If anyone else any brillant ideas plz do reply
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / kiran kumar
For this QTP has excelent technology called
SMART IDENTIFICATION
When ever the objects are not captured during recording by
using smart identification we can capture
kiran.pinninty@gmail.com
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / hemasundar
If such type of situation come then go for low level
Recording.........
| Is This Answer Correct ? | 0 Yes | 1 No |
We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
what is review
How u call functions in QTP Function to calculate the length of characters in a wor
How to capture checkbox properties when properties of the object keep changing on relogin to the application.
what do u mean by test harnesses in qtp?
How QTP identify the system time that's changes every seconds?
How to work with multiple browsers when opened in the window, write the script for it
how to merge object repositories?
In how many ways we can add check points to an application using QTP.
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What are the differences between quicktest professional (qtp) and winrunner?
What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??