Using Script Based Test Configuration

Alongside model execution, Eggplant DAI also lets you run Sensetalk scripts that can be scheduled much like any other test execution. This is especially useful when you want to use your scripts against more than one system under test (SUT) or when reviewing results of your project that may have both scripts and models in one location.

Creating Script Based Execution

Step-by-Step: Create Script Based Execution

In order to create a script based execution, follow these steps.

  1. In the Eggplant DAI UI, click the Controller > Test Config tab to navigate to the Test Configuration page.
  2. Click the Add new + button on the top right. The Create New Test Configuration pane opens.
  3. Enter the Name and Description for the test configuration as you want them to appear in the Test Config tab.
  4. (Optional) Add Tags by entering a name for the test configuration tag and pressing Enter. You can add as many tags as you need.
  5. Specify SUT selection for the test to run on by selecting one of the following options:
    • SUT by Name from the drop-down list
    • SUT to use by defining one or more SUT criteria in the drop-down list. All the SUTs that are defined on the SUTs tab are available in the drop-down list. The SUT criteria field is similar to Tags, i.e., if you enter a criteria and press Enter, relevant values are populated.
    • Note: The Cloud based SUTs are only available for DAI Eggplant Cloud customers only.

  6. In Steps Source, select a suite from the list to add to your test configuration. This field will populate data only if you've associated at least one suite for your model stored in Eggplant DAI. If you still can't see it, then you might want to revisit the following prerequisites:
    • Connect a suite by starting an Eggplant DAI Agent in Design mode. See Connecting an Eggplant Studio Suite for more information.
    • Download any suites you wish to edit in Eggplant DAI.
  7. Select the script to add as Steps to the test configuration. These scripts depend on the suite you selected in the previous step and you can add as many scripts as you want.
  8. Click Save. The new test configuration is saved to the list of test configurations in the Test Config tab.

 

This topic was last updated on February 10, 2021, at 07:14:14 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2021 Eggplant