Search found 10 matches

by fsiglia
Wed Sep 26, 2018 2:57 pm
Forum: Mobile Testing
Topic: Image load gives a completely black image
Replies: 5
Views: 1816

Re: Image load gives a completely black image

this did the trick! thank you for your help!
by fsiglia
Wed Sep 26, 2018 2:21 pm
Forum: Mobile Testing
Topic: Image load gives a completely black image
Replies: 5
Views: 1816

Re: Image load gives a completely black image

thanks for the hint, I will try to convert the png images to bmp files with an external tool and restart the test, I'll let you know.
by fsiglia
Wed Sep 26, 2018 1:16 pm
Forum: Mobile Testing
Topic: Image load gives a completely black image
Replies: 5
Views: 1816

Re: Image load gives a completely black image

I think there is no problem with the image itself, as I can open and view it correctly with paint 3d. maybe Imaging.Load() has a problem loading very tiny images? I attached the image below, hope it can help.
by fsiglia
Wed Sep 26, 2018 11:24 am
Forum: Mobile Testing
Topic: Image load gives a completely black image
Replies: 5
Views: 1816

Image load gives a completely black image

hello everyone, I have a problem with bitmap loading. When I call the method Imaging.Load(<path of the bitmap I want to load>) the loaded image is completely black. I noticed that by opening the same image with windows photo editor there is the same problem. Also, windows photo editor refuses to let...
by fsiglia
Thu Sep 20, 2018 1:41 pm
Forum: Mobile Testing
Topic: How to tell if you are at the end of a swipable element
Replies: 4
Views: 1767

Re: How to tell if you are at the end of a swipable element

ok, I will stick with the current method then. I take a snapshot of the current view before every swipe so that I can compare the elements found before with the elements found after the swipe. If they are the same I've reached the end of the swipable area.
by fsiglia
Wed Sep 19, 2018 4:08 pm
Forum: Mobile Testing
Topic: How to tell if you are at the end of a swipable element
Replies: 4
Views: 1767

How to tell if you are at the end of a swipable element

Hi everyone, I would like to know if there is a Ranorex API method to tell if, inside a swipable element, we have reached the end so that by doing another swipe the visible area don't change. Thanks in advance!
by fsiglia
Mon Sep 17, 2018 2:05 pm
Forum: Mobile Testing
Topic: black bands over captured screenshots
Replies: 6
Views: 1722

Re: black bands over captured screenshots

Here I am finally. I was able to overcome the problem by slightly changing my code. Instead of calling the Method "CaptureImage" to take a .png screenshot of the element, I call "CaptureImageHidden" , which takes a clean image of the element, without black bands. Thanks for your support, was really ...
by fsiglia
Thu Sep 06, 2018 4:16 pm
Forum: Mobile Testing
Topic: black bands over captured screenshots
Replies: 6
Views: 1722

Re: black bands over captured screenshots

thanks for the response, I will take a look at it as soon as I finish other activities and let you know.
by fsiglia
Tue Sep 04, 2018 9:23 am
Forum: Mobile Testing
Topic: black bands over captured screenshots
Replies: 6
Views: 1722

Re: black bands over captured screenshots

I am using the latest Ranorex version available (8.2) in trial mode, as we are currently evaluating Ranorex in order to understand if it can fit into our workflow. As for the code sample, below is a snippet of my current solution: RxPath search_pattern = new RxPath(starting_element + "//"); IList<An...
by fsiglia
Mon Sep 03, 2018 4:00 pm
Forum: Mobile Testing
Topic: black bands over captured screenshots
Replies: 6
Views: 1722

black bands over captured screenshots

hello there, I have a question regarding image recognition in Ranorex. What I'm trying to accomplish is a simple algorithm which is able to compare 2 images taken from the app screen view and tell if they match. As of now my solution works, but there is a subtle problem caused by Ranorex "take scree...