Getting Started- Oxyge CLI
Last updated
Was this helpful?
Last updated
Was this helpful?
For Oxygen-CLI download instructions - please refer to the .
Oxygen CLI is a command-line application for running test cases and test suites. It's intended mainly for integration with CI and build systems, but can be used as well for running scripts manually from the command-line. The results are produced as a set of XML/HTML/Excel/JSON/PDF reports plus the screenshots in case of test failures.
Oxygen CLI can execute two types of files - test scripts (refered to as test cases) and test suites. Test suite allows defining and running collection of test cases.
Example of test suite for desktop web applications (Selenium):
Example of test suite for mobile applications (Appium):
General Options
Format of the test reports. Default is html. Reports will be generated in the same directory where test script is located.
Output path for the report file. If specified, the report file will be simply generated in the specified directory and will overwrite any previous reports. If omitted, then report will be generated using date-time folder structure. This is the default behavior.
Number of times (iterations) to run the test. Default is 1.
Parameters file. If not specified an attempt will be made to load parameters from a file named same as the test script, located in the same directory, and having extension - xlsx, xls, csv, or txt.
Order in which to read the parameters - sequential, random, all. Default is seq
. In seq
and random
modes test will run exact number of times specified with the -i
option. In all
mode, all available parameters will be read sequentially. This option is mutually exclusive with -i
option.
Options for Web test
Browser name. Default is chrome.
Reopen browser on each iteration. Default is false.
Selenium hub URL. Default is .