Home » Execute Test
The Execute-Test command executes Caristix Test Scenario suites. The syntax is as follows:
$ Execute-Test C:\myScenarioSuite.cxs
The command takes one argument, which is the full path to the Scenario Suite source file.
You can also provide the following optional flags:
Abbreviated as -r. Output an Excel report file or not. Accepted values are y (yes) or n (no). Default is n.
$ Execute-Test C:\myScenarioSuite.cxs -r y
Abbreviated as -rp. Excel report file path. Default is ‘.\report.xlsx’.
$ Execute-Test C:\myScenarioSuite.cxs -r y -rp C:\resultingReport.xlsx
Abbreviated as -e. Save execution result or not. Accepted values are y (yes) or n (no). Default is n.
$ Execute-Test C:\myScenarioSuite.cxs -e y
Abbreviated as -ep. Execution result path. Default is ‘.\result.xml’.
$ Execute-Test C:\myScenarioSuite.cxs -e y -ep "C:\ProgramData\Caristix\Caristix Test\Execution logs\"
Abbreviated as -run. List of scenarios, actions and tasks to run in the scenario suite. Accepted values are the paths to those scenarios, actions or tasks within the Scenario Suite. Cannot be used with -skip.
$ Execute-Test C:\myScenarioSuite.cxs -run "scenario 1/action 1" "scenario 2/Action 1/task 1"
Abbreviated as -skip. List of scenarios, actions and tasks to skip in the scenario suite. Accepted values are the paths to those scenarios, actions or tasks within the Scenario Suite. Cannot be used with -run.
$ Execute-Test C:\myScenarioSuite.cxs -skip "scenario 1/action 1" "scenario 2/Action 1/task 1"
Abbreviated as -lp. Logs file path. Default is ‘TestConsole.log’.
$ Execute-Test C:\myScenarioSuite.cxs -lp "C:\customLogPath.log"
Abbreviated as -var. List of scenario suite variables to edit while running the suite. Click here for more information on the EditVariables flag.
$ Execute-Test C:\myScenarioSuite.cxs -var "${MyVariable}[0].LimitationMax=5" "${MyVariable}.LimitationMin=2"
NORTH AMERICA: +1 (877)-872-0027
WORLD: 1-418-872-4000
EMAIL: info@caristix.com
ASIA-PACIFIC
DENIS CANTIN
T: +61418441388
denis.cantin@caristix.com
NORTH AMERICA & EUROPE
JEAN-LUC MORIN
T: 418 872-4000
jeanluc.morin@caristix.com
HL7® / FHIR® are a registered trademarks of Health Level Seven International. The use of this trademark does not constitute an endorsement by HL7.