Page 1 of 1

New bug in Ranorex.Imaging.Find(Bitmap, Bitmap, FindOptions)

Posted: Wed Jul 15, 2015 8:17 am
by HardyG
Hi,

I've been updating from Ranorex 5.3 to 5.4.0.24580 now and there seems to be a new issue in the above mention Find method that was not there before (I've been downgrading to 5.3.2 and 5.3.3 to confirm before posting this).

Using the releases 5.3.2 and 5.3.3 the above mentiond Find method returns a list of positions found as expected. Using the exactly same code after upgrading to 5.4 is not doing so and just returning ONE found position instead of returning multiple ones!

So I have to roll back to release 5.3.3 to get my solution working again!
To find out that this issue is related to Ranorex 5.4 and not to my latest changes in my code took a while!
Please fix this asap!

Additionally you've been changing the StartApplication method extending it by one parameter. That's fine but your solution is not backwards compatible so one HAS TO change his code. Why didn't you put a Default value for the new parameter so that your new interface is backwards compatible??? Anyway, not a big issue but no good interface design strategy if there are no real reasons to do so...

Kind regards,
Hardy

PS: Btw, I'm doing mobile testing on Android. Maybe that's important.

Re: New bug in Ranorex.Imaging.Find(Bitmap, Bitmap, FindOptions)

Posted: Thu Jul 16, 2015 1:52 pm
by Support Team
Hi Hardy,

Thank you for reporting this bug, I already forwarded it.

Regarding the StartApplication method, could it be that you meant another method? Do you mean the Run Application action, or one of your specified usercode methods?

Regards,
Markus

Re: New bug in Ranorex.Imaging.Find(Bitmap, Bitmap, FindOptions)

Posted: Thu Jul 16, 2015 3:39 pm
by HardyG
Thanks for letting me know, Markus.

And: I'm reffering to
Ranorex.Core.Remoting.IRemoteEndpoint.StartApplication(string platformAppName)

With Ranorex 5.4 this method has an additional bool parameter now to define if the application should realy be re-started or just reactivated from the background (if I remember it correctly - I already downgraded to Ranorex 5.3.3).

Please get me right: The additional functionallity is fine! It's just that this bool has no default for backwards compatibility. No big issue ;-)

Kind regards,
Hardy

Re: New bug in Ranorex.Imaging.Find(Bitmap, Bitmap, FindOptions)

Posted: Fri Jul 17, 2015 1:42 pm
by Support Team
Hi Hardy,

Okay, thanks for letting us know.
I already forwarded the feedback.

Regards,
Markus

Re: New bug in Ranorex.Imaging.Find(Bitmap, Bitmap, FindOptions)

Posted: Mon Jul 27, 2015 3:59 pm
by HardyG
Hi Markus,

any update on this Imaging.Find - issue?

Kind regards,
Hardy

Re: New bug in Ranorex.Imaging.Find(Bitmap, Bitmap, FindOptions)

Posted: Tue Jul 28, 2015 11:23 am
by Support Team
Hi Hardy,

Both described issues should be fixed with the next bug fix version.

Regards,
Markus

Re: New bug in Ranorex.Imaging.Find(Bitmap, Bitmap, FindOptions)

Posted: Mon Aug 31, 2015 6:48 am
by HardyG
Dear Markus,

I can confirm: Both described issues are solved with Ranorex Release 5.4.1

Thanks a lot and kind regards,
Hardy