Prepare to create a test

Perform the following tasks before you create an AI Codeless test.

Before you begin

Before you begin, review the following requirements:

  • Make sure that UFT One and UFT Developer are closed before you start AI Codeless Testing.

  • For desktop web applications, check whether your browser is set up to work with AI Codeless Testing. For details, see Test Web apps for specific browsers.

  • For apps on mobile devices, connect AI Codeless Testing to UFT Mobile first. See Connect AI Codeless Testing to UFT Mobile.

    Once you connect successfully to a UFT Mobile server, the next time you open the tool, it automatically connects.

Back to top

Configure environments

To create a test, you need to set up test environments on which you can run your test later.

For a desktop web application, you can skip environment configuration and directly launch it in a web browser.

You can add up to 3 environments. Create a test in one of the environments, then run the test on all the environments in a single run session, one after the other.

To create environments for desktop web applications

  1. Make sure that your browsers are set up to work with AI Codeless Testing. For details, see Before you begin.
  2. In the ENVIRONMENTS tab, click Add new environment.
  3. Select Web. A window for adding an environment opens.
  4. In the window, select a browser, enter the URL of your application, and click APPLY.
  5. Repeat the above steps to add up to three environments.
  6. To edit or delete an environment, hover over the environment card and click or in the upper right corner.

To create environments for mobile applications

  1. Make sure you are connected to a UFT Mobile server. For details, see Before you begin.
  2. In the ENVIRONMENTS tab, click Add new environment.
  3. Select Mobile. A window for adding an environment opens.
  4. In the window, select a mobile device and a mobile app or enter the web app URL for your test.

    To test a mobile app To test a web app
    1. Select the Mobile App option.
    2. Click in the DEVICE box to open the UFT Mobile DEVICES page. Select a device and click the green check mark.
    3. Click in the APP box to open the UFT Mobile APPLICATIONS page. Select an app and click the green check mark.

      UFT Mobile only displays apps that match the platform of the device you selected.

      Caution: Do not select the UFTM Browser app, as AI Codeless Testing does not support testing this app.

    4. Specify whether to install the app on the device and whether to restart the app before running the test.
    1. Select the Mobile Web option.
    2. Click in the DEVICE box to open the UFT Mobile DEVICES page. Select a device and click the green check mark.
    3. Enter the URL of the app you want to work with. The device's default browser is used to open the web app.
  5. Click APPLY. The environment is added to the ENVIRONMENTS tab.
  6. Repeat the above steps to add up to three environments.
  7. To edit or delete an environment, hover over the environment card and click or in the upper right corner.

Note:  

  • If you are disconnected from UFT Mobile, the mobile environment you added still remains but you cannot launch, edit, or run a test in it.

  • If you want to create a new test, AI Codeless Testing prompts you to keep the environments you created for this new test.

Back to top

Launch your application

Launch the application that you want to test in one of the environments you set up.

To launch your application

In the ENVIRONMENTS tab, click Launch on the upper right corner of an environment card.

For a desktop web application, the application opens in the web browser; for a mobile app, the app opens in a separate remote access window. For more about the remote access window, see Device control panel.

The green check mark with text Launched on an environment card indicates that the application is opened in the browser or remote access window.

Back to top

Next steps: