Returns the id of the current tab. This function can be used on any List or Print page events.
Syntax
getCurrentTabId()
Arguments
No arguments.
Return value
Returns the id of the current tab.
Example
You can hide the Delete button on the "main" tab using this code:
if(pageObject.getCurrentTabId() == "main")
{
pageObject.hideItem(new XVar("delete"));
}
return null;
See also:
•JavaScript API: RunnerPage object > setCurrentTabId(tabId)
•JavaScript API: RunnerPage object