Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Execution Using QualitaOffline.exe

Once the offline package is created and all the properties are set, you can execute it using QualitiaOffline.exe.

This command executes all the test cases available at the xmlPath mentioned in the qualitia-qtp.properties file.

To execute offline package using QualitiaOffline.exe

  1. Navigate to the folder where you have saved Offline Package.
  2. Double-click QualitiaOffline.exe.

or

  1. Launch the command prompt.
  2. Navigate to the folder where you have saved the offline package.
  3. Type QualitiaOffline.exe and press Enter.

Execution Using User Defined Properties

You can create your own property file and provide the path as the first argument to the qualitia-qtp.offline.exe. It provides flexibility to create multiple property files based on the required configuration combinations. You can create separate property files for each OS, their combinations as per the project requirements.

For example: win7.properties, win8.properties, so on.

To execute offline package using User Defined Properties file:

  1. Launch the command prompt.
  2. Navigate to the folder where you have saved the offline package.
  3. Type QualitiaOffline.exe and enter the absolute path of the user-defined properties file and then, press Enter.
    For example: qualitiaoffline.exe C:\Users\Desktop\win8.properties

Execution Using Command Line Arguments

Command line arguments allow further fine tuning of the configurations providing arguments to the qualitiaoffline.exe. It overrides user defined properties if anything is provided as the first argument or the values set in the qualitia-qtp.properties file.  You can also provide properties that are part of the qualitia-qtp.properties file as the command line arguments in the following format; PropertyName=Value.

You can provide multiple PropertyName=Value pairs separating them with single space.

To execute offline package using Command line arguments:

  1. Launch the command prompt.
  2. Navigate to the folder where you have saved the offline package.
  3. Type QualitiaOffline.exe, enter the PropertyName=Value pair and then press Enter.
    For example; qualitiaoffline.exe ShowReportAfterExec=True
  • No labels