Page History
...
Gwen Web Automation (gwen-web) is an engine that extends Gwen and adds capabilities for easy web testing, by providing a DSL that allows users to interact with the browser without having to write code.
From the many interesting features of Gwen is the ability of automatically taking screenshots, which will be available for analysis after tests are run.
Requirements
- gwen
- gwen-web
Description
...
After running the tests and generating the Cucumber JSON report (e.g., data.json), it can be imported to Xray via the REST API or the Import Execution Results action within the Test Execution.
No Format |
---|
The execution screen details will provide information on the test run result that includes step-level information including duration.
Info |
---|
The Cucumber Scenarios Example/Result details (i.e., Hooks, Backgrounds and Steps) are only available for executions done in Xray v2.2.0 and above. |
Info |
---|
The icon represents the evidences ("embeddings") for each Hook, Background and Steps, but is only available for executions done in Xray v2.3.0 and above. |
As shown above, besides a detailed error message, screenshots are also automatically available on failed steps.
Info | ||
---|---|---|
Info | ||
| ||
Please see Testing in BDD with Gherkin based frameworks (e.g. Cucumber) for an overview on how to use Cucumber Tests with Xrayof the possible workflows. |
References
- https://github.com/gwen-interpreter/gwen
- https://github.com/gwen-interpreter/gwen-web
- Testing in BDD with Gherkin based frameworks (e.g. Cucumber)
- Automated Tests (Import/Export)
- Exporting Cucumber Tests - REST
...