2. Plan the Test

Applies to TestComplete 15.46, last modified on January 09, 2023

The sample SmartStore application is an online store. Suppose that you need to test whether the application adds items to the Shopping Cart correctly. In this case, you need to define the following:

  • Test purpose: The test must check whether the selected item is added to the Shopping Cart correctly. That is, the Shopping Cart shows the added item.

  • Testing steps: The test must add an item to the Shopping Cart, and then verify that the Shopping Cart contains this item. We will record a test simulating user actions over the application.

  • Checking and logging the test result: If the item has been added correctly, it must be in the Shopping Cart. To check this, the test will compare the data the Shopping Cart shows with the expected value. We will add a special comparison command to the test for this purpose. This command will post the comparison results to the test log, so we will see whether the verification has failed or passed.

For more information on planning tests with TestComplete, see Planning Tests.

Prev     Next

See Also

About Tested Web Page
Planning Tests

Highlight search results