Object Model Reference for GUI Testing > Utility Objects > Utility Statements > UnregisterUserFunc Statement

UnregisterUserFunc Statement

Description

Instructs UFT to stop using the current registration of the method. If the unregistered method is a defined UFT method for the object, the functionality of the method returns to the standard UFT functionality.

Note: If you register a function within a reusable action, it is recommended that you unregister the method at the end of the action.

For more details on unregistering user-defined functions, see the HPE Unified Functional Testing User Guide.

Syntax

UnRegisterUserFuncTOClass, MethodName

Argument

Type

Description

TOClass

String

The test object class for which you want to unregister the method.

MethodName

String

The method you want to unregister.

 

See also: