Page 1 of 1

Firefox Browser dialog and buttons recognition problem

Posted: Tue May 19, 2015 1:01 pm
by rastek
I have problems with Firefox browser buttons such as Allow, Share etc. Anyone has idea on this ?

I installed Ranorex plugin, it works fine with page in the browser but has problems with buttons and dialogs associated with the browser. Actually same problem sometimes seen on Chrome browser also.

Thanks,
Rastek.

Re: Firefox Browser dialog and buttons recognition problem

Posted: Wed May 20, 2015 10:02 am
by Support Team
Hello Rastek,

May I ask which version of Ranorex and which version of Firefox you are currently using?

Regards,
Robert

Re: Firefox Browser dialog and buttons recognition problem

Posted: Fri May 22, 2015 10:33 am
by rastek
Hi
I use firefox 38 with Ranorex extension 1.0.8 and Ranorex 5.3.2

The problem is not with Firefox recognition I think, because it recognizes applications but not Firefox browser dialog and buttons.

Same problem also seen on chrome browser which I wrote several times here but did not get a working solution.

Thanks.

Re: Firefox Browser dialog and buttons recognition problem

Posted: Tue May 26, 2015 9:03 am
by Support Team
Hello rastek,

It would be great if you could provide a link to a sample page, which contains the problematic elements.

Thanks,
Robert

Re: Firefox Browser dialog and buttons recognition problem

Posted: Tue May 26, 2015 9:20 am
by odklizec
Hi Robert,

I think he means "Allow" button displayed by FF, for example if you try to install an add-on. Ranorex is able to detect the container surrounding the "Allow" button but not button itself.
FF_allow.png
To invoke the button, go to Tools >> Options >> Security and in "Warn me when sites try to install add-ons" exceptions remove "addons.mozilla.org". Then try to install an add-on from addons.mozilla.org. You should get a popup with Allow button, which is not traceable.

Re: Firefox Browser dialog and buttons recognition problem

Posted: Wed May 27, 2015 11:32 am
by Support Team
Hello guys,

I already assumed that you're talking about the native windows from Firefox. It is quite tricky to capture them correctly. These windows and its containing buttons can be found within the Firefox form element, but the “from point”-tracking isn’t working.

Possible workaround 1:
  • • Use a keypress action in order to interact with the control.
Possible workaround 2:
  • • Disable the “MozillaWeb”-plugin
    • o Open Ranorex Spy
      DisableWebPlugin.png
    • Track and add the elements to your repository.
The same applies to Chrome, but for Chrome you have to enable the “Accessibility Renderer”. Just start Chrome with the following flag: --force-renderer-accessibility

Hope this helps.

Regards,
Robert

Re: Firefox Browser dialog and buttons recognition problem

Posted: Fri Jun 05, 2015 7:49 am
by rastek
Hi odklizec,

Actually I have problem with camera and mic source selection buttons, I am not auomation anything on addon pages.

Allow share button on firefox and allow button on chrome has recognition problems.

Thanks.

Re: Firefox Browser dialog and buttons recognition problem

Posted: Fri Jun 05, 2015 8:07 am
by odklizec
Hi,

Where in FF can be found such buttons? Could you please post a screenshot or even better some steps how to invoke them?