/TrendyolCases1.2

Primary LanguageHTMLApache License 2.0Apache-2.0

About this template

This is a template to get started with a Gauge project that uses Selenium as the driver to interact with a web browser.

Installing this template

gauge --install java_maven_selenium

Building on top of this template

Defining Specifications

  • This template includes a sample specification which opens up a browser and navigates to Get Started page of Gauge.
  • Add more specifications on top of sample specification.

Read more about Specifications

Writing the implementations

This is where the java implementation of the steps would be implemented. Since this is a Selenium based project, the java implementation would invoke Selenium APIs as required.

We recommend considering modelling your tests using the Page Object pattern, and the Webdriver support for creating them.

  • Note that every Gauge step implementation is annotated with a Step attribute that takes the Step text pattern as a parameter. Read more about Step implementations in Java

Execution

  • You can execute the specification as:
mvn test