Botium

This article walks you through the integration with Botium, an automation testing tool for chatbots using APIs. Botium also provides management tools with out-of-the-box test environments and test sets. By integrating Botium with Perfecto, you can run your Botium tests in the Perfecto lab. 

Important: This document includes references to a third-party product, Botium. The user interface and usage of third-party products are subject to change without notice. For the latest published information about Botium, see https://botium-docs.readthedocs.io/en/latest.

Prerequisites

These instructions assume that you have set up your Botium cloud account or installed your Botium Box container. You can register for a free trial at https://www.botium.ai/free-trial.

Step-by-step instructions

Perform the following steps to integrate Perfecto with Botium. This procedure mainly involves setting up the Perfecto device lab. When done, you are ready to execute your Botium test projects in the Perfecto lab.

To integrate Perfecto with Botium:

  1. In the left panel, click Settings.

  2. At the top of the Botium Box Settings view, click DEVICE PROVIDERS.

  3. Click REGISTER NEW DEVICE PROVIDER.

  4. In the REGISTER NEW DEVICE PROVIDER dialog box, do the following:
    1. From the Device Provider list, select Perfectolabs Desktop Browsers for Selenium or Perfectolabs Real Device Browsers for Appium. 
    2. In the Device Provider Name field, enter a name for your Perfecto lab.
    3. In the Perfecto Cloud Url field, provide the URL of your Perfecto cloud, such as https://demo.perfectomobile.com.
    4. In the Perfecto Security Token field, enter your security token. 

    5. Click SAVE.

  5. In the left panel, click Device Labs.

  6. In the Register Device Set dialog box, do the following:
    1. Enter metadata for your device set (name, tags, description). In this example, Devices is selected.
    2. From the Device Provider list, select either Perfectolabs Partner Cloud - Devices or Perfectolabs Partner Cloud - Desktop Browsers. In the example image, Desktop Browsers is selected.

    3. Select from the devices available in your Perfecto lab. In the example image, iPhone-SE is selected.

    4. Click SAVE.