5. Define a Tested Web Page

Applies to TestComplete 14.50, last modified on April 22, 2021
  1. The wizard shows the second page where you can choose your tested application:

    Getting Started with TestComplete: Select your tested web page
  2. As we are going to test the SmartStore application located on a web page, click Web.

  3. Select one of the supported web browsers:

    • Internet Explorer

    • Firefox

    • Google Chrome

    • Microsoft Edge

    In this tutorial, we will use Google Chrome. You can use any other supported web browser.

  4. In the URL text box, enter the following URL:

    http://services.smartbear.com/samples/TestComplete14/smartstore/

  5. In order for the test to run successfully, the state of the tested application must be the same at the beginning of the test run and at the beginning of test recording. If your tested application is running when you start test recording, its state may differ from its state during subsequent test runs (for example, some data may be loaded or dialogs may be open). That is why we recommend that you close all the running instances of your web browsers before starting test recording.

    If any of the supported web browsers is running, the wizard will show the Restart the selected browser check box. Select the check box to command the wizard to close the web browser you have selected and to restart it automatically when recording starts.

    (If any other web browser is running in your system, it will continue running.)

  6. The Use XPath and CSS selectors for web objects check box enables identifying web objects by using XPath expressions and CSS selectors. This option is compulsory for cross-platform web tests, that is, tests that can be run in remote environments that use web browsers and platforms that TestComplete does not support directly. For example, the Safari web browser and Mac OS.

    Creating such tests is beyond the scope of this tutorial, so leave the check box cleared.

  7. Click Record to complete the project creation and start recording.

Prev     Next

See Also

About Tested Web Page
About Tested Applications
Adding Tested Applications

Highlight search results