Browsed by
Category: PageFactory Tutorial

Firing up a WebDriver in a JUnit test

Firing up a WebDriver in a JUnit test

There are plenty of good examples of how to fire up a Java WebDriver out there and one I often referenced is toolsqa.com. This, like many others, starts off by describing the processes using standard java main() methods. I want to write tests, not applications, so my goal here is to start straight away writing tests in a test framework so that I can view the results visually in an IDE. My hope is to achieve this using JUnit 5…

Read More Read More

Hello world!

Hello world!

Welcome to my first efforts at a tech blog! If you are interested in learning about implementing a Web testing framework in Java using Selenium Webdriver page factory and Junit 5 you are in the right place. I aim to document my efforts to implement one in this blog. I am not an expert, so I do not make any promises of doing things in the best way, but I will try to explain the choices I have made along…

Read More Read More