Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

mvn compile test -Dcucumber.options="-p json:data.json"
No Format


Image Added



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.

  

Image Removed

Info

The iconImage Removed represents the evidences ("embeddings") for each Hook, Background and Steps, but is only available for executions done in Xray v2.3.0 and above.


Image Added


As shown above, besides a detailed error message,  screenshots are also automatically available on failed steps.


Info
Info
titleLearn more

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

...