heisenbug Heisenbug 2020 SPb (15.06.2020 — 18.06.2020)

How Testid-strategy defeated PageObject and BDD/Cucumber monsters

img

Developing a test framework is not an easy task. But what if you use ready-made solutions?

Selenide/Selenide-appium + Allure + Selenoid + Testid-strategy — in this talk we will look at how to make this task easy reducing the effort to write code to minimal scripting.

Using the example of React Native application (with builds for web, iOS, and Android) we will consider an E2E project with autotests for one repository to all platforms.

  1. We will understand how to write autotest of each platform and what is the profit of cross-platform locator.

  2. We will consider the procedure of implementing a strategy in a workflow: how to make reliable locators for automation appear in a timely manner in a product.

We will also examine what is hidden under TestId strategy, who applies it and what is its impact on our framework, we will compare tests in different styles and analyze the typical problems in tests supporting.