Cannot get a connection from the browser helper after 30 seconds. Do you want to continue waiting for the browser to load
This is one of the most common issue which automation test engineers face when using Oracle Application Testing Suite, in this article you will learn different ways to solve this issue, based on different circumstances.
Whenever we get this issue, I would suggest to perform the following checks.
1. In compatibility of OATS and installed browser versions
Go through the OATS versions and the compatible browsers, jre versions and Operating Systems and check with your OATS version and the browsers installed at your end
The case when browser version is not compatible with OATS version, It might look as below in the screenshot :
You can navigate to the above screen in FireFox by going Tools > Add-ons Menu Item.
In the above screen shot, if you observe, it says the plugin is not compatible with specific version of Firefox version.
You may have to un-install the current version of FireFox and install the one which is supported, by looking at the OATS compatible matrix.
For this use case, I had installed FireFox 31 ESR, now you can see as below:
We can see that for the respective Openscript WebDom Plugin, we have a button to enable, just click on it to get started and you should be able to take it forward from there.
The steps are similar for Internet explorer as well, please do reach out to me through comments in case of any issues, I would be more than happy to help out.
2. Could be Installation problem
Some times, though the OATS installation gets successful, the browser helpers may not have been configured properly during the OATS installation.
What we can do is
- Close Openscript IDE
- Close all browsers
- Uninstall the browser helper by navigating to your openscript installation folder, in my case it is “C:/OracleATS/openScript/” and then click on UninstallBrowserHelpers.bat file.
- Install back by clicking on InstallBrowserHelpers.bat file in the same folder
- Launch openscript again
Now if you try to record, it might allow you to launch the browser recorders properly and be able to continue with test automation and create the scripts.
3. Could be auto upgrade of Browsers
We see that everything used to work fine before and suddenly this issues starts bothering us. One of the simple reasons could be that, the Browsers were set to auto upgrade, when ever you restart your machine or laptop, it might upgrade the browser. The new version of browser could be in compatible for OATS.
One of the best things to do for this kind of situations is that, once your setup and configuration is done for OATS versions and respective browsers, make sure the auto upgrade is disabled for browsers.
4. Might have to restart the machine once
Some times, if you have installed OATS just now and trying to record the scripts, it would be good to restart the machine one time to make sure all settings are proper post installation.
5. Could be installation corruption
Few of the times, we have observed the installation has been corrupted, we may have to un-install OATS ( Oracle Application Testing Suite ) and then re-install to make it work properly.
6. Openscript might need some additional time to launch recorders
Some times, based on machine configuration and other load taken by applications running in the machine, openscript might take time to connect to the browser helpers.
What we can do is, click on the “Yes” button on the popup window and it might work some times.
In case any of the above options, did not work out, please do let me know your error details and issue details through the comments and I would be more than happy to help you out.