Tag Archives: property

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.

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. Continue reading Browser unaware Selenium tests. STEP 3: Starting a browser based on a system property

Automated testing of translations by using property files

Whenever you need to write tests that check for a text in several languages, you don’t need to write one test for each language that you check for. Instead, you can use property files to store translations and just write one test that will check the text across all supported languages. Read below to see how and checkout my GitHub project for the examples presented in this post. Continue reading Automated testing of translations by using property files