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
This article is one of the “Web Test Automation Selenium Training Workbook” series.
Learning Objectives
- Review
- seleniumfind_element
syntax withID
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…