Page 1 of 1

Chrome Allow buttonsproblem

Posted: Wed Jan 21, 2015 9:14 am
by rastek
Hi

I am having this problem for a long time. In some pcs, instead of recognizing mic 'Allow' button in chrome browser, Ranorex just records it as global coordinate click on chrome such as

repo.WebGoogleChrome.Self.Click("545;88")

and laetr even this self click does not work properly and does not give me a temporary solution..

however in some other pcs , Ranorex recognize the Allow button successfuly like this

container[@accessiblename='Google Chrome']//button[@accessiblename='Allow']/text[@accessiblename='Allow']

And Ranroex and chrome versions, and even OS versions are same on those pcs !

By the way, even in those problematic pcs, Ranorex recognizes the chrome for the app, I mean everything is fine Renorex recognise objects inside the page corretly but does not recognize objects asuch as Allow button outside the web page.

Does anybody come up this problem before ? If so please help me and share available workarounds for this problem,

Thanks,
rastek.

Re: Chrome Allow buttonsproblem

Posted: Wed Jan 21, 2015 10:35 am
by odklizec
Hi,

There must be something different between these computers, maybe some MS hotfixes, drivers, antivirus, etc. maybe even Ranorex settings? Have you tried copying Ranorex settings from 'working' machine to the problematic one? Just export settings via settings dialog and import them on another PC. It may also be a problem with different Chrome settings? If Ranorex consistently works with one PC and not with another one, then there must be a difference.

Re: Chrome Allow buttonsproblem

Posted: Mon Jan 26, 2015 10:17 am
by rastek
I dont think it is a problem with settings, bcos I never change a setting after Ranorex install, and I make a refresh install on all those computer recently.

So you mean Ranorex behaves differently cos of some MS policy or antivirus ? That is weird ??

Do I have to be computer specialist to solve all those kind of problem with all kind of software ? Shouldnt a piece of software work properly on same type of pcs ? Am I wrong ?

By the way, all those computer are company computer and they have same igame installed, same antivures etc.

That is a problem should be solve by Ranorex I think, why it behaves diffetenly on different computers that ha same OS and same Browser wven with same Browser version..

Thanks,
Rasim

Re: Chrome Allow buttonsproblem

Posted: Mon Jan 26, 2015 11:10 am
by odklizec
Welcome to the reality of PC automation world :) None two PCs are exactly the same, unless you install them from the same iso image and even then they are the same only for a brief moment. This is why I prefer to use virtual machines and at start/end of the test revert their state back to saved snapshot.


I think the most probable reason why ranorex records your object with screen coordinates instead of xpath is that the web browser is not instrumented correctly and therefore, Ranorex don't see "inside" of the browser. I would suggest you to try to re-instrument chrome on the problematic PC, as described here...
http://www.ranorex.com/support/user-gui ... hrome.html

Re: Chrome Allow buttonsproblem

Posted: Wed Jan 28, 2015 2:10 pm
by rastek
Hey there is no problem that ranorex can not see inside browser,
I can see inside browser, it works fine for the web application, only can not see the Allow button.

Yeah I know none two PCs are exactly the same, the problem is that this little problem blokcs my auomation on some computer. Why the hell Ranorex can not see that Allow button, isnt that weird ??



And that problem is not seen only in one computer, I do not think it is a installation problem.


Thanks,
Rasim.

Re: Chrome Allow buttonsproblem

Posted: Wed Jan 28, 2015 2:43 pm
by krstcs
Please ensure that Accessibility mode is turned on in each Chrome browser by navigating to about:accessibility.

Re: Chrome Allow buttonsproblem

Posted: Sun Mar 15, 2015 11:53 am
by rastek
Hi krstsc

It doesn't solve my problem. I made it with on and off, also on other computer where problem does not seen it is off.

Can you recommend anything else ? I also unstall and reinstall chrome but no result :(

Re: Chrome Allow buttonsproblem

Posted: Mon Mar 23, 2015 9:23 am
by Support Team
Hello Rasim,

I would suggest doing a clean re-install of Ranorex.

Therefore, please:
  • • Completely uninstall Ranorex.
    • Reboot your machine.
    • Install the latest version of Ranorex, currently Ranorex 5.3.
    • Instrument Chrome again.
    • Check if Accessibility mode within Chrome is enabled.
    • Track element again.
If you are still facing the issue, please contact [email protected]

Regards,
Robert