Ranorex + chrome 33=popup: disable developer mode extensions
Ranorex + chrome 33=popup: disable developer mode extensions
Hello,
I have ranorex 4.1.5 and chrome 33
Each time browser starts - popup rises (see screen shot)
Can Ranorex team somehow resolve this issue?
P.S.
It looks like google has implemented this cool feature... (in order to resolve some security issues)
I have ranorex 4.1.5 and chrome 33
Each time browser starts - popup rises (see screen shot)
Can Ranorex team somehow resolve this issue?
P.S.
It looks like google has implemented this cool feature... (in order to resolve some security issues)
You do not have the required permissions to view the files attached to this post.
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Just go into the extensions page in Chrome and turn on the "Developer Mode" checkbox.
This is a Chrome issue, not a Ranorex issue. And, since you are developing tests with Ranorex, the addon should be run in Developer Mode anyway.
This is a Chrome issue, not a Ranorex issue. And, since you are developing tests with Ranorex, the addon should be run in Developer Mode anyway.
Shortcuts usually aren't...
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Enabling developer mode doesn't resolve the issue.
Seems that if extension is not present in the chrome web store it is marked as not secure.
Seems that if extension is not present in the chrome web store it is marked as not secure.
Re: Ranorex + chrome 33=popup: disable developer mode extensions
After further testing and research, mgrybyk is correct, "Developer Mode" doesn't do anything. And the popup blocks actions to any objects underneath it.
Is Ranorex going to put the Chrome extension in the Chrome Web Store? Even if it is hidden that should allow it to continue working.
Is Ranorex going to put the Chrome extension in the Chrome Web Store? Even if it is hidden that should allow it to continue working.
Shortcuts usually aren't...
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Hi all,
you could enable that Chrome remains running in background (which is the default setting in Chrome anyway). That setting can be found in Chrome settings by typing "background" in the search box there. Then ensure that "Continue running background apps when Google Chrome is closed" is checked. With that setting enabled the dialog will appear only once and not at each chrome startup (unless you reboot your machine).
Alternatively add a language-independent button click to the module where you do start your chrome (execute your "Open Browser" action), something like:
I recommend to activate "continue on fail" for that mouse click action since other tabs might be opened and the dialog is not necessarily (always) there.
Regards,
sYbb
you could enable that Chrome remains running in background (which is the default setting in Chrome anyway). That setting can be found in Chrome settings by typing "background" in the search box there. Then ensure that "Continue running background apps when Google Chrome is closed" is checked. With that setting enabled the dialog will appear only once and not at each chrome startup (unless you reboot your machine).
Alternatively add a language-independent button click to the module where you do start your chrome (execute your "Open Browser" action), something like:
Code: Select all
/form[@processname='chrome']/container/container[2]/element/button[2]
Regards,
sYbb
Re: Ranorex + chrome 33=popup: disable developer mode extensions
This is not a reasonable workaround.
1. I have to work with "Continue running background apps when Google Chrome is closed" disabled. What should I do in such case?
2. Anyway I have to revert env each time I run test and have to have "clean" session for each test.
3. Why should I spent time and resources in order to design some ridiculous workarounds for this? Next time chrome developers will simply disable such extensions without any notifications. I'd be completely blocked in such case!!
Please provide some solution,
Thanks.
1. I have to work with "Continue running background apps when Google Chrome is closed" disabled. What should I do in such case?
2. Anyway I have to revert env each time I run test and have to have "clean" session for each test.
3. Why should I spent time and resources in order to design some ridiculous workarounds for this? Next time chrome developers will simply disable such extensions without any notifications. I'd be completely blocked in such case!!
Please provide some solution,
Thanks.
Re: Ranorex + chrome 33=popup: disable developer mode extensions
I'm having the same problem. I searched Google for this:
How do you disable the “Disable developer mode extensions” popup warning?
and found some suggestions. It is a new "feature" in Chrome 33, but looks like you can get rid of it if you upgrade Chrome to a later dev version.
How do you disable the “Disable developer mode extensions” popup warning?
and found some suggestions. It is a new "feature" in Chrome 33, but looks like you can get rid of it if you upgrade Chrome to a later dev version.
Re: Ranorex + chrome 33=popup: disable developer mode extensions
The issue is that to ACCURATELY test what our customers are using, we have to test with Chrome's public release, not DEV, not BETA.
Ranorex needs to put the extension in the web store in order to really and truly get past this issue. Until that happens, these workarounds are just that.
The unfortunate thing here is that we still don't have an answer in this thread from the Ranorex folks about how they are going to address the issue. Without at least something saying "We're heading this way..." all of us are stuck.
So, for the Ranorex guys --- What is your proposed solution, and when can we expect it?
My company may feel that we need to go a different direction with automation if we can't get the answers to these questions quickly.
Ranorex needs to put the extension in the web store in order to really and truly get past this issue. Until that happens, these workarounds are just that.
The unfortunate thing here is that we still don't have an answer in this thread from the Ranorex folks about how they are going to address the issue. Without at least something saying "We're heading this way..." all of us are stuck.
So, for the Ranorex guys --- What is your proposed solution, and when can we expect it?
My company may feel that we need to go a different direction with automation if we can't get the answers to these questions quickly.
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Thank you for all your posts so far!
As already mentioned in this thread, since Chrome 33 the “dev mode extension” dialog is always shown at Chrome startup and cannot be disabled (on purpose from Google). When starting with development of our Ranorex Chrome Extension, we did check the official way putting it in the web store. Unfortunately this is not as easy as it might seem.
The Ranorex Chrome Extension contains some binary content which does not comply with the Chrome web store guidelines. As a result each possible upload of the Extension will be rejected by Google. Therefore the decision was to use the Extension in “developer mode” which has been fine so far, but since Chrome 33 no longer seems to be a suitable solution.
Meanwhile, we are very sorry not being able to provide you with any more than the workarounds already mentioned in this thread. A clear step-by-step instruction how to modify your “Open Browser” action and making it stable against this dialog will follow.
Thank you for your understanding.
Kind regards,
Alex
Ranorex Team
As already mentioned in this thread, since Chrome 33 the “dev mode extension” dialog is always shown at Chrome startup and cannot be disabled (on purpose from Google). When starting with development of our Ranorex Chrome Extension, we did check the official way putting it in the web store. Unfortunately this is not as easy as it might seem.
The Ranorex Chrome Extension contains some binary content which does not comply with the Chrome web store guidelines. As a result each possible upload of the Extension will be rejected by Google. Therefore the decision was to use the Extension in “developer mode” which has been fine so far, but since Chrome 33 no longer seems to be a suitable solution.
Be assured that we are trying to find a solution that best suits our customers - that would be a situation like with Chrome 32 and before where you would not get that annoying dialog at all.krstcs wrote:Without at least something saying "We're heading this way..." all of us are stuck.
Meanwhile, we are very sorry not being able to provide you with any more than the workarounds already mentioned in this thread. A clear step-by-step instruction how to modify your “Open Browser” action and making it stable against this dialog will follow.
Thank you for your understanding.
Kind regards,
Alex
Ranorex Team
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Dear Ranorex team,
currently there is no solution but you are working on it, right?
currently there is no solution but you are working on it, right?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex + chrome 33=popup: disable developer mode extensions
In short: Yes.mgrybyk wrote:currently there is no solution but you are working on it, right?
Currently, we can only provide workarounds

Regards,
Alex
Ranorex
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Hi all,
As Alex wrote, at the moment we can only provide you with some workarounds. I would like to list those workarounds within this post.
The first workaround is to enable the setting “Continue running background apps when Google Chrome is closed” in the settings page of Google Chrome: This setting will keep the Google Chrome browser opened in the background (until you logout), and you only have to cancel the message box once.
Since workaround one might not be an option for you, the second workaround is to add a User Code action to the recording containing your "Open Browser" action. The action closes the dialog each time Chrome is started:
[editet]
[editet]
Note that the above user code method has to be added to each recording which starts Google Chrome via the "Open Browser" action.
Hope this helps,
Regards,
Bernhard
As Alex wrote, at the moment we can only provide you with some workarounds. I would like to list those workarounds within this post.
The first workaround is to enable the setting “Continue running background apps when Google Chrome is closed” in the settings page of Google Chrome: This setting will keep the Google Chrome browser opened in the background (until you logout), and you only have to cancel the message box once.
Since workaround one might not be an option for you, the second workaround is to add a User Code action to the recording containing your "Open Browser" action. The action closes the dialog each time Chrome is started:
[editet]
public void CloseDeveloperModeExtensionsMessage() { try { Duration timeout = 10000; //10s //edited Button closeButton = Host.Local.FindSingle<Button>("/form[@processname='chrome']/container/container[2]/element/button[2]", timeout); closeButton.Click(); } catch (ElementNotFoundException enfe) { // do nothing since dialog might not be there, or this method might be called for other browsers } }When using this module within a cross-browser test, you can enhance above code with an if-condition to only check for the dialog if Chrome is used, but not for the other browsers (which saves time):
[editet]
public void CloseDeveloperModeExtensionsMessage() { if (varBrowserName == "Chrome") { try { Duration timeout = 10000; //10s //edited Button closeButton = Host.Local.FindSingle<Button>("/form[@processname='chrome']/container/container[2]/element/button[2]", timeout); closeButton.Click(); } catch (ElementNotFoundException enfe) { // do nothing since dialog might not be there, or this method might be called for other browsers } } }The recording where your "open browser" action is located could then look like this:
Note that the above user code method has to be added to each recording which starts Google Chrome via the "Open Browser" action.
Hope this helps,
Regards,
Bernhard
You do not have the required permissions to view the files attached to this post.
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Thank you Bernhard.
Unfortunately, the first workaround does not help as it assumes that the systems are not being restarted (our VMs get restarted regularly).
The second only works some of the time for us. When running on local systems, it works, but on the VMs it doesn't find the button consistently (timeout is set at 30s and there is a wait between browser start and attempting to find the dialog).
So, we still cannot test with Chrome 33.
As an alternative, would it be possible to make the Chrome extension work in Opera as well? It runs the same rendering engine (Chromium) but doesn't have the limitations. This would at least allow those of us willing to use a different browser the ability to test with Chromium on a stable consumer browser.
Unfortunately, the first workaround does not help as it assumes that the systems are not being restarted (our VMs get restarted regularly).
The second only works some of the time for us. When running on local systems, it works, but on the VMs it doesn't find the button consistently (timeout is set at 30s and there is a wait between browser start and attempting to find the dialog).
So, we still cannot test with Chrome 33.
As an alternative, would it be possible to make the Chrome extension work in Opera as well? It runs the same rendering engine (Chromium) but doesn't have the limitations. This would at least allow those of us willing to use a different browser the ability to test with Chromium on a stable consumer browser.
Shortcuts usually aren't...
Re: Ranorex + chrome 33=popup: disable developer mode extensions
This workaround works more or less ok for us with ESX images.krstcs wrote: The second only works some of the time for us. When running on local systems, it works, but on the VMs it doesn't find the button consistently (timeout is set at 30s and there is a wait between browser start and attempting to find the dialog).
Chrome uses customized version of Chromium. Some defects can be found with chrome but not with chromium.krstcs wrote: As an alternative, would it be possible to make the Chrome extension work in Opera as well? It runs the same rendering engine (Chromium) but doesn't have the limitations. This would at least allow those of us willing to use a different browser the ability to test with Chromium on a stable consumer browser.
But if you don't care - you may simply download chromium or srware iron browser and use ranorex plugin there. It works fine (we don't support Opera, so I don't know anything about it)
Anyway, thanks for help Ranorex Team. We'll wait for some better solutions also.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex + chrome 33=popup: disable developer mode extensions
Hi all,
Thank you for your feedback.
I have changed the path and replaced the "CloseApplication" action by a "Click" action. In my tests it worked also in the Virtual machine.
Please find the code snippet below:
Please let me know if this doesn't work for you.
Thank you!
Regards,
Bernhard
Thank you for your feedback.
In some cases it could be that the title property of the dialog is not empty. I think in your case the graphics acceleration is disabled on the virtual machine and that's the reason why the path didn't work.The second only works some of the time for us. When running on local systems, it works, but on the VMs it doesn't find the button consistently (timeout is set at 30s and there is a wait between browser start and attempting to find the dialog).
I have changed the path and replaced the "CloseApplication" action by a "Click" action. In my tests it worked also in the Virtual machine.
Please find the code snippet below:
public void CloseDeveloperModeExtensionsMessage() { if(varBrowserName.Equals("Chrome")) { try { Duration timeout = 10000; //10s Button cancelButton = Host.Local.FindSingle<Button>(@"/form[@processname='chrome']/container/container[2]/element/button[2]", timeout); cancelButton.Click(); } catch (ElementNotFoundException enfe) { // do nothing since dialog might not be there, or this method might be called for other browsers } } }I also corrected the extensive post above.
Please let me know if this doesn't work for you.
Thank you!
Regards,
Bernhard