Checkout this article i wrote on how to use WebDriverWaits as retries for more test automation success: https://blog.testproject.io/2021/01/13/using-selenium-webdriver-waits-as-retries-in-your-selenium-tests/. If you haven’t used Waits yet, or you have, but are still having issues with tests randomly failing, this is the right approach for your 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 new article on using Enums in your automation code
Check out this new article i wrote for TestProject: https://blog.testproject.io/2020/08/04/using-java-enums-in-test-automation/. It shows examples of when and how you can use Enums in your Java based automation tests. Enjoy!
Working with user prompts in Selenium
In your tests you might encounter specialized popups, which are generated via Javascript, and which are called ‘user prompts’. These are very basic in functionality, and they come in three variants: an ‘alert’ which only displays an informational message and an ‘OK’ button; a ‘confirm’ which displays an informational message, together with an ‘OK’ and… Read More
Working with windows/tabs in Selenium
When testing requires you to work with multiple open windows or tabs, Selenium is here to help. A new window or tab usually opens when a user clicks on a button or link which triggers the new page that loads to be open in a new window or tab. Whether it is a window or… Read More
Read my article on Java Test Automation Good practices
I warmly invite you to read the second installment in my good automation coding series for TestProject, namely the article on Java good practices: https://blog.testproject.io/2020/05/11/java-test-automation-good-practices/. Enjoy!
Iframes, switchTo() and default content with Selenium
So, now that you are an expert in writing CSS selectors to identify your WebElements (possible because of my older webinar on this topic), you want to write some new tests. You are inspecting the page you will test, identifying what WebElements you will need, and start writing the selectors. Once you have them, and… Read More
Read my new article on tips for clean code
Read the article i wrote for the TestProject blog on general tips for why and how we can achieve clean code in our automation: https://blog.testproject.io/2020/04/22/clean-code-in-tests-what-why-and-how/
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.
My Testers’ Island Discs podcast
Hi there. If you haven’t already, check out episode 33 of the Testers’ Island Discs podcast, that i am featured in: https://www.ministryoftesting.com/dojo/lessons/testers-island-discs-ep33-corina-pip . Great music and hot testing topics. Enjoy.