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

Do you know how to connect database? Can you tell me the procedures?

0 Answers  


Explain types of output values?

0 Answers  


Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?

0 Answers   Ness Technologies,


What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?

4 Answers  


I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .

0 Answers  






Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

0 Answers  


How to find array size in qtp?

0 Answers  


What are the types of object repository?

0 Answers  


what is keyword driven testing

2 Answers  


how can we handle exceptional handling in qtp

6 Answers   NIIT,


waht is the diff b/w Environment variable and Global variable in qtp?? explain types of variable in qtp??

5 Answers  


IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?

3 Answers   Polaris,


Categories