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

Bug reports.
HardyG
Posts: 22
Joined: Sun Jun 07, 2015 1:16 pm

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

Post by HardyG » Wed Jul 15, 2015 8:17 am

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.

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

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

Post by Support Team » Thu Jul 16, 2015 1:52 pm

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
.
Image

HardyG
Posts: 22
Joined: Sun Jun 07, 2015 1:16 pm

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

Post by HardyG » Thu Jul 16, 2015 3:39 pm

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

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

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

Post by Support Team » Fri Jul 17, 2015 1:42 pm

Hi Hardy,

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

Regards,
Markus
.
Image

HardyG
Posts: 22
Joined: Sun Jun 07, 2015 1:16 pm

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

Post by HardyG » Mon Jul 27, 2015 3:59 pm

Hi Markus,

any update on this Imaging.Find - issue?

Kind regards,
Hardy

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

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

Post by Support Team » Tue Jul 28, 2015 11:23 am

Hi Hardy,

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

Regards,
Markus
.
Image

HardyG
Posts: 22
Joined: Sun Jun 07, 2015 1:16 pm

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

Post by HardyG » Mon Aug 31, 2015 6:48 am

Dear Markus,

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

Thanks a lot and kind regards,
Hardy