6.3 Configuring Automation Agents

An Automation Agent integrate a qTest project with one automation frameworks. It gets schedules from qTest and executes automation scripts in the configured directory. After the execution is done, the agent collects Test Execution result and Test Step results and posts to qTest.

»Installing Framework plugins

»Creating an Automation Agent

»Editing an Automation Agent

»Viewing execution log of an Automation Agent

Installing Framework plugins

There is a plugin for each supported framework. You will need to install the plugin before you create an agent.

From the Host Configuration screen, you can see a list of supported automation frameworks and the statuses indicate if their corresponding plugins have been downloaded.

Select your desired plugin and click on Download icon to download and install it.

After the plugin has been installed, its status changed to Installed. You can click on Delete icon to remove the plugin. After it is removed, its status is changed to Downloaded.

Creating an Automation Agent

After the plugin has been installed, you are ready to create the agent. Click on + Add button.

The Agent Configuration pop-up will appear. The pop-up may vary according to the selected framework. Please see following instructions to configure your agents:

»Configuring an Agent with TestNG

»Configuring an Agent with JUnit

»Configuring an Agent with Cucumber for Java

»Configuring an Agent with JBehave for Java

Editing an Automation Agent

To modify an agent's configurations, click on its Edit icon. The Agent Configuration pop-up will appear. Click on Save button on the pop-up after you have done modifying configurations.

To remove an agent, click on its Delete icon.

Click on the icon in Active column to change an agent's status from active to inactive, and vice versa.

Viewing execution log of an Automation Agent

You can view an agent's logs of all executions within a day. At the end of the day, logs within this day will be wiped out.

Select your desired agent and click on its Log icon.

In the pop-up that appears, you can view logs in three tabs:

  • Console Log: Any logs of your coding project while it was running.
  • Console Error Log: Any error logs of your coding project while it was running.
  • Agent Log: Logs of the agent while it was executing your coding project.