Setting up Allure (Part 1)

What is allure? Allure is a flexible test report framework that not only shows a very concise representation of what have been tested in a neat web report form, but allows everyone participating in the development process to extract maximum of useful information from everyday execution of tests, with the possibility to add screenshots, logs, attachments […]

Read more
Cucumber in Web testing (part 8 of 8)

8. Keyword “Examples” and conclusion Gherkin keyword: Examples Cucumber provides another useful Gherkin keyword which is used scenario parametrization. A scenario with an “Example” keyword will be executed multiple times with different parameters. Here is an instance: Examples: Similar Posts from the author: Cucumber in Web testing (part 6 of 8) Cucumber in Web testing […]

Read more
Cucumber in Web testing (part 7 of 8)

7. Hooks Cucumber provides a methodology called Hooks which is analogue to traditional before and after methods. The hooks must be annotated with @Before and @After in step classes. Make sure to use cucumber.api.java.Before and cucumber.api.java.After annotations and not the JUnit ones. By default each before method will be executed before all scenarios and each […]

Read more
Cucumber in Web testing (part 5 of 8)

5. Web testing project structure Structure without cucumber The following picture represents our basic structure what we use for web testing: TestBase contains the initialization and termination of a Selenium Webdriver. It usually contains a before() and after() method where we start and close web browser. In addition to this we setting up desired capabilities […]

Read more
Cucumber in Web testing (part 4 of 8)

4. TestRunner and Test steps To run features we need a Java class to start the test run. Here is a simple example: The TestRunner class needs to be annotated with @RunWith(Cucumber.class) and a body of it can be totally empty. By annotating the class with @CucumberOptions we can specify extra options to our test […]

Read more
Cucumber in Web testing (part 2 of 8)

2. How to install cucumber in Eclipse To start using cucumber in eclipse we need to install few things: First of all eclipse and Java Development Kit (JDK) need to be installed on the computer. Ones eclipse finished with the installation we are able to install “Cucumber Eclipse Plugin” with eclipse built-in plugin installation tool. […]

Read more
Amazon web services – Device Farm

Device Farm is an app testing service that enables you to test your Android, iOS, and Fire OS apps on real, physical phones and tablets that are hosted by Amazon Web Services (AWS). Currently Device Farm allows you to run your own tests or built-in compatibility tests parallelly on the selected devices. The list below […]

Read more