Upgrade to 9.5.2 has build errors

Bug reports.
ladybumblebee
Posts: 2
Joined: Wed Dec 11, 2019 3:50 am

Upgrade to 9.5.2 has build errors

Post by ladybumblebee » Thu Jun 03, 2021 1:37 am

Hello. I just recently upgraded from 9.4 to 9.5.2 and its having build errors.
No overload for method 'OpenBrowser' takes 9 arguments

If the OpenBrowser action is set to Edge, then it works fine. The solution is set to use Chrome set to maximize.
Any help please.

dhale
Posts: 84
Joined: Thu Feb 27, 2014 7:33 pm

Re: Upgrade to 9.5.2 has build errors

Post by dhale » Thu Jun 03, 2021 8:25 pm

Did you know about the technical docs located at: https://www.ranorex.com/Documentation/R ... rowser.htm
Maybe something has changed and the old method you use isn't there anymore, and you just need to switch out to something else that is there now...
Hard to know without seeing your code though.

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

Re: Upgrade to 9.5.2 has build errors

Post by odklizec » Fri Jun 04, 2021 6:43 am

Hi,

There were added some parameters to OpenBrowser method in 9.5.2, so you must adapt your code with these parameters (add the new parameters with "false" flag if they are irrelevant to you). In my opinion, Ranorex folks should have add new parameters with new overloaded method, instead of forcing people to adapt their existing code?
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
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Upgrade to 9.5.2 has build errors

Post by odklizec » Mon Jun 07, 2021 10:56 am

Hi,

Ranorex folks silently updated 9.5.2 with overloaded OpenBrowser method, so you no longer have to update your solution. Just uninstall existing 9.5.2 and download and install new one.
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

ladybumblebee
Posts: 2
Joined: Wed Dec 11, 2019 3:50 am

Re: Upgrade to 9.5.2 has build errors

Post by ladybumblebee » Wed Jun 16, 2021 6:12 am

Thank you very much! I will use the recent build 9.5.3.