Plz explain about Virtual object? What is the situation u r
using , explain with example?



Plz explain about Virtual object? What is the situation u r using , explain with example?..

Answer / mohan

Object which is not reconised by QTP as a standard object
(may be because developer hide some of the properties or
object developped in some custom programming languages), in
that case QTP will record the actions on these objects as a
pixel or etc..which we cannot customise further
(customisation required for adding checkpoint etc..). So in
that case we can map these objects to nearest QTP standard
objects class

Ex: If you perform any action on some of Windows calculator
buttons, will be recorded in terms of pixel postion. in
That case you can map this button to WinButton class. and
record again on this button the script will be different -
which is simillar to stnadard class

let me know if u've any doubts

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

Hi All,I am in wierd situation that my laptop is installed with QTP11 and os is xp sp3.The problem is the descriptive programming which i have written is working in other laptops and it is not working in my laptop.it is clicking the link which is above the testbox instead of typing it in textbox below it.It is same with the other working scripts written by another person.

1 Answers  


can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.

4 Answers  


How comfortable are you in VB scripting?

2 Answers  


what is the difference between wait and wait function

1 Answers   TCS, Wipro,


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

0 Answers   Livetek,






what is parameterisation?

3 Answers  


does test plan is in test strategy or test strategy is in test plan.

6 Answers   Microsoft, TCS,


If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?

3 Answers   Wipro,


How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...

3 Answers   IBM,


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

0 Answers  


how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?

2 Answers  


Hi , I am new to VBscripting, My requirment is to write a vbscript to read a row (which has coloumns like Description, Code, date(DD/MM/YY), hours etc) and export these feilds to a Website and then click on Submit Automatically on that web page. This it should do for all the Rows in that excel file. Any help is much appriciated Thanks Shalini

2 Answers   TCS,


Categories