This task describes the basic steps involved in interactively developing an TruClient script.
Create a TruClient script from the VuGen toolbar.
From the Create a New Script dialog box, select
For information about creating a VuGen script, see Creating or Opening Vuser Scripts.
From the toolbar, select a browser type:
Note: *Chromium is an open-source web browser project from which Google Chrome draws it source code.
Configure the General Browser Settings
The Browser Configuration settings allow you to configure settings that apply to all TruClient scripts. The settings are imported to new scripts as they are created. To edit these settings click the TruClient General Settings button from the Record toolbar in the VuGen main window and select the Browser Settings tab. For details, see TruClient General Settings .
Start developing the script
Click to open an interactive recording session in the TruClient Sidebar for either the Mozilla Firefox browser or the TruClient browser for IE.
Navigate to the desired starting website and click Record button. All of your actions will be recorded and displayed in the TruClient Sidebar on the left as you perform your business process. You can stop recording by selecting the Stop button . You can continue recording from any point in the script.
To record into different section of the script, right-click a step and select Record > Record after or Record > Record before to begin recording new steps into the desired location in the script. If you are recording into a group step, select Record > Record into. For more information on group steps, see TruClient Home tab.
Replay the script
It is strongly recommended that you replay the script at least two times, correcting any errors that occur during the process. After two successful consecutive replays, you can move on to the next step. If you continue to experience errors, see Debug TruClient Scripts.
During interactive replay, TruClient will animate each step progress according to its real running progress by filling the step bar. The step running progress can be for example: finding the test object, performing the action, or synchronizing the step on its end-event. For detail on synchronizing script steps, see How to Synchronize TruClient Scripts Steps.
In addition, script action details can be seen the TruClient Sidebar Status Pane.
Click the Save button to save the script. Close the browser window. Restore the VuGen window.
Replay the script in Load Mode
Before you run the script in a Controller scenario, run the script in VuGen's load mode. From the VuGen main window, click the Replay button to replay the script in Load Mode. Progress can be monitored in the Replay log. The browser does not open, and snapshots are not displayed.
For details on Load Generation, see Troubleshooting load issues.
General Tips Regarding Successful Interactive Replay
Do not re-size the browser between record and replay and during replay. This can cause objects to move and interfere with TruClient's ability to locate them.
Do not switch between applications during interactive replay. Keep the browser in focus.
Note: This is especially important when the Related Objects feature is used, as resizing may change the relative position of the objects.
Note: Any customizations (such as bookmarks) that you make within this instance of Firefox will not be saved globally. This is because VuGen opens each script in a unique Firefox profile. If you want to use Firefox for any use other than creating this script (such as browsing the internet), we recommend that you open an additional Firefox window.