How To Disable Chrome Auto-Update for Test Environments

How To Disable Chrome Auto-Update for Test Environments

Problem

Google Chrome will auto-update when a new version becomes available.  When this occurs, the Chrome Webdriver being used by Cycle will no longer match the version of Chrome and may become unstable.

Solution

To prevent unexpected issues, Chrome auto-updates should be disabled in test environments.  

Step 1: Disable Google Update service

Open the Windows System Configuration application (msconfig.exe).

Within the Services tab, find and uncheck Google Update Service (gupdatem), then select Apply.

mceclip0.png

Step 2: Disable Scheduled Google Updates

Open Task Scheduler, under Active Tasks, double click the task GoogleUpdateTaskMachineUA

On this page, disable both GoogleUpdateTaskMachineCore and GoogleUpdateTaskMachineUA.

 mceclip1.png

Note: Keeping Chrome up to date can be important for system security.  Once the newest release of Chrome has been confirmed to be stable with Cycle, Chrome, and the ChromeDriver for Cycle should be updated.

Instructions on updating ChromeDriver can be found here:

Update your ChromeDriver

    • 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 ...
    • Where can I learn how to do a Group Test?

      As a Tryon Employee you have access to the advanced Cycle modules on our eLearning platform. You can access these by logging into the Cycle User Portal and using the menu item for HELP > ELEARNING. The training module that covers Group Tests, is ...
    • How To Update Jira Statuses With Jenkins Pipeline In Cycle Appliance

      The Cycle Appliance provides a platform that facilitates continuous testing and continuous integration through cloud-based infrastructure running Jenkins in Azure. A key aspect of continuous testing and continuous integration is giving your ...
    • How to Update Cycle

        New versions of Cycle are released regularly and can include new features, bug fixes, performance, design, and security improvements. Updating Cycle is similar to installing it for the first time, and as long as you have saved your work you will be ...