Ranorex is not identifying objects on Google chrome(27.X.X)

Ranorex Spy, Recorder, and Studio.
shellBPA
Posts: 6
Joined: Tue Mar 26, 2013 2:56 pm

Ranorex is not identifying objects on Google chrome(27.X.X)

Post by shellBPA » Fri Apr 05, 2013 2:37 pm

Hi There,

Ranorex is not identifying objects on Google chrome with verion "27.0.1453.12 m".

Is There any Google chrome Ranorex(4.0.2.21666) extension Available for the above version.

Please help me on the same.

Thanks in Advance
santhi

Alena
Posts: 20
Joined: Fri Feb 22, 2013 7:50 pm

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by Alena » Fri Apr 05, 2013 4:01 pm

Hi, everybody!
I've also encountered this problem and recently sent an email to Chrome Tech support:

My name is Alena, I work as a QA automation engineer and am currently using an automated testing tool called Ranorex made in Austria. It has advanced multi-level Object Recognition functionality. Due to Application Under Testing specifics, I have to clear cookies often, and while my script for this operation works perfectly in 3 other major browsers (IE, Firefox, Safari), no objects are recognized in Chrome window except Minimize/Maximize/Close window buttons (even using Ranorex Graphic Device Interface feature which is the only help in testing legacy apps based on older technologies like VB6.0, Delphi or MFC).
Basically, when I open chrome://settings/clearBrowserData, my tool can't identify "Clear browsing data" button even applying all available ways of identification.
Is it possible to introduce some shortcuts (like in FF - using "Ctrl+[letter]") to choose menu items/click buttons/etc. or some other workaround to solve this problem?
I hope they'll answer soon. Though automatic reply says that 'Due to the volume of feedback, we won't be able to send you a personal reply. If you have additional questions about Google Chrome, use these resources to find answers:..."

I hope, this clarification will help Ranorex team to get the answer.

Regards,
Alena.

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

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by Support Team » Mon Apr 08, 2013 4:43 pm

Hi,

Since Chrome 27.X is not yet officially released (in beta stage) there is no Ranorex "extension" available for Ranorex 4.0.2.
In Chrome it is not "allowed" to track elements of the settings window and I think they will not allow it.
I found a post where it is described how to remove a cookie, maybe this would be a workaround for you.

Regards,
Markus
.
Image

Alena
Posts: 20
Joined: Fri Feb 22, 2013 7:50 pm

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by Alena » Tue Apr 23, 2013 8:40 pm

Waiting for Chrome Tech support answer, I've found a workaround, and for me it works 100%. I don't have to manually click on 'Delete browsing data' anymore which seems so awkward while everything else is automated!

In Ranorex studio, in Recording window, right-click on the problematic step in your script (where Repository item can be a whole Chrome window) and choose 'Edit location'. Enable 'Image based' and 'Autoselect image find region' (it's what does the trick - 'autoselect'!). Set location, moving cursor pointer to the best, in your opinion, point on the previously unidentified object, and it should work. If it doesn't, change location a little. That's it!

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

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by Support Team » Thu Apr 25, 2013 2:26 pm

Hello,

Thank you for posting your workaround :-)

Regards,
Markus (T)
.
Image

brgibb
Posts: 39
Joined: Wed Jun 05, 2013 2:15 pm

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by brgibb » Wed Jun 05, 2013 2:17 pm

Does anyone know if there is a solution to this rather than the workarounds suggested?

Thanks,

Brian

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

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by Support Team » Wed Jun 05, 2013 4:20 pm

Hello Brian,

Do you look for a solution to access objects in Chrome 27.x?
This issue has been fixed since Ranorex 4.0.3.

Access to internal Chrome sites (e.g. chrome://settings) is still not possible.

Regards,
Markus (T)
.
Image

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

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by Support Team » Thu Aug 21, 2014 12:33 pm

Hello,

Just a small update on this.
It is now possible to track the internal Chrome sites but you have to enable the Global accessibility mode first.
In order to turn this on you need to enter “chrome://accessibility/” as shown below:
Accessibility.png
Accessibility.png (7.98 KiB) Viewed 4819 times
Regards,
Markus
.
Image

ppandian
Posts: 19
Joined: Tue Jan 13, 2015 11:33 pm

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by ppandian » Fri Jan 16, 2015 11:01 pm

Hi,
I am using Chromium 37 and Ranorex(5.2 evaluation version).
I have turned on the accessibility in Chromium.

I could not get the repository information for the elements in the Dom.
I get a message in Ranorex Spy "Unable to see inside chrome://momory-redirect Automation Tools | Ranorex Forum - Mozilla FireFox"

Is there any other setup required.

Thanks
Pushpa

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

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by odklizec » Fri Jan 16, 2015 11:45 pm

Hi,

As mentioned in another post (started by you), Ranorex curently does not support Chromium. Only Chrome is supported.
http://www.ranorex.com/forum/cef-applic ... t7325.html
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

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Ranorex is not identifying objects on Google chrome(27.X.X)

Post by krstcs » Mon Jan 19, 2015 2:49 pm

As has been said before, Ranorex ONLY supports the following browsers:

Microsoft Internet Explorer
Mozilla Firefox
Google Chrome (NOT Chromium)
Apple Safari

And, depending on the browser, they may only be supported in stand-alone mode due to how Ranorex interacts with them, specifically the need to load the Ranorex plugin, which isn't loaded on most hybrid applications.
Shortcuts usually aren't...