Configure the base state of the test application.
For example:
'Visual Basic .NET
Dim baseState = New BrowserBaseState(BrowserType.InternetExplorer, "www.borland.com")
baseState.Execute()
//C#
BrowserBaseState baseState = new BrowserBaseState(BrowserType.InternetExplorer, "www.borland.com");
baseState.Execute();
Note: The base state makes sure that the application that you want to test is running and in the foreground. This ensures that tests
will always start with the same application state, which makes them more reliable. In order to use the base state, it is necessary
to specify what the main window looks like and how to launch the application that you want to test if it is not running. Creating
a base state is optional. However, it is recommended as a best practice.