User Extensions provide an ability to extend the ACCELQ Core with complex and often legacy or domain specific test validation capabilities. ACCELQ logic editor already provides hundreds of commands out-of-the-box, to perform various automated test interactions and validations. Extensions provide a seamless approach to extending this library of commands to be used in logic editor.
This feature comes in handy when you have existing business logic available in java source files and would like to bring it into ACCELQ readily. Sometimes, in your test logic, you may also have to interact with external systems through their own proprietary API. In such cases, you can build the logic in a user library (in Java) and import for usage in ACCELQ.
User Extensions are simple Java files with ACCELQ annotations
User Extension is developed using standard Java programming language, with no restrictions. ACCELQ requires the developer to use a set of annotations in the Java source file, so that the extension commands are represented appropriately in the logic editor.
Complexity and the logic in the java source code is abstracted from the end-user in the Action Logic Editor. Extension commands are displayed just like a standard ACCELQ command for an end-user.
Importing a User Extension
To add a User Extension, navigate to Resources > User Extensions. Point to the Java source file that you would like to import. ACCELQ parses the source file and verifies if the annotations are appropriately inserted.
Note: If you need to upload a dependency jar file as part of a user library, please contact Customer Support to facilitate the upload.