Web Test Automation Workbook #03: Introduction to Selenium WebDriver

Run your first Selenium test steps

Zhimin Zhan

--

This article is one of the “Web Test Automation Workbook” series (the complete training course will be on my Substack Newsletter), a set of bite-size exercises.

Table of Contents:
· Goal
· Selenium WebDriver’s syntax pattern
· Step 1. Locate the control
Common Controls on a web page
· Selenium WebDriver’s Locators
· Step 2. Perform action on the located control
· Run Selenium Scripts in TestWise
Get TestWise in Playgrounds mode
Try out automated test steps
Knowledge Point: Comment
· FAQ

Goals

  • Basic Selenium WebDriver syntax
  • Three Selenium locators
  • Try out the Selenium test steps
  • TestWise’s debugging mode
    (a fast way to try out selenium steps)

Selenium WebDriver’s syntax pattern

Selenium WebDriver is the easiest-to-learn automation framework because its syntax follows such a simple and intuitive pattern.

Identify a text box, then type some text there.

You may be reading this article (and others in this series) on smartphones. If so, I suggest stop and find 15 minutes to sit down in front of a computer: do the following exercises hands-on. In my…

--

--