Part 3 – Application Under Test and Test Plan

This is Part 3 of Test Automation with Selenium WebDriver Series. Let’s take a little detour and have a look at the Guestbook Demo Web Application we’re going to use to create our Automated Tests.

Guestbook Demo Web Application is a simple 4 pages application that allows to post and view guestbook entries. Posting a new entry requires the user to log in.

Guestbook Demo Web Application pages and functionality

  1. Home Page: View list of submitted guest entries on Home Page (most recent on the top)
    • Click ‘Sign The Guestbook’ button
    • Navigate to Login Page
  2. Login Page: Login to access the Guestbook Form Page
    • Enter User Name
    • Enter Password
    • Press Login Button
    • Navigate to Guestbook Form
    • Navigate to Home Page (Click Website Logo)
  3. Guestbook Form Page: Submit a new Guestbook entry
    • Enter Full Name
    • Enter Email Address
    • Check ‘Subscribe to Mailing List’ checkbox
    • Select Gender Radio Button
    • Select ‘Favorite Test Automation Tool’ from drop-down list
    • Enter Comment in the Comment text area
    • Press Submit button
    • Navigate to Confirmation Page
    • Logout to navigate back to Login Page (Click Logout menu item)
    • Navigate to Home Page (Click Website Logo)
  4. Guestbook Post Confirmation Page: View submitted information
    • Submitted Information is displayed on the page
    • Logout and navigate back to Login Page

 Test Plan

Our goal is to create an automated script for the following scenario:

  1. Open Guestbook Demo Home Page, click ‘Sign The Guestbook’ button – Login Page opens

    Open Home Page, Click ‘Sign The Guestbook’ button
  2. Enter Username and Password and press ‘Submit’ button – Guestbook Form opens

    Enter Username and Password and press ‘Submit’ button
  3. Fill out the form and press ‘Submit’ button – Confirmation Page opens

    Fill out form fields and press ‘Submit’ button
  4. Verify the data displayed matches the data entered. Logout by clicking the ‘Logout’ menu item in the top navigation menu – Login Page opens

    Verify the data displayed matches the data submitted. Logout.
  5. Click ‘Guestbook’ Menu item  in the top navigation menu to navigate to Guestbook section on the Home Page – Guestbook section on the Home Page opens

    Navigate to Guestbook
  6. Verify the latest entry

    Verify the latest entry

Next, we will record these steps in Browser Automation Recorder to see what script is being generated and how we can leverage that.

1 thought on “Part 3 – Application Under Test and Test Plan”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.