Training the AI

The following details how to train the AI for required inputs such as the “Username” and “Password” fields for the login page.

This section documents the process when using AI 2.0 (AIQ 4.10.x and earlier).

  1. Execution Management shows that the Blueprint had stopped running after entering the URL and clicking all the elements that are found on the page. The two resulting page states are displayed.

  2. Click the first page state to expand it and see the fields where input values are required.

  3. Click the ‘Do nothing’ dropdown under the Variable column to see the list of input values that are required in the field.

  4. Update the required input values, and then drag and drop them into the proper execution order.

  5. Once all the values are set, click Add Action to Start to add the custom actions to the start of the queue and run the Blueprint again.

  6. Click the Play button under the Control Panel to start the Blueprint execution again. This how the you can train the AI with required actions in different page states.

  7. Continue training the AI by configuring additional actions when areas of the application are reached where forms exist, or specific sequences of events are required us the application. As the Blueprint executes these actions, AI will reach new areas of the application where it can continue learning the application independently.

  8. To save the Blueprint settings and newly trained actions for future usage, select File > Export Template.

  9. Once you have created a new template, you can use this as the basis for your next Blueprint using File> New From Template.

For more information about working with Blueprints and configuring AI within AIQ, see AIQ AI Implementation Strategy.