Login Demo

A typical login page used as the initial demonstration of TAME.

Authoring Information

  • Source File: Step 4 Automate.xlsx
  • Author: D. Harry Beast
  • Company: Model Compilers LLC
  • Created Date: 5/1/2019 11:59:49 AM
  • Last Modified Date: 5/17/2020 11:02:39 AM

Run Settings

  • BaseURL
    • https://login.demos.tametest.com/Account/Login

Run Information

  • File: Step 4 Automate
  • Browser: Google Chrome
  • Size: Notebook-med
  • Run Date: 5/20/2020 1:19:15 PM

1. Successful Login

Case Setup
  open / 7955 ms
Test
Start: I am on the login page
Conditions:
  • There is a user in good standing with ID gary@tametest.net
  • The user gary@tametest.net has password Test.123
Input: Type "gary@tametest.net" into the User ID field
  type ID UserID "gary@tametest.net" 301 ms
Input: Type "Test.123" into the Password field
  type ID Password "Test.123" 321 ms
Event: Click the blue Log In button
  click ID LoginButton 504 ms
Check: The login is successful. I'm taken to the logged in homepage
  verify text ID NavbarHelloLink "Hello gary@tametest.net!" 44 ms
  click ID NavbarHelloLink 78 ms
  click ID NavbarLogOutLink 478 ms
  verify text ID NavbarLoginLink "Log in" 43 ms

2. Bad Login Error (User's Password=wrong password)

Case Setup
  open / 283 ms
Test
Start: I am on the login page
Conditions:
  • There is a user in good standing with ID gary@tametest.net
  • The user gary@tametest.net does not have password Bad-456
Input: Type "gary@tametest.net" into the User ID field
  type ID UserID "gary@tametest.net" 398 ms
Input: Type "Bad-456" into the Password field
  type ID Password "Bad-456" 212 ms
Event: Click the blue Log In button
  click ID LoginButton 541 ms
Check: I am told that I can't log in
  verify text ID InstructionMessage "We can’t log you in with this email address and password." 56 ms

3. Bad Login Error (User=no user with this ID)

Case Setup
  open / 241 ms
Test
Start: I am on the login page
Conditions:
  • There is no user with ID charlie@tametest.net
Input: Type "charlie@tametest.net" into the User ID field
  type ID UserID "charlie@tametest.net" 330 ms
Input: Type "Test.123" into the Password field
  type ID Password "Test.123" 245 ms
Event: Click the blue Log In button
  click ID LoginButton 408 ms
Check: I am told that I can't log in
  verify text ID InstructionMessage "We can’t log you in with this email address and password." 32 ms

4. User ID not email error

Case Setup
  open / 387 ms
Test
Start: I am on the login page
Input: Type "not_an_email" into the User ID field
  type ID UserID "not_an_email" 202 ms
Input: Type "Test.123" into the Password field
  type ID Password "Test.123" 251 ms
Event: Click the blue Log In button
  click ID LoginButton 128 ms
Check: I am told the User ID is not in the form of an email address
  verify text ID UserID-error "The User ID field is not a valid e-mail address." 49 ms

5. Missing User ID Error

Case Setup
  open / 211 ms
Test
Start: I am on the login page
Input: Leave the User ID blank
  type ID UserID 9 ms
Input: Type "Test.123" into the Password field
  type ID Password "Test.123" 187 ms
Event: Click the blue Log In button
  click ID LoginButton 125 ms
Check: I am told the User ID is required
  verify text ID UserID-error "The User ID field is required." 27 ms

6. Missing Password Error

Case Setup
  open / 216 ms
Test
Start: I am on the login page
Input: Type "gary@tametest.net" into the User ID field
  type ID UserID "gary@tametest.net" 207 ms
Input: Leave the Password blank
  type ID Password 18 ms
Event: Click the blue Log In button
  click ID LoginButton 129 ms
Check: I am told the Password is required
  verify text ID Password-error "The Password field is required." 33 ms