Firefox Browser dialog and buttons recognition problem

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

Firefox Browser dialog and buttons recognition problem

Post by rastek » Tue May 19, 2015 1:01 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Firefox Browser dialog and buttons recognition problem

Post by Support Team » Wed May 20, 2015 10:02 am

Hello Rastek,

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

Regards,
Robert
.
Image

rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

Re: Firefox Browser dialog and buttons recognition problem

Post by rastek » Fri May 22, 2015 10:33 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Firefox Browser dialog and buttons recognition problem

Post by Support Team » Tue May 26, 2015 9:03 am

Hello rastek,

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

Thanks,
Robert
.
Image

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3945
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Firefox Browser dialog and buttons recognition problem

Post by odklizec » Tue May 26, 2015 9:20 am

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
FF_allow.png (12.62 KiB) Viewed 1197 times
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.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Firefox Browser dialog and buttons recognition problem

Post by Support Team » Wed May 27, 2015 11:32 am

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
      DisableWebPlugin.png (57.59 KiB) Viewed 1191 times
    • 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
.
Image

rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

Re: Firefox Browser dialog and buttons recognition problem

Post by rastek » Fri Jun 05, 2015 7:49 am

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3945
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Firefox Browser dialog and buttons recognition problem

Post by odklizec » Fri Jun 05, 2015 8:07 am

Hi,

Where in FF can be found such buttons? Could you please post a screenshot or even better some steps how to invoke them?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration