Can we use Virtual Objects in Discriptive Programming?

Answers were Sorted based on User's Feedback



Can we use Virtual Objects in Discriptive Programming?..

Answer / siraj

no we can't use virtual object in dp.

Is This Answer Correct ?    4 Yes 2 No

Can we use Virtual Objects in Discriptive Programming?..

Answer / uday

Yes, we can define virtual objects using Descriptive
Programming.

You should use x, y, width and height properties to define
virtual objects.

The script will look like below:
window("Paint").WinObject("NetUIHWND").virtualobject("x:=256","y:=66","width:=22","height:=20").Click
13,11

Is This Answer Correct ?    2 Yes 0 No

Can we use Virtual Objects in Discriptive Programming?..

Answer / king

Can u plz provide code how to use Virtual Objects in DP.

Is This Answer Correct ?    2 Yes 3 No

Can we use Virtual Objects in Discriptive Programming?..

Answer / vaaniraj

yes, we can add the virtual objects in descriptive program.
once making the virtual objects to qtp objects , we can use
descriptive programming for that object

Is This Answer Correct ?    1 Yes 2 No

Can we use Virtual Objects in Discriptive Programming?..

Answer / guest

yes

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More QTP Interview Questions

What is Parameterizing Tests?

1 Answers   Crea,


How to execute the test cases using QTP. i.e What is the use of QTP while execution

2 Answers  


1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?

1 Answers   L&T,


How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.

6 Answers  


write is the code for regular expression in QTP

2 Answers   IBM, Infosys,


what is keyword driven testing in qtp?n how is it useful?

0 Answers  


what is automation(qtp)bug pls giv me one ex?

1 Answers  


What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..

3 Answers   IBM,


QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?

1 Answers  


I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?

5 Answers   AZTEC,


Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  


What is regular expression?

0 Answers  


Categories