In this article we will show how to create End to End (E2E) UI tests for the e-commerce ASOS for 3 of their markets (UK, IT, DE) in less than 30 minutes. Why use TestCafe for running tests? For creating the tests we will be using the TestCafe framework. TestCafe is an open source framework… Read more »
Posts By: admin
Best Practices for Implementing E2E (End-to-End) UI Tests
LoadFocus – is a easy to use cloud testing tool, and you don’t need any setup, it runs from the browser. It helps you understand better your Website’s and WebServices’ performance and find potential bottleneck before your customers do. Run a free website speed test today. Writing UI tests that are resilient and easy maintainable… Read more »
Building your in house Device Farm on Mac OS using OpenSTF for Android Testing
What is OpenSTF ? OpenSTF is an open source project that gives us the ability to create our own test farm with real devices. Using OpenSTF we can create a device farm that gives us the possibility to share devices between team members without actually physically moving the device from the device farm. Why is… Read more »
How to Click on Element with Puppeteer and Chrome
LoadFocus – is a easy to use cloud testing tool, and you don’t need any setup, it runs from the browser. It helps you understand better your Website’s and WebServices’ performance and find potential bottleneck before your customers do. Run a free website speed test today. Using Puppeteer to interact with the UI elements from… Read more »
Mocking APIs using WireMock for testing negative cases when it is not possible to change the API behaviour
Why do we need to mock APIs ? A lot of times when you develop integration tests there is a need to mock different APIs to test for negative cases to check how the rest of the platform behaves in that case and it is not feasible to change the API to return errors. This… Read more »
Structuring integration tests using JUnit categories by features, API or type of tests
Why structure your integration tests ? When the number of integration tests grow is a good practice to separate the tests based on the feature/api that they are testing. The advantages of doing this are: easier to maitain as the tests for a specific feature/API are grouped in a specific category easier to run the… Read more »
How to Click a Link by Text in Selenium WebDriver Java
Here is how to click a link by text with Selenium WebDriver in Java using the built in WebDriver helper methods or by XPath: Click link by full text using Selenium WebDriver WebElement linkByText = driver.findElement(By.linkText(“My Link”)); linkByText.click();