Using Aida as a Test Suite

Aida is a test suite based on robotframework and selenium that allows you to perform almost any type of test on any environment you want. To test with Aida you must first create a template that can then be run by different users and with different values from the Aida testing engine.

Once logged in to the system, to go to configure a test you need to use the Templates Manager link from the main menu:

Aida login page

1-Main Templates

Once you have selected the step to be created for creating the template, you will be presented with the form containing the list of data present in that session, simply go to select the ADD .. button to add a new record or select a value existing to be able to manage it.

Aida Main Template page
Aida Main Template page
  • Description: Template name that is being created
  • Preconditions: The preconditions of this Project. You can reference other templates here
  • Steps: The required steps to execute the template
  • Expected Result: The expected result after executing the template
  • Note: Additional information regarding the template you are going to create
  • Active: Activate or Deactivate the template (Deactivated templates are not able to run)

Warning

  • API Owner: User to the interaction rights will be assigned through API to the specific table. Only the selected user can manage API calls to that specific data

The “Clone this template” option allows you to make an exact copy of the entire structure of the selected template including variables, values, keys and settings. The new template will be shown in the list of system templates with the name of the original followed by _cloned.

Note

It is suggested, once the clone of an existing template has been made, to select the cloned template and change the name so that it is immediately understandable by the whole team.

2-Test Cases

The page dedicated to the creation / modification of the tet cases allows authirized users to create and associate all the test cases that you want to include to a main template.

Aida test cases

By selecting an existing test case it’s possible to modify the data (Template id, description of the test case and API owner), while using the “ADD 2-TEST CASE” button it will be possible to insert a new test case.

3-Test Variables

The variable management mask allows to associate to the main template key / value associations that can be managed by the main test execution mask by the tester in charge

Aida test variables

Note

These settings influence the display of the frontend side template and manage the possibility of inserting and modifying the values in execution of the test.

If you need to insert data that can not be modified during the test execution phase, these should not be inserted in this form.

Aida test variables

The template for managing / inserting the variables provides for selecting the main template to which the data is to be linked, the name of the variable and any value (it is also possible to leave it null)

Aida test variables

4-Test Settings

The settings management mask allows to associate to the main template almost all types of manageable libraries (Library, Documentation, Test Setup, Test Teardown, Suite Setup, Suite teardown, etc.)

Aida test settings

Warning

When associating new libraries with your template make sure to enter the correct value in the “Value” field once Type Lybrary is specified. The add / edit mask shows at the bottom the list of libraries currently available for your work environment. An incorrect association of the value of a library can lead to errors in the execution of the test.

Aida test settings

To add a new library just go to select the button on the upper right “ADD 4-TEST SETTING” and fill in the form with the data relative to the name of the main template, type and value of the library and eventual grouping of values if necessary

Aida test settings

Note

The grouping function allows you to aggregate multiple values to a single type of data. If, for example, you want to create a Library-like setting with both “RequestsLibrary” and “Collections” values, simply add the line twice in the settings to indicate the same group.

Aida test settings

5-Test Cases Main Chain

In this area it’s possible to connect test cases, variables and related values to each other. Unlike the Test Variables area, in this case the name / value association for the variable remains inside the template and is executed during the run of the test without being able to be modified by the tester at frontend.

Aida test settings

Note

In this form it is possible to implement also for loops using the key ded: FOR as follows:

_images/for_set.png

The result is a directive within the testcase that will be executed at each test run.

_images/for_black.png

It is possible to add a new association or modify an existing one simply by setting the parameters related to main template, associated test case, key / value and eventual grouping in add or edit mask.

Aida test settings