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 the limitation to XML Checkpoints?
Does quicktest professional is unicode compatible?
Plz give the vb script for the following scenerio I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to select from the drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. For every iliteration it should select A,then B and so on
We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.
What is the difference between action & script?
How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me
Hi, I got some difficulties in automating a web check box in a peoplesoft application. Let me explain the scenario, When clicked on a look up button in the application, it navigates to a new page with check boxes and respective options. Below is the source code for one check box and its option. <input type='checkbox' name='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' id='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' tabindex='34' value="Y" onclick="this.form.H1AU_BUNDLE_WRK_H1AU_SELECT_CH$chk$2.valu e=(this.checked?'Y':'N');submitAction_win0 (this.form,this.name);" /> </td> <td align='left' class='PSLEVEL1GRIDODDROW' > <span class='PSEDITBOX_DISPONLY' >$29 - $29 Cap with FREE Mobile</span> I want to parametrize using "$29 - $29 Cap with FREE Mobile". I am not aware of how to parametrize this. Currently I am parametrizing with 'H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' Can any one please help me out with this??/
what is supply chain management?
hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi
how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript
Did QTP prove efficient for your project? Yes or No, explain?
How do we count the no of mails in Yahoo Inbox for a specified week?