Eyal Yovel
Senior Solutions Architect
Sauce Labs

Eyal Yovel is a Senior Solutions Architect at Sauce Labs based in London, UK, where he works with organisations across EMEA and the US to improve their testing practices and get the most value out of their investment in Sauce Labs. He has over 15 years of experience in software development and software automation. In that time, his roles combined coding, mentoring, consulting, and advanced troubleshooting in test frameworks across a wide range of environments and automation frameworks. He has a passion for learning new technologies and new test frameworks.

Speaking

Tips and Tricks for Cross Browser and Cross Device Testing using Java Testing Frameworks

Best practice for using Java testing frameworks for testing web apps as well as native apps and running on multiple browsers, multiple browser versions, different OS and different devices.

Many companies build their automated frameworks based on Java testing frameworks such as Junit4, Junit5 and TestNG. They utilize these frameworks for testing their web apps and/or native apps before production in order to improve their quality.

However, simply setting up the automated framework doesn’t guarantee high-quality apps in production. In order to enjoy the full benefit of automated testing, there are additional steps and best practices to consider.

Improving the product quality, decreasing the time to market and receiving quick feedback are key imperatives that need to be supported by any automated framework. To successfully deliver all of this, the framework must be able to run against multiple browsers, multiple browser versions, different OSs (Windows, Mac, Android, iOS) and on different devices.

During this presentation, I will explain:

  • the differences between JUnit4, JUnit5 and TestNG
  • how to run automated tests in parallel on each of these frameworks
  • the best practices for passing parameters such as OS, browsers, device names and versions to the framework
  • when to use Data Providers or TestNG XML files, or maybe the best is to use external files such as JSON and CSV files?

In this session, I will also be sharing code examples and multiple tips and tricks for using Java testing frameworks.

Menu