DevOps Automation

DevOps Automation

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

How to resolve playback Failures with Google Chrome in Test Workbench

By Suhas Kashyap posted Wed December 08, 2021 05:50 PM

  

 

Test Workbench ​ 9.1.1-9.2 supports Google Chrome up to version 62 (with future fix packs). However, there have been users using higher versions of Google Chrome successfully after a driver update. ​​


There is a chance, you might encounter errors like “The selected Browser may not be installed on your machine” when you playback with the latest versions of the browser. This blog aims to identify the cause of these errors and provides resolution by outlining a few checks that are mandatory. 
 
Symptoms 
On Google Chrome, the first web page is displayed but no events are triggered.  ​
.

Recording of the script is successful. However, playback throws up error messages as shown in the following screenshot. ​

Diagnosing the problem 

Chromedriver.exe should be running when you launch a test using Chrome as a browser. 
Note: The equivalent of the above in Mozilla Firefox browser (64 bit machine) is          x64_geckodriver.exe. 

 
Pre-check Factors 
 

  • Test Workbench ​ works only when Google Chrome is installed with Administrator privileges at the default location.                        ​
  • When the browser starts to record a test, the browser prompts the user with a dialog box to disable the developer mode extensions. You must click 'Cancel' to proceed with the recording.​ 


Resolution 
There are two options here. 
Option 1: Downgrade Google Chrome to version 62, which is officially supported. The supported versions can be obtained from the product compatibility list available online. 

(OR) 

Option 2: Download the latest version of Google Chrome driver. 
You can download the driver from the following location:  
https://sites.google.com/a/chromium.org/chromedriver/downloads 
 
Here are the steps to update the driver version. We have the driver version 2.34 for Google Chrome 63 as an example. ​


1.Unzip the downloaded file.
​2.Openthefolder:C:\Program Files\IBM\IBMIMShared\plugins\com.ibm.rational.test.rtw.webgui.selenium_1.5.0.v20170913_1606

Note: The version could be different depending on Test Workbench  Web UI version. 
3. Rename the chromedriver.exe, which is already in this path, to a different name. For example, – chromedriver-bckup.exe 
4. Copy the extracted and newly downloaded chromedriver_2.34.exe into this directory. 
5. Rename the copied and pasted chromedriver_2.34.exe to chromedriver.exe. 
6. Restart Test Workbench Web UI Tester.  


​Related Links: 

  • Playback for Web UI actions in Test Workbench ​ is unable to launch a URL or open the browser when Mozilla Firefox is used 

          http://www-01.ibm.com/support/docview.wss?uid=swg21677071 
 

  • Playback of Web UI test fails on Internet Explorer ​

          http://www-01.ibm.com/support/docview.wss?uid=swg21975892 

  Jose Peter
​  Support Specialist

0 comments
2 views

Permalink