My web-based Cycle tests are failing.

My web-based Cycle tests are failing.

Problem

My browser-based Cycle Features are failing.

Solution

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:

Chromedriver

InternetExplorerDriver

MicrosoftEdgeDriver

 

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

    • 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 ...
    • Common Cycle License Questions

      (This article is applicable to Cycle 2.5.0 and earlier versions) Why can't I get a Cycle license on my machine? There are a few possible blockers to your local Cycle client being able to connect to the license server and check out your license. ...
    • “Unexpected Response from the license server. Status code 590...” while logging into Cycle

      (This article is applicable to Cycle 2.5.0 and earlier versions) Problem  I receive the error: "Unexpected Response from the license server. Status code 590..." while trying to log into Cycle. Solution A status code 590 occurs when Cycle is unable to ...
    • Cycle does not include a step to add data to the OS Clipboard

      Problem Cycle has steps that copy, assign to variable, and clear OS clipboard contents but does not contain any steps to copy data to the OS clipboard. Cycle can enter values into the focus application but that is done character by character. For ...
    • Record Actions is not producing any Steps

      Problem When trying to use the Record Actions function of Cycle on Windows 10, no script is generated once the recording session ends. Solution Update to the latest version of Cycle. As of Cycle version 2.7, Cycle's recording functionality has been ...