SwitchTab

You use the SwitchTab keyword to switch between browser tabs.

Signature

The SwitchTab keyword supports the following signature:

SwitchTab(id/WindowName,URL/NULL)

Desktop Examples

The following table describes how to use the SwitchTab keyword in desktop applications to switch between browser tabs.

Target Object Inputs Closing Action Comments

N/A

Account;@URL;IPH3

N/A

Switches to the new tab with the specified URL.

N/A

1;NULL;IPH3

N/A

Focuses and navigates to the first tab.

N/A

Account;NULL;IPH3

N/A

Focuses and navigates to the Account tab.

Mobile Examples

The following table describes how to use the Wait keyword in mobile applications.

Target Object Inputs Closing Action Comments

N/A

Account;@URL;IPH3

N/A

Switches to the new tab with the specified URL.

N/A

1;NULL;IPH3

N/A

Focuses and navigates to the first tab.

N/A

Account;NULL;IPH3

N/A

Focuses and navigates to the Account tab.