Breaking News
yeni film izle hd film seyret film izle

Creating v-user script using virtual user generator

For creating the v-user script, follow the following steps:
  1. Start the virtual user generator.
    START> PROGRAMS> LOAD RUNNER> VIRTUAL USER GENERATOR.
  2. Load runner displays the welcome screen.
  3. Click the new single protocol button. It displays the list of protocols. Select the category under which the application to be tested falls. In case of our example, select the web (http/html) option and click OK button.
  4. When you click the ok button, it displays the dialog.
    The virtual user script is divided in to 3 sections:

    • Vuser_init: These actions are performed when the vuser is loaded or initialized.
    • Actions: These actions are performed when vuser is in “running” state.
    • Vuser_end: These actions are performed when the vuser finishes or stop.
You can select the section before or while recording is under progress.
  1. Select the actions section. Click the start record button or select the “start recording” option from the vuser menu.
  2. On selecting “start recording” option, it displays the start recording dialog. This prompts to you to enter the “URL” of the application for which the test has to be performed. Enter the URL and select the action section from the record into action combo box and click OK button.
  3. Load runner now opens the specified URL and a recording toolbar appears. Load runner is now in the recording mode. Perform the actions that are to be recorded such as clicking on a link to obtain the wether information for particular city. Once all actions are recorded, stop the recording by clicking the stop button in the recording toolbar.
  4. Load runner generates the script for the actions that are recorded. Vusers scripts can be generated by using a number of tools such as win runnerVuGenQuick Test etc. which together form a testing suite of mercury.
  5. Save the test.
    FILE> SAVE
  6. Run the script.
    Click the arrow button to run the test script or click “run” from Vuser menu or press F5VUSER> RUN.
  7. The test results are displayed in the test results window which contain various sections: “Vuser_init_summary”, “iteration”, “Vuser_end_summary”.

Check Also

Recording a Test Case

In the recording mode, QTP captures all the operations performed on the GUI. You need to work with …