10.2
Starting the Browser

Our first step is to examine the "Setup" node:

Figure 10.3:  The Setup Node

In the "Setup" node you'll see two child Sequence nodes:

Let's also have a brief look inside the Sequence: Start browser if necessary:

Figure 10.4:  The Sequence to start the Browser

First you see a "Wait for client" node to double-check whether the client is already running. Only if it is not, it will be started.

The browser start itself happens in four steps:

  1. Start web engine - starts the browser process to allow configuration.
  2. Perform browser settings - configure the browser (e.g. cache, cookies, proxy settings, ...).
  3. Open browser window - open the browser window and wait for the web page to be loaded.
  4. Install CustomWebResolver - configure component mapping, so QF-Test will recognize the functionality of components (text field, button, data table etc). Section Web Component Recognition explains the reasons why this is advisable, along with information on the configuration.

These four steps are automatically generated when you use the Quickstart Wizard, that will be explained in the next tutorial chapter 11.

At this point, we're ready to actually start the Browser:

During execution QF-Test marks the active step by use of an arrow pointer "->".

When the setup sequence is completed, the browser with the "CarConfigurator" demo page is going appear on the screen.

Figure 10.5:  The CarConfigurator web demo page