My web-based Cycle tests are failing.

My web-based Cycle tests are failing.


My browser-based Cycle Features are failing.


Check that the following common mistakes are not causing your failures:

1. Opening the browser first

Any browser-based Steps in Cycle should be preceded in their Scenario with:

I open "<BROWSER_NAME>" web browser

2. Updates to the browser and webdriver

New versions of browsers and webdrivers are released periodically, and updating them may resolve web testing issues.


Google Chrome

Chrome updates itself automatically without need for user interaction. This is enforced, and cannot be switched off. However in some cases a new version of Chrome will break existing web-steps due to a need for a corresponding update to your Chromedriver (see instructions below).

To check if a new version of Chrome has recently been released, you can go to Google's Chrome Release Blog.


Internet Explorer

Internet Explorer updates are done through the Windows Update service.

You can check your Internet Explorer version by going to:

  • Settings Gear > About Internet Explorer.


Updating your webdriver in Cycle

Any time you manually update your browser, or Chrome automatically updates, it may be necessary to update Cycle's driver for that browser as well.

The latest versions for Chromedriver, IEDriver and MicrosoftWebDriver executables are available from Chromium, Selenium, and Microsoft respectively:





3. Some elements in the webpage have changed and are no longer valid

It is possible that the elements your Scenarios are trying to identify in the web page have changed in some way.

If the steps that are failing have to do with seeing or not seeing a specific element on the page, you may need to update those steps to use more flexible xpaths


    • Related Articles

    • How to use Web API steps

      Web API steps introduced in Cycle 2.5 can be used to send HTTP requests to exposed web API endpoints. The Cycle Web API steps support POST and GET request methods using the JSON data format. Cycle also includes steps for handling HTTP responses ...
    • How to make better xpaths for web tests.

      Problem My web-based steps in Cycle are not finding the elements I want them to, or finding the wrong elements and giving me false-positives. Solution When possible, it is best to define elements to interact with on a web page by a static value that ...
    • How to make better Cycle tests with Backgrounds and After Scenarios.

      Problem Cycle Features can often require set-ups before a system is in the correct state to begin the test or cleanup after having run to return everything to a clean state. Solution Cycle includes the ability to use two special types of Scenarios ...
    • My SSH terminal connections are failing in Cycle with error adding to known hosts file.

      Problem My SSH terminal connections are failing in Cycle with error adding to known hosts file. Solution SSH terminal connections use a known_hosts file stored in the user’s home directory to store server information when you establish an SSH ...
    • How to use Scenario tag filters

      Cycle 2.5 introduces the ability to filter tags during Feature and Playlist execution. This allows the Cycle user more control over which Scenarios within a Feature or Playlist are executed while also allowing more flexibility when assigning tags to ...