Script Development

Script Development

Scripting is what significantly enhances the functionality of aqua reports. With scripting you can enhance the report not only by relying on the data within aqua but by being able to add data by reading databases or files.  You also have the option to save a copy of the report in a certain network drive or to choose not to print certain elements on every event band iteration.
To execute a script on a certain event, you need to add a script function for the event of the element. You can do this by linking a script method to the “Behavior/Scripts” property. All events that the element selected throws are listed within this property. These can vary for different types of elements.
 
 
To change to the scripts view, click on .
 
Here, you can add some functionality to your report:
 
 

Example: Apply different color to areas

 
• The appearance can be modified with the event “OnPrintPage”
 
 
• The appearance can also be modified using format rules.
    • Related Articles

    • Script Development

      Scripting is what significantly enhances the functionality of aqua reports. With scripting you can enhance the report not only by relying on the data within aqua but by being able to add data by reading databases or files.  You also have the option ...
    • Automation Library (Rich Client)

      In aqua you have the option to reuse test automation scripts by using a library. That enables a user to store test scripts in a cloud and to use it in different test cases. A test script in a library can be reused in different test cases and test ...
    • PowerShell (Rich Client)

      PowerShell agent exposes several objects available for PowerShell scripts: variables – array of aqua.ProcessEngine.WebServiceProxy.VariableValue objects containing TC variables (and their values) used for execution. Name and Value are most important ...
    • Configure Automation (Rich Client)

      To automate tests with different tools you may need a third party tool. The location of these third party tools and a temporary directory for automation needs to be given to aqua. To do so, click File -> Options. Select Automation and browse for the ...
    • JMeter (Rich Client)

      First, you go into a test case and click on Automation. Here, you can add a JMeter script Note: the version number of the JMeter agent must match the version number of JMeter. Take a look at system requirements to look for supported versions. A test ...