Test execution issue due to Chrome driver incompatibility

Issue Summary:


Chrome browser execution issue due to driver incompatibility

 

Issue Description:


Chrome getting launched but no activity is being performed and further, the browser gets closed


Solution:


The below guidelines should be checked to perform test case execution on the Chrome browser if facing an issue related to the driver.


To run your test executions in Opkey, keep your Execution Agent online. For executions to run uninterrupted, ensure the Chrome Driver is updated on your agent and the system.  


Follow the steps below to update your execution agent with the latest Chrome Driver. 


Install the latest Chrome Driver for Windows from Here.

This has to be done manually every-time whenever there is an update in the new chrome driver version. 


Copy the link for the version you want to download. Select Windows as per your requirement. Here we are updating for Windows.


Note: Mac users execute their test cases via Spock Agent. Hence not required for Mac.

 


Paste the link in the new tab. The driver gets downloaded. 




Click the Extract button and extract the downloaded file.




Extract the file at the desired location.




Copy the downloaded file.



Now press Window + R key on your keyboard or search %Temp% in the Search bar of your screen to open the temp folder on your device.




Next, open the Local folder from the top.


Next, go to 
Drivers folder following the path given below. 

Local\CresTech\OpKey\AgentData\Drivers. 

Paste the downloaded Chrome Driver in this folder.

Go to Drivers in Agent Data of your C drive. For example, the path

C:\Users\FAREHA~1.NOU\AppData\Local\CresTech\OpKey\AgentData\Drivers and paste the file.

We have added the downloaded Chrome Driver here.


 



You can view the driver version by clicking the exe file. 


 


Following the above steps will make sure you have an updated Chrome driver to execute your test cases smoothly. 

 

You can also add the latest driver to the Opkey Execution agent as well, but it is not mandatory once it has been added to the C drive.

  

Let's see how it can be done.


Go to your Opkey Execution Agent and click on the Plugin Settings under the Tools menu. 


 


Go to the Web Version and scroll down to look for the Chrome Driver path. 


 



Click on the Value tab space and upload the latest downloaded Chrome Driver. Make sure the downloaded file is in .exe format. 


 
Click on the Save All button.  


 


The updates get saved and a message is displayed. 


 


You should follow this process, and keep these drivers updated whenever a new Chrome driver version gets released.

 


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article