Alert (message). Opens a modal message box displaying the specified message.
LogLine (text, severity, Id, category). Adds an entry to the Microsoft Windows event log (which you can view using the Event Viewer), or for Chrome, adds an entry in the Chrome Console. Use this method to help you analyze the performance of your support set or debug its functionality.
For more information on using the Event Viewer to debug your toolkit support set, see Using the Microsoft Windows Event Log.
Wait (milliseconds). Suspends execution for the number of specified milliseconds.
The most commonly used functions from common.js are:
The common.js file also contains variables with preset values that you can use as constants in your code.
The common.js file is located in the <Extensibility Accelerator installation folder>\bin\PackagesToLoad folder and the <UFT One installation folder>\dat\Extensibility\Web\Toolkits folder.
For more information on these methods and constants, see the API Reference.