Using Methods from MicAPI

MicAPI contains several sets of methods that you can use in the custom support classes to provide the following types of functionality:

  • Dispatching low-level events. These methods include MouseClick, KeyType, and postEvent. These methods are commonly used in replay methods.

  • Recording custom control operations on UFT One. These methods are commonly used in event handler methods.

  • Logging messages and errors from the support classes. These methods are used throughout the custom support class, to print log and error messages. For more information, see Logging and Debugging the Custom Support Class.

To use the methods provided in MicAPI, add an import com.mercury.ftjadin.custom.MicAPI; statement in your code. For details on these methods, see the API Reference.

See also: