We are quite familiar with the concept of randomly failing automated tests. Those are the tests that even though there is no change in the feature they are testing, they either fail randomly at the same step, or they fail at random steps. Handling the results of such tests can be tricky, and some teams… Read More
About my JUnit 5 course
As you have probably seen, my new course on JUnit 5 is now available at Test Automation University. It’s an introduction to all the amazing features of this framework that you can use in your automated tests, with, of course, plenty of examples.
Have you seen my article on using Spring for managing test environments in automated tests?
Read all about how to configure your test environment specific data in property files with Spring, to help run your automated TestNG and JUnit tests on any test environment you need: https://blog.testproject.io/2021/02/09/using-spring-to-switch-environments-in-automated-tests/. Enjoy.
Generating useful date values for testing purposes
If in your tests you need to generate date values representing, let’s say, today’s date, or yesterday’s, or one year from today, or the last day of the current month, this post will help you do just that. Using Java’s LocalDate, you will be able to generate the date (meaning year, month, day) your tests… Read More
Read my article on how i prepare and test for releases
In case you haven’t already, read the article i wrote for QALead on how i prepare and test for releases: https://theqalead.com/topics/release-management-how-i-prepare-and-test-for-my-releases/. Enjoy.
Browser unaware Selenium tests. STEP 3: Starting a browser based on a system property
By now, following the previous two posts in this series, you have setup the methods that initialize a Chrome and a Firefox browser. In this post, you will see how to use System properties for easily switching the browser in tests.
Browser unaware Selenium tests. STEP 1: Identify OSs on which to run tests + choose browsers to support
In this blog post series, i want to show how i normally set up my browsers and my Selenium code, in order to enable writing ‘cross-OS’, ‘cross-browser’, ‘browser-unaware’ tests. What this means: my tests can run on any OS i set up seamlessly; each test can be run on multiple browsers seamlessly; the tests do… Read More
My IntelliJ course is now available
Have you heard? My course “IntelliJ for Test Automation Engineers” is now available for free on Test Automation University: https://testautomationu.applitools.com/intellij/. It is meant for testers who want to learn how to use this IDE, and it covers concepts from installation, setup, to creating and running test, to performing static code analysis. Enjoy!
Writing good bug reports
Writing bug reports is a frequent task in the tester’s work. Here are my tips on how to write good and clear bug reports that properly underline: what issue can be observed, what behavior should have been observed instead, and how to reproduce it.