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 |
What is Parameterizing Tests?
How to execute the test cases using QTP. i.e What is the use of QTP while execution
1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?
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.
write is the code for regular expression in QTP
what is keyword driven testing in qtp?n how is it useful?
what is automation(qtp)bug pls giv me one ex?
What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..
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?
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?
Which property do you use to retrieve or assign data into a cell in a Data Table object?
What is regular expression?