Tip #34: An exciting new feature in v22.1 is application methods. So, what are application methods?
Application methods are automations that are located within the application container. Application methods only have access to the controls that are within the application container. Using application methods is a new best practice for interacting with applications.
There are visibility types for application methods:
Private application methods can be called by other application methods within the application container but can not be called by automations outside of the application container. Use private methods for internal processes that are required by public application methods.
Public application methods can be used by an automation outside of the application container. These methods can provide standard functions within the application such as Starting, Stopping, Login, and Search. Public application methods are available on the Select action dialog when you drag the application into an automation.
Application methods are Private by default. To make an application method Public, from the application designer select the application method and then change the Visibility type to Public.
Note: Click here to see the latest Tip of the Day and a list of all prior tips.