_util Object

The _util object provides global methods that you can call in the Web Add-in Extensibility JavaScript functions that you implement to support your custom controls.

Public Methods

 NameDescription
Public MethodAlert Opens a modal message box displaying the specified message.  
Public MethodFireEvent Fires an event on the specified element.  
Public MethodGetBrowserTypeReturns the name of the browser that is currently running the control.  
Public MethodGetBrowserVersionReturns the version number of the browser that is currently running the control.  
Public MethodLogLine Adds an entry to the Microsoft Windows event log, which you can view using the Event Viewer.  
Public MethodRecord Adds a step to the test and adds a test object to the object repository if it is not already there.  
Public MethodRegisterForEvent Registers to listen for a specific event on a specific Web element.  
Public MethodReportAdds information about the results of a step to the run results.  
Public MethodReportEvent Adds information about the results of a step to the run results and to the ALM Last Run Report.  
Public MethodWait Suspends execution for a specified interval.