Design

Functional Testing Design (FT Design) enables you to create codeless automation scripts, using AI-based object identification.

Overview

Create and edit automated scripts in natural English to help you achieve codeless quality.

FT Design uses the AI Object-Detection Service to identify objects in your application as a human would and helps you build your scripts step by step. AI-based automated testing helps you save time, increase resilience, and develop more robust application test automation.

As you develop a script, you can run the script independently to make sure the script can work correctly.

After the script is ready, you can associate it with a codeless test or a unit to include the script in your scheduled run or MBT model:

  • Associate a script with a codeless test in the Quality or Execution module.

  • Schedule and run a codeless test in the cloud from the Execution module.

  • Associate a script with a unit and include the script as part of your MBT test.

You can add parameters to the codeless script, to pass data into the script when running it in a test or unit.

Back to top

Workflow

A typical workflow for creating and developing a codeless automation script is as follows:

  1. Configure and launch your application.

    For details, see Prepare to create a script.

  2. Create a codeless automation script by inspecting your application.

    For details, see Create steps by inspecting your application.

    You can also use Aviator to automatically generate scripts from existing manual tests, or even from a feature description and video. For details, see Generate Codeless tests with Aviator.

  3. Customize your script and step settings to optimize object identification in the runtime.

    For details, see Customize settings.

  4. Run your script on one or multiple applications.

    For details, see Run a script.

  5. View and analyze run results.

    For details, see Analyze run results.

  6. Associate your script with a codeless test that can be run from Functional Testing Execution, or a unit that you can include in an MBT test.

    For details, see Associate or unassociate your script.

  7. You can manage all of your scripts from the Design Assets pane or the FT Design Home page.

    For details, see Navigate Functional Testing Design.

Back to top

Navigate Functional Testing Design

FT Design includes the following panes: 

Pane name Description Available operations
Design Assets

Displays all the folders, scripts, functions, and custom objects in your workspace.

When viewing the Home pane, this tree is always displayed.

When viewing a specific script, use the Show/Hide tree button to show or hide this pane.

  • Search for a folder, script, function, or custom object.

  • Refresh the tree to display changes performed in other tabs or sessions.

  • Open a folder, script, associated item, or function.

  • Add, delete, rename, or move items. Hover over an item in the tree to display the Add (+) and More options buttons.

    Note: Custom objects can currently be modified only on the Home page.

Home 

Displays information about all the items in the folder selected in the Design Assets pane. For example: item name, author, and last modification date.

Additional information is also displayed:

  • For scripts, the associated codeless test or unit.

  • For custom objects, the object's image and dimensions.

To open the Home page when viewing a specific script or function, click the Home button in the Design Assets pane.

  • Add a new folder, script, function, or custom object. See Prepare to create a script, Create a custom function, and Use custom objects.

  • Search or filter the display.

  • Rename, move, or delete items. Right-click to open the context menu. To perform operations on multiple items, select their checkboxes.

  • Open a folder, script, or associated item.

  • Edit a custom object.

Editor

Displays the steps of a specific script or function.

Open the Editor by clicking a script or function in the Design Assets pane or a in the Home pane.

  • Inspect an application or a mockup to identify objects. See Create a script.

  • Add steps to your script. See Manually edit steps.

  • Open panes to define Script parameters, Script settings, Script applications, and step details.

  • Associate your script with a new codeless test or unit. See Associate or unassociate your script.

  • Open the associated codeless test or unit.

  • Run your script. See Run scripts.

  • Rename, move, or delete the script. Click the down-arrow next to the script's name.

Script parameters Create parameters to use for the currently open script. This lets you use varying values rather than constant ones.
  • Create, rename, and delete parameters.

  • Define default values to use for your parameters.

See Parameterize scripts.

Script settings Configure script-specific settings for the currently open script.

See Customize settings.

Script applications

Define the applications you want to test using the currently open script.

The script runs on these applications.

See (Optional) Configure script applications.
step editing pane Configure details for the selected step. Some step details can only be set in this pane and not in the Editor or while performing inspection.

See Manually edit steps.

Function details pane Configure the function's description and arguments. See Custom functions

Notes:

  • For script and function naming rules, see Naming conventions.

  • Renaming or moving an associated script updates the associated test or unit with the script's new name or location.

  • If you delete a script associated with a test or unit, the test or unit cannot be run automatically anymore.

  • Modifying, deleting, or moving custom functions or objects might affect any scripts using them. The scripts are not updated automatically. Review and update your scripts manually to avoid errors.

  • If a script is open when you create a new script in the Design Assets pane, you can decide to reuse the applications configured for the open script.

  • Opening a script or function opens it in the relevant Editor.

  • Opening an associated item opens it in a new tab, in the submodule you used most recently. This might be the Backlog , Quality, or Execution submodule.

Back to top

Advantages of AI-based automated testing

AI-based automated testing provides you with the following advantages:

  • Faster test creation. Using AI technology to interact with visual objects the way a human would speeds up test authoring and saves time. In addition, you can run one script on different browsers hosting your application.

  • Increased resilience. AI-based scripts are less sensitive to application changes. They can run successfully even if the object location or framework is changed. This makes maintenance easier and increases resilience.

  • No need for programming knowledge. You can describe your codeless automation scripts in natural English. This extends the range of personas who can contribute to automation, resulting in a higher test coverage.

Back to top

See also: