- From the qTest Launch home page, select the gear icon to open the Settings dialog.
- The Settings dialog will display.
Universal Agent Settings
Test Result Parser
The Test Result Parser (or parser) will translate the test results generated by a specific test automation framework, to a format defined by the Automation Host. The output of the parser will be submitted to qTest Manager by the Universal Agent when it kicks off its execution.
Each parser is implemented as a NodeJS application. You can download the parser, which is provided as a .zip package, to your machine. Learn the implementation logic. Build your own parser. Add it to the Universal Agent settings as custom parser, then use it in your Universal Agent configuration!
Currently, there are 3 built-in parsers provided by qTest Launch, that you can use when creating or configuring your Universal Agent.
- JUnit for Java: this parser translates the JUnit test result, generated by the test framework, that generates results under the JUnit format. e.g. Cucumber, JUnit, JBehave
- Tosca JUnit: this parser translates the JUnit test result generated by Tosca.
- Postman Json: this parser translates the test result generated by Newman, which is the Postman command line tool that executes postman tests, under the JSON format.
- Note: refer to this article to learn more about the Newman command line tool.
- To download a parser, select the download icon associated with that parser.
- You'll be navigated to a repository where the parser package is hosted.
- In the repository, you can browse and download the specific parser package version and the OS that the parser supports.
- After download, unzip the package and open it in your preferred code editor.
The example below shows how the structure of JUnit for Java parser which supports MacOS looks like:
These parsers are created and uploaded to qTest Launch by your organization.
Follow this article to learn how to build a custom test result parser and add it to Universal Agent settings.