Close browser

With the XBrowser Engine 3.0, you can close tabs that you opened.

To do so, use the Module CloseBrowser.

This Module is part of the Standard subset. You can find it under Standard modules->TBox XEngines->Html.

This example shows how to close a browser tab.

This browser tab has the caption Tricentis Vehicle Insurance. Instead of typing out the entire caption, you use a wildcard.

Close browser tab

Since you only want to close the tab in Chrome, you create the test configuration parameter Browser with the value Chrome for your TestCase.

Specify in which browser you want to close the tab