×
Menu

Database (Rich Client)

In order to connect a database agent to aqua, you have to go through the following steps. First, extract the database agent zip file and open the aquaAgentDatabaseGui.exe.config.
 
Here, enter the agentCode and the aquaServiceURL.
 
          <add key="agentCode" value="yd7zhzc5bd2fiydkyu9j"/>
          <add key="aquaServiceUrl" value="http://youraquaserver/aquaAPI/aquaagentwebservice.asmx"/>
 
The rest of the config file is not necessary to connect the agent to aqua. The agent code is generated in aqua, and assigned to the agent.
 
Next, click onto Connections in the Agent Server Configuration in order to define the database.
 
 
To create new connections and to add these databases, click on the button and insert a new database.
 
 
Within the test case, you can insert a database test script. The connection has to be defined in the drop down box, the query has to be inserted, and there is an option to enter a check value. In order to use variables, place them between '&', e.g.: A variable called 'User' can be used in the query or in the expected results as '&User&'.