Click and Script Recording Tips
This section lists tips for recording click-and-script Vuser scripts.
Note: Some of the items below apply to specific click-and-script protocols only.
If you want to record or edit a click-and-script Vuser script in Internet Explorer, you need to enable the HPE Functional Testing Agent add-on in the browser.
If the browser does not prompt you to enable the add-on, enable it through the Manage Add-ons dialog box (Tools > Manage add-ons) in Internet Explorer.
It is preferable to click on an object with the mouse rather than using the keyboard. During recording, use only GUI objects that are within the browser's pane. Do not use any browser icons, controls, the Stop button, or menu items, such as View > Refresh. You may, however, use the Refresh, Home, Back and Forward buttons and the address bar.
It is best to record into a newly created script—not an existing one.
Avoid using context menus during recording. Context menus are right-click menus which pop up when clicking certain objects in a graphical user interface.
While recording, do not work in any browser window other than the browser windows opened by VuGen.
Wait for all downloads to complete before doing any action, such as clicking on a button or filling in a text field.
During recording, it is best to wait for the page to load completely before doing the next step. If you did not wait for all of the pages to load, record the script again.
If the last page in an action does not contain the links and buttons that were available at the start of the iteration, then the next iteration will fail. For example, if the first page has a text link Book A Flight, make sure to navigate to the appropriate page at the end of your recording, so that the same link will be visible at the end of the business process.
Record the business process again using the High event configuration level. For more information on changing the event configuration level, see Click and Script Troubleshooting and Limitations.
In certain cases, the capturing of the socket level messages disrupts the application. For most recordings, socket level data is not required. To prevent the recording of socket level data, disable the option in the recording options. For more information, see GUI Properties > Advanced Recording Options.
If the client-side scripts of the application use a lot of styling activities, enable the Record rendering-related property values option before recording the script. For example, enable this option to record additional DOM properties such as offsetTop. Note that enabling this option may decrease the recording speed. You can enable the option by selecting Recording Options > GUI Properties > Advanced. For more information, see GUI Properties > Advanced Recording Options.