Ranorex can't open Edge Browser

Ranorex Studio, Spy, Recorder, and Driver.
fwason
Posts: 26
Joined: Wed Aug 24, 2011 10:39 pm

Ranorex can't open Edge Browser

Post by fwason » Wed Feb 22, 2017 5:10 pm

REceive the message "Failed to activate Windows app 'MicrosoftEdge' from app family 'Microsoft.MicrosoftEdge_8wekyb3d8bbwe'."

Initially, tried to change the target of our test suite... that didn't work, so opened Ranorex 6.1.0 and attempted to record a simple action.
  • start recording
    click Edge icon on task bar
    enter url, click enter
    enter username and password, click enter
when I attempt to run, I get the error at the top of this post.
attached would be a simple project in zip file, but it is 9MB, 4MB over your allowed limit

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

Re: Ranorex can't open Edge Browser

Post by krstcs » Wed Feb 22, 2017 8:12 pm

Microsoft Edge is not supported by Ranorex due to Microsoft removing functionality that is required for object identification. When Ranorex put in a bug report with Microsoft it was closed as Will Not Be Fixed/Working As Intended. Note that this impacts other automation systems besides Ranorex, and is a Microsoft problem.

It appears that you will need to use a WebDriver-based system such as Selenium in order to test Edge.

This is from Microsoft's Windows site, and is the official stance of MS regarding automated testing of Edge:
https://blogs.windows.com/msedgedev/201 ... 6PZxHkP.97
Shortcuts usually aren't...

fwason
Posts: 26
Joined: Wed Aug 24, 2011 10:39 pm

Re: Ranorex can't open Edge Browser

Post by fwason » Thu Feb 23, 2017 5:10 pm

this is interesting. According to W3C, all browser vendors except Apple comply with the WebDriver standard. As the standard evolves and matures, I expect that the changes could potentially make Ranorex an irrelevant and\or incompatible tool. What plans to you have to adopt the WebDriver standard and\or develop some sort of adapter to allow existing Ranorex tests to run against Edge and in the future other browsers which follow the Edge direction?

Should we begin the process of adopting Selenium and retiring Ranorex?

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

Re: Ranorex can't open Edge Browser

Post by krstcs » Thu Feb 23, 2017 6:30 pm

I do not work for Ranorex, I'm just a customer.

If you want answers to those questions you will need to email Ranorex directly. However, I should say that they usually do not discuss details of future plans due to the nature of changes that can come.

I will say that where I work, our QA Director has decided to move to Selenuim instead of Ranorex, especially since Ranorex does not work on Mac.

You might also want to look into Ranorex Online, which is their new web testing tool. It is in early beta.
Shortcuts usually aren't...

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

Re: Ranorex can't open Edge Browser

Post by odklizec » Fri Feb 24, 2017 10:08 am

Hi,

Like Kelly, I'm too just a customer without any knowledge what's coming next (in long term future). But I guess Ranorex folks would like to stay in web-based automation game, which means they will most probably have to adopt the webdriver technology for Ranorex. I think it's too early to abandon the ship just because one browser stopped working. Yes, it could be a serious obstacle, because IE is slowly dying and Edge is supposed to replace it in not so distant future. But in my opinion, IE is relative far from grave and Edge is still far from its prime time? ;) So there should be enough time for Ranorex folk to come up with a replacement for dying technology?
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: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex can't open Edge Browser

Post by Support Team » Fri Feb 24, 2017 1:55 pm

I do work for Ranorex and I would like to join the conversation if you don't mind :D

To sum up the history:
Ranorex did support Edge until the Windows 10 Anniversary Update (August 2, 2016), with which Microsoft ceased support for the COM interface in Edge that Ranorex relied on. At the release of the Anniversary Update we were already in contact with Microsoft and were told that this is a bug that will be fixed. Three months later the issue was then closed as by design.

Anyway, we see the relevance of being able to test as many available browsers as possible, including Edge.

As a small teaser I can give you the following information:
Ranorex will shortly support Edge and Safari (on Mac) again with the upcoming Ranorex 7.0 release at the end of Q1 2017.

And thank you everyone for your input!

Regards,
Alex
Ranorex Team

fwason
Posts: 26
Joined: Wed Aug 24, 2011 10:39 pm

Re: Ranorex can't open Edge Browser

Post by fwason » Fri Feb 24, 2017 8:05 pm

Thanks for the reply! I am happy to hear, from a Ranorex rep, that you plan on releasing a webDriver related solution in order to maintain the cross=browser support Ranorex needs. The forum 'guru' had me a bit concerned with the misinformation provided. I understand what Microsoft did with Edge last year with EdgeInterop, and particularly love Francois R.'s remark "The currentStyle property does not exist anymore in Edge, and it ain’t coming back."; a classic customer service remark :-)

Keep up the good work... we're a happy Ranorex shop for the past 5 years...

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex can't open Edge Browser

Post by Support Team » Sat Feb 25, 2017 8:29 pm

No offense to Microsoft, they usually do a very good job in supporting their partners, but on that occasion they got us in trouble a bit :)
fwason wrote:Keep up the good work... we're a happy Ranorex shop for the past 5 years...
Thank you, it's always great to here when users appreciate our work. And be assured that we will keep our dedication to improving our product and our service over the years to come - Ranorex is far from being retired :D

Regards,
Alex
Ranorex Team

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

Re: Ranorex can't open Edge Browser

Post by odklizec » Mon Mar 06, 2017 1:22 pm

Hehe, I 'knew' Ranorex folks will somehow integrate webdriver with Ranorex...
http://www.ranorex.com/automated-testin ... binar.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

fwason
Posts: 26
Joined: Wed Aug 24, 2011 10:39 pm

Re: Ranorex can't open Edge Browser

Post by fwason » Tue Apr 18, 2017 4:53 pm

For all those of us who use Visual Studio as a development tool, VOTE FOR EDGE SUPPORT HERE!!!

http://uservoice.ranorex.com/forums/150 ... -webdriver