Can we use Virtual Objects in Discriptive Programming?
Answers were Sorted based on User's Feedback
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 |
Answer / king
Can u plz provide code how to use Virtual Objects in DP.
Is This Answer Correct ? | 2 Yes | 3 No |
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 |
Do you know how to connect database? Can you tell me the procedures?
Explain types of output values?
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..?
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
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 .
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
How to find array size in qtp?
What are the types of object repository?
what is keyword driven testing
how can we handle exceptional handling in qtp
waht is the diff b/w Environment variable and Global variable in qtp?? explain types of variable in qtp??
IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?