Simple Selenium Webdriver Example in Java

After Setting up the environment we¬†can now go ahead and write some sample code. We will be using Java for this purpose. Take a look at the code example below and afterwards we will try to understand the working import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.regex.Pattern; import java.util.concurrent.TimeUnit; import static org.hamcrest.CoreMatchers.*; import org.openqa.selenium.*; import … Continue reading Simple Selenium Webdriver Example in Java

Advertisements

Selenium Introduction

What is Selenium? Just like any other automation tools to automate some task or list of tasks, Selenium automates the web-browser for you. In very simple words: "it tries to act as a real user and interacts with web pages(or web-applications)". Few Scenarios For Testing Imagine a situation where a there has been few upgrades(changes) … Continue reading Selenium Introduction