The controller was designed to load, configure, and execute Action Based Testing (ABT) or Business Process Testing (BPT), which are classes built as command wrappers with a common Run
method in which the main flow of the Action is implemented. In this section, we will see how to implement such an action.
From the File menu, navigate to New | Function Library…, or use the Alt + Shift + N shortcut. Save the file as cls.Actions.vbs
in the C:\Automation\Lib
folder.
As mentioned before, a reusable component (action) is a class that implements the command wrapper design pattern. The following code shows the sample class Login
as a typical example for an Action within this framework:
Class [Login] ' ----------------------------------------------------- ' Reusable Action: Login ' Description: Login to the application ' ----------------------------------------------------- Public Status Public Iteration...