How to execute the Vugen script from command line?

  1. "LoadRunner install dir" \bin\mcmdrv.exe -usr "path to .usr file"

  2. "LoadRunner install dir" \bin\mmdrv.exe -usr "path to .usr file"

  3. "LoadRunner install dir" \bin\mrmdrv.exe -usr "path to .usr file"

  4. "LoadRunner install dir" \bin\mpmdrv.exe -usr "path to .usr file"


Correct Option: A

AI Explanation

To execute the Vugen script from the command line, you can use the following command:

A) "LoadRunner install dir" \bin\mcmdrv.exe -usr "path to .usr file"

Explanation for each option:

A) "LoadRunner install dir" \bin\mcmdrv.exe -usr "path to .usr file" - This option is correct. It specifies the path to the Vugen script (.usr file) and uses the mcmdrv.exe executable to execute the script from the command line.

B) "LoadRunner install dir" \bin\mmdrv.exe -usr "path to .usr file" - This option is incorrect. The correct executable to execute the Vugen script from the command line is mcmdrv.exe, not mmdrv.exe.

C) "LoadRunner install dir" \bin\mrmdrv.exe -usr "path to .usr file" - This option is incorrect. The correct executable to execute the Vugen script from the command line is mcmdrv.exe, not mrmdrv.exe.

D) "LoadRunner install dir" \bin\mpmdrv.exe -usr "path to .usr file" - This option is incorrect. The correct executable to execute the Vugen script from the command line is mcmdrv.exe, not mpmdrv.exe.

Therefore, the correct answer is A) "LoadRunner install dir" \bin\mcmdrv.exe -usr "path to .usr file".

Find more quizzes: