Previous Topic: Tutorial 4 - Manipulate Java Objects (POJOs)Next Topic: Tutorial 6 - Test a Website


Tutorial 5 - Run a Demo Server Web Application

In this tutorial, you step through a simple web application that accompanies DevTest.

The LISA Bank application is a simple front end that is connected to a database table containing financial account information. The application business logic consists of Enterprise JavaBeans and web services. From the web application, you can view the profile of the user, create an account, add addresses, and so on.

The goal of this tutorial is for you to become familiar with the application. This application is used in subsequent tutorials as the system under test.

Prerequisites

Step 1 - Start the Web Application

Follow these steps:

  1. Open a new browser window.
  2. Enter the following URL, where

    localhost

    is the path with the IP address for your computer.
    http://localhost:8080/lisabank/
    

    The login page appears.

    LISA Bank login page

Step 2 - Log in to the Web Application

You use the predefined user name lisa_simpson.

Follow these steps:

  1. In the Name field, enter lisa_simpson.
  2. In the Password field, enter golisa.
  3. Click Login.

    The welcome page appears. The left side contains buttons for various actions that you can perform: View Profile, New Account, Close Account, Add Address, Delete Address, and Log Out.

    LISA Bank welcome page

Step 3 - Create an Account

Notice that the current user does not have any accounts.

Follow these steps:

  1. Click New Account.
  2. From the Account Type list, select SAVINGS.
  3. In the Account Name field, enter My Savings.
  4. In the Initial Balance field, enter 100.00.
  5. Click Add Account.

    LISA Bank new account page

    The new savings account is added to the Accounts section.

    LISA Bank with new savings account added

  6. To create two more accounts: Checking and Auto_Loan, repeat the preceding steps. Set the initial balance of the checking account to $600.00. Set the initial balance of the auto loan to $10000.00.

    Do not use commas in the Initial Balance field.

    LISA Bank My Money Home screen

Step 4 - Close an Account

The application lets you close accounts.

Follow these steps:

  1. Click Close Account.
  2. Select My Savings from the list and click Select Account.

    LISA Bank close account page

  3. Click Confirm Delete.

    The My Savings account is removed from the Accounts section.

Step 5 - Log Out from the Web Application

To log out from the web application:

  1. Click Log Out.

Tutorial 5 - Review

In this tutorial, you: