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 the logic editor.
User Extensions come 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 it for usage in ACCELQ.
User Extensions are simple Java files with ACCELQ annotations
User Extension is developed using standard Java programming language, with no specific restrictions. ACCELQ requires the developer to use a set of annotations in the Java source code, so that the extension commands are represented appropriately in the logic editor.
Here is an article with the annotations described.
Programming logic in the Java code is completely 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 new 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.
Tenant Pool
When a User Extension is uploaded by a project, it is integrated into the central Tenant pool, making it accessible for use by other projects within your Tenant. To use an extension from this pool, navigate to the "Tenant Pool" tab, right-click on the desired Extension, and select "Assign to Current Project". It's important to note that the project that initially uploaded the Extension retains responsibility for its maintenance.
Note: If you need to upload a dependency jar file as part of a user library, please contact Customer Support to facilitate the upload.
Comments
0 comments
Article is closed for comments.