Category: Selenium

How to Select Random Radio Button Selenium WebDriver with Java

While automating a form selection with Selenium and Java, It’s a good practice to randomize your form values. Here is how you can select random values on radio buttons. Lets suppose you have a radio button form field with name ‘radio_example’. Which has three radio buttons with values ‘Yes’, ‘No’ and “MayBe’.Java code […]

Write Selenium test cases with Junit (Maven and Eclipse)

This post will guide¬†you how you on how you can run the automation test scripts with Selenium Web Driver and Junit. I am using Eclipse as my IDE and Maven as my build tool. This post assumes that you know the the basics about Maven, Junit and Selenium Web Driver. 1. Start of by creating […]