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 |
Hi, I got some difficulties in automating a web check box in a peoplesoft application. Let me explain the scenario, When clicked on a look up button in the application, it navigates to a new page with check boxes and respective options. Below is the source code for one check box and its option. <input type='checkbox' name='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' id='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' tabindex='34' value="Y" onclick="this.form.H1AU_BUNDLE_WRK_H1AU_SELECT_CH$chk$2.valu e=(this.checked?'Y':'N');submitAction_win0 (this.form,this.name);" /> </td> <td align='left' class='PSLEVEL1GRIDODDROW' > <span class='PSEDITBOX_DISPONLY' >$29 - $29 Cap with FREE Mobile</span> I want to parametrize using "$29 - $29 Cap with FREE Mobile". I am not aware of how to parametrize this. Currently I am parametrizing with 'H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' Can any one please help me out with this??/
I want to test advanced Java applications what kind of add- ins I have to install?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
how u write vb script in qtp pls give me some basic script and some material
32 Answers Datamatics, UHG, Winit,
Can you do more than just capture and playback?
what is the extension of action script template?
How many ways is to parameterize the value?
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
Step 3&4 are repeated until an the object in recognised uniquely.
What are the Features & Benefits of Quick Test Pro ?
how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script
In a webtable, lets say there are 10 records and 1 column. let say "image" is available for 1st,2nd and 3rd records and 4th onwards image is not available. How to recognise for that cell image is available or not?