Analyze your app

Before you begin creating tests, you must determine exactly what you want to test.

To do this, analyze your app in terms of its business processes - the distinct activities that customers perform in your application to complete particular tasks.

Explore the AdvantageDEMO site

For the purposes of this tutorial, you'll need to become familiar with the AdvantageDEMO sample site.

Open the following URL in your browser, preferably Chrome: http://www.advantageonlineshopping.com

Browse around the site by creating an account and adding items to your cart to purchase. Select various options, such as color and quantity, and check out your order.

Do the following:

  1. Create an Advantage Online account
  2. Add items to your cart
  3. Complete your purchase

Then, start the exercises in this tutorial to learn how to configure UFT to perform these actions in an automated test. For details, see Set up UFT and create your test structure.

Back to top

Create an Advantage Online account

Create an Advantage Online account.

In addition to familiarizing yourself with the site, you will use this account to create the test later in this tutorial.

Do the following:

  1. In the AdvantageDEMO site, click the user icon at the top right, and click CREATE NEW ACCOUNT.

  2. Populate the account details fields as needed, and select the I agree checkbox at the bottom.

    Make a note of your username and password for use later on.

  3. Click REGISTER.

Back to top

Add items to your cart

Select various items and add them to your cart.

For example, do the following:

  1. Scroll down to view the POPULAR ITEMS, and then click the View Details link under the HP ROAR PLUS WIRELESS SPEAKER.
  2. On the HOME / SPEAKERS / HP ROAR PLUS WIRELESS SPEAKER page, select the blue button.
  3. Click the button to raise the quantity to 6.
  4. Click ADD TO CART.

Back to top

Complete your purchase

Browse to your cart and complete your purchase order.

For example, do the following:

  1. Click the cart icon at the top right, and then click CHECKOUT.

  2. On the SHOPPING CART page, click CHECKOUT ($1.019.94).

  3. On the ORDER PAYMENT SHIPPING DETAILS page, click NEXT.

  4. On the ORDER PAYMENT PAYMENT METHOD page, ensure that SafePay is selected, and enter a set of demo credentials.

    Alternately, select MasterCredit and enter demo details for a credit card.

    Caution: SafePay and MasterCredit are demo payment mechanisms. Do not enter real data.

  5. Optionally, select the Save changes in profile for future use option.
  6. Click PAY NOW.

The order details are confirmed on the ORDER PAYMENT page, with a tracking and order number.

Back to top

Next steps: