Action logic editor provides capability to build automation logic in the Action, which could include user interactions or verification on test application, making database calls, reading a file or invoking/verifying API calls etc. ACCELQ's Codeless Logic Editor provides tools necessary to build this logic without writing code.
Action logic is comprised of a set of Statements. A statement may be created for clicking a button on your application, verifying the title of your application page, connect to a database or to loop on certain logic multiple times. Every line in the action logic is a statement.
Creating statements for UI interaction
Logic to interact or verify fields on a Web page can be easily created from associated Views. In the Action logic editor, open the View panel by clicking on the “Views” tab.
When you hover on the View canvas, ACCELQ highlights different element boundaries on the screen. Simply right-click on any of these elements to view the operation available for that element. By default, ACCELQ pre-selects one of the common operations available for the given element. You can also perform a free-form search in the context menu and select desired command.
Once you select required command, control is passed back to the Logic Editor in the top section with a statement now displayed corresponding to this command. Depending on the operation selected, you may be required to provide additional information. For example, when you are typing text in a field, you might need to provide the input text to type in the field.
Note: If you selected a command on a field which is not present in the Element Repository, you will be prompted to name and save the element as part of the command statement. This will store the element in the Repository for the Context (to which the current Action belongs) and can be used in future without defining it again.
Note: If you are working with a long form with multiple fields and need to create logic to interact or verify fields, you can quickly generate statements using the Bulk Statement facility.
Comments
0 comments
Article is closed for comments.