Additional run settings can be configured in the Run Settings section of the project. Here we can configure target environments, including remote infrastructure, or cloud providers such as Sauce Labs or Bitbar.
More on this topic will be available soon!
We can confirm the client is installed and up to date prior to execution through the status indicator at the top right of the page:
An amber indicator shows that whilst the client is running it is not up to date, this can be updated by re-running the install process, see: Scriptworks client installation
Clicking the Play button will execute the test using the desired Run Settings, in this case we have selected Firefox as our target Browser:
You will notice that the test failed! (In some situations the test may pass, but we can make it consistent later on).
Let's investigate why using the results, click on the Session Id for the Test to open more detail:
Increase the size of the results section using the resize bar and you can see the failed step:
Click on the Failed step in the table to highlight it and an automatically captured screenshot is shown in the right hand pane:
Click on the screenshot image to magnify it:
Here we can see that the auto-suggestion list is rendering whilst the test is running, and the error message implies that the element could not be accessed or scrolled into view at that point.
ERROR: Element <input name="btnK" type="submit"> could not be scrolled into view
We can introduce the concept of a Synchronisation step to wait for the Element to become visible before continuing the test, a short video will show the steps for remedying our failed test:
Add a new Synchronisation step waiting for the Element to be Visible.
Re-run the test
So our final test looks like this, complete with Validation and Synchronisation: