Chrome v47 with User Agent Switcher - object recognition

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Chrome v47 with User Agent Switcher - object recognition

Post by gilbar16 » Mon Dec 14, 2015 7:06 pm

Has anyone tried Ranorex on the Google Chrome (version 47) with User Agent Switcher extension/add-on?
Any luck with Object Recognition?

How do you include in your script (as part of your setup for using User Agent Switcher) the following actions?
Click on "Customize and control Google Chrome"
Select "More tools/Developer tools" option

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

Re: Chrome v47 with User Agent Switcher - object recognition

Post by Support Team » Thu Dec 17, 2015 10:10 am

Hi gilbar16,

May I ask which User Agent Switcher extension you use exactly?
Additionally, it would be great if you could describe the current issues in more detail.

Thank you in advance.

Regards,
Johannes
.
Image

gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Re: Chrome v47 with User Agent Switcher - object recognition

Post by gilbar16 » Thu Dec 17, 2015 7:28 pm

Hi Johannes,

The extension is called "User-Agent Switcher for Chrome 1.0.43".

When you navigate to the Developer tools via the menu or via Ctrl+Shift+i key sequence, selecting a Device from the Device drop down list gets recorded with the same code meaning it does not matter which object or device you did select. Same with the Network drop down.

Thanks.
Gilbert

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

Re: Chrome v47 with User Agent Switcher - object recognition

Post by Support Team » Fri Dec 18, 2015 8:30 am

Hi Gilbert,

If you want to access internal Chrome sites, it is necessary to enable the Global Accessibility Mode.
In order to enable this function, please navigate to "chrome://accessibility/" and change the setting to "on".
Accessibility.png
Accessibility.png (7.98 KiB) Viewed 913 times
Regards,
Johannes
.
Image

gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Re: Chrome v47 with User Agent Switcher - object recognition

Post by gilbar16 » Fri Dec 18, 2015 6:29 pm

Hi Johannes,

Thank you for the info on Global Accessibility settings.
I'll try it as soon as possible.

Thanks.
Gilbert

mes.abdelhamid
Posts: 2
Joined: Tue May 09, 2017 1:51 pm

Re: Chrome v47 with User Agent Switcher - object recognition

Post by mes.abdelhamid » Fri Mar 09, 2018 12:02 pm

Hello,
thanks for help, any solution for "how to set USER Agent in ranorex"
thanks

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

Re: Chrome v47 with User Agent Switcher - object recognition

Post by odklizec » Fri Mar 09, 2018 12:13 pm

Hi,

Could you be a bit more specific about what exactly you want to achieve?

As mentioned in previous posts, to access the Chrome internal dialogs, you need to enable Global Accessibility flag. Eventually, you can instruct Chrome to start with enabled accessibility by this argument:

Code: Select all

--args --force-renderer-accessibility 
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