Explain the keyword createobject with an example.
Answer / sreeprasad
Creates and returns a reference to an Automation object
syntax: CreateObject(servername.typename [, location])
Arguments
servername:Required. The name of the application providing
the object.
typename : Required. The type or class of the object to
create.
location : Optional. The name of the network server where
the object is to be created.
| Is This Answer Correct ? | 2 Yes | 0 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??/
How can we QTP Scripts in xml format? is there any way to do so?
How QA specialist can identify when programmatic descriptions are useful?
which is the easiest way you can send the QTP test results to Client if he want to see the screenshots when the results are failed?
what is test scheduleling?
what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766
In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same?
what sort of things what u put in Bug Report ?
What is environment variable in qtp and why to use it?
How you calling actions in qtp?
Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Selecting 'a' shld display 10...20,'b' shld display 20..30.. and so on.tell d script? 2.Random testing of 500 test cases in qtp?
Set DR= CreateObject("Mercury.DeviceReplay")