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 |
what is run-time data?
What is the main disadvantage of using low level and Analog modes?
Explain features of the latest version of qtp/ uft 12.1?
In QTP, What is Global action and Local action?
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
how will you check how many members visited the website www.infosys.com?
Why qtp the best testing tool?
What is TD plugin? For what purpose they are used . Ineed to connect QC9.2 with QTP 9.2 . Need to run some scripts IN QTP having the QC connectivity. Pls explain in detailed step Thanks in advnece
write vb script code to delete the duplicate values in an array.
wt is playback facilityin qtp?
w is time parameter
what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not