Preparing the repository to work on multiple platforms

Suitest allows you to specify one set of identifying properties per element, per platform. This in turn enables you to reuse your existing test scenarios on various platforms.

An element "Logo" or "Video" on various platforms can refer to a different element depending on implementation. However provided that the business logic of the application is the same, the same automation scenarios can apply. When automating multi-platform apps you should explore similar patterns and take advantage of test reuse whenever possible.

To begin defining elements for another platform create a configuration first and then open your app on the connected device with this configuration.

Copying single element properties between platforms

You can copy (and if necessary adjust) the identifying properties from one platform to another by using the "Copy from..." function. For the copying to make sense the platforms must support the identifying property being copied and the platforms should be compatible.

Copying the identifying properties from a native platform (e.g. Roku) to any HTML based platform (e.g. HbbTV) will not work since the platforms are incompatible.

Bulk copying element properties between platforms

If you want to copy multiple elements between platforms, Suitest offers you the following way:

  1. In the list of elements, use the selector (checkboxes) to choose elements that you would like to copy to another platform.

  2. Click on duplicate icon on the top-right corner of the list

    Selecting elements to copy

  3. Suitest opens a modal window with a list of selected elements on the left side (A).

  4. Select the source platform. Elements that are not recorded for the source platform are listed separately (B).

  5. Select the destination platform. Due to platform differences, you are allowed to select only platforms compatible with the source one (C).

  6. Confirm the selection by clicking Copy elements button

    Selecting platforms to bulk copy the elements between