Creating a LoadRunner Script

  1. Launch Virtual User Generator.



  2. Click FileNew Script and solution.

  3. Select the protocol and enter the script name and the location.

  4. Click create and you will be presented with a screen as shown below

  5. Click Record and select the browser and the website URL that to be recorded. For example, Firefox and enter the Apple website URL (www.apple.com).

  6. Click Start Recording.

  7. All the actions will be recorded as shown below.

  8. Click Stop and it will create a script as shown below.

  9. Once the script is complete. a message will be displayed for possible correlations since this Apple website has no correlation below screen will be displayed

  10. Once that is done. Export the script as shown below to any of the desired directories

  11. Choose the directory and click Ok.

  12. Once the script is exported successfully. Replay the script and make sure it runs fine as shown below