Execute web test from Gradle task & Allure report

Given that we authored and executed GoogleSearchTest, let us see how to execute the same test via Gradle task & view the Allure report of it.

Executing test via Gradle task

From the terminal, navigate to the root folder of the project and execute the below Gradle task

./gradlew runWebTests



**NOTE:**
  1. All the tests which are tagged as “web” would get executed. Please see the task runWebTests to know more
  2. Please create additional Gradle tasks per your need

Viewing Allure reports

From the terminal, navigate to the root folder of the project and execute the below Gradle task

./gradlew allureServe

This would open up allure report like below:


Please refer Allure documentation to understand details on reporting structure.

Congratulations!! you have successfully kick-started Web automation with Ekam.

Next steps

These are the bare minimum steps required to build and run web tests on Ekam. But below are some additional steps to dive a bit deeper into Ekam features.

  1. Execute tests on different browsers - Firefox, MS Edge
  2. Execute the same test in responsive mode
  3. Execute tests in different environment
  4. Execute tests in public cloud - BrowserStack, PCloudy and more !!