Test Execution without Jenkins

You may run a Master Suite without using Jenkins, directly via command line option. This option is useful in case you want to control execution in a CI/CD pipeline, or run a batch on a specific client, such as a VM or a laptop.

On a DISA machine, open Command prompt to execute in Administrator mode. Run following command, after ensuring folder paths are correct.

java -jar <DISA_HOME>\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\ 
Framework\KWDPresetup.jar /d <DISA_HOME> /j <User id> /g <password> /r 
<Siebel Web Server URI> /c <EAI Component> /n <DISA machine name> /p “--parallel=<nn> --reportLevel=<0 or 1 or 2 or 3> --runReference=<Run Reference 
used in Test Execution>”
  • /d <DISA_HOME>- Location of DISA installation directory. Ex: C:/DISA

  • /j <User id>- Siebel User ID for REST/SOAP operation.

  • /g <password>- Password to authenticate the UserId on the Siebel Server for REST/SOAP operation

  • /r <Siebel Web Server URI>- Refers to the EAI enabled Siebel Server URI for REST/SOAP operation. Please provide the URI path till /<Application Context Name>

    Example: https://servername.com:port number/<Application Context Name>>

  • /n <DISA machine name> - HostName of the machine where DISA is installed

  • /c <EAI Component>- (Optional) Ability to provide Custom EAI component.

    Example: default-> /app/eai/enu/, Custom -> /app/my_eai/deu here my_eai is user defined EAI Component

  • /p-

    • --parallel=<nn> - Optional - Ability to run multiple master suites in parallel on a given Client (DISA) on same or different browsers.

      Example: “parallel=1” One test execution record will be executed on the DISA machine.

      “parallel=3” Three different test execution records will be executed on the same DISA machine.

      By default (if -–parallel=nn is not specified), one test execution record will be queried.

    • --reportLevel=<0 or 1 or 2 or 3> - Optional - Based on the reportLevel, screenshot will be displayed.

      • “reportLevel=0” Detailed report is completely turned off that is individual report won’t be available

      • “reportLevel=1” Detailed report available with Screenshots turned off that is, Not capturing any screenshots for failed or passed steps

      • “reportLevel=2” Detailed report available with selected Screenshots i.e. screenshots will be taken only if the screenshot column in the test step is set to Y

      • “reportLevel=3” Detailed report available and reports with only Application Screenshots. If unspecified, default output is detailed reports with screenshots

    • --runReference=<label_name>- Optional – picks a Test Execution record in Scheduled Status, where Run Reference field value matches with the label name.

      Example: runReferecne=UAT Running the above command will start the batch run on the machine. Once run is completed, result reports are zipped and uploaded to the Test Execution record and mark its status as 'Completed'.

Examples

Example 1:

java -jar C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\
Framework\KWDPresetup.jar /d C:\DISA /j SADMIN /g ldap /r https://siebelserver.xy.abcd.com:16690/siebel/ /c /app/eai/enu /n 
machinename.xy.abcd.com /p parameters are optional - /p and parameters can be omitted altogether. Default: parallel=1 runReference= and reportLevel=

Example 2:

java -jar C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\
Framework\KWDPresetup.jar /d C:\DISA /j SADMIN /g ldap /r https://siebelserver.xy.abcd.com:16690/siebel/ /c /app/eai/enu /n 
machinename.xy.abcd.com /p 
"--parallel=1 runReference=abcdxyz"
Note: The double quotes around /p parameters which are separated by spaces.