Login Demo

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

Authoring Information

  • Source File: Step 3 Copy Instructions.xlsx
  • Author: D. Harry Beast
  • Company: TAME
  • Created Date: 5/1/2019 11:59:49 AM
  • Last Modified Date: 5/24/2020 9:13:51 AM

Run Settings

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

1. Successful Login

Case Setup
  open /
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"
Input: Type "Test.123" into the Password field
  type ID Password "Test.123"
Event: Click the blue Log In button
  click ID LoginButton
Check: The login is successful. I'm taken to the logged in homepage
  verify text ID NavbarHelloLink "Hello gary@tametest.net!"
  click ID NavbarHelloLink
  click ID NavbarLogOutLink
  verify text ID NavbarLoginLink "Log in"

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

Case Setup
  open /
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"
Input: Type "Bad-456" into the Password field
  type ID Password "Bad-456"
Event: Click the blue Log In button
  click ID LoginButton
Check: I am told that I can't log in

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

Case Setup
  open /
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"
Input: Type "Test.123" into the Password field
  type ID Password "Test.123"
Event: Click the blue Log In button
  click ID LoginButton
Check: I am told that I can't log in

4. User ID not email error

Case Setup
  open /
Test
Start: I am on the login page
Input: Type "not_an_email" into the User ID field
  type ID UserID "not_an_email"
Input: Type "Test.123" into the Password field
  type ID Password "Test.123"
Event: Click the blue Log In button
  click ID LoginButton
Check: I am told the User ID is not in the form of an email address

5. Missing User ID Error

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

6. Missing Password Error

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