Member-only story

Web Test Automation Workbook #06: Failed to sign in Test (tips for productivity)

Add another test case in an existing test script file

Zhimin Zhan
4 min readNov 17, 2022

--

This article is one of the “Web Test Automation Selenium Training Workbook” series.

Learning Objectives

  • Review
    - selenium find_element syntax with ID locator
    - RSpec test structure
  • Productivity Tips:
    - Validation
    - TestWise Snippet
    - Reformat (pretty-printing)
    - Code Completion (sort of)
    - Script Library

Test Case 06

There is no new concept for this test case, basically a clone of the first test (session #1) with a different user login, within the same test script file. But don’t copy and paste. Type them in in a quicker and smarter way, see below.

Productivity Tips

Tip 1. Faster (and Safer) Typing Selenium Statements

The first challenge for new-to-selenium-automation testers is typing Selenium statements correctly. When that happens (very common), the attendees are frustrated.

As a coach, I worked out a simple approach to overcome the following issues bothering beginners.

  • Not Remembering the Selenium…

--

--

Zhimin Zhan
Zhimin Zhan

Written by Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.

No responses yet