Activates/shows the n-th tab. The tab index is zero-based.
Syntax
activate(n)
Arguments
n
a zero-based index of the tab to be activated.
Return value
No return value.
Example
Activate the third tab in the first tab group.
var tabs = pageObj.getTabs(0);
tabs.activate(2);
See also:
•RunnerPage object: showField()
•RunnerPage class: showField()