I'm trying to figure out how to "draw" something on the screen via Ranorex. I've combed through the forum posts about other gestures and tried the various solutions but nothing has worked.
Basically, we have a box within our app that a user can essentially draw in (it's for a signature). I need to "simulate" a signature. Even if its just a straight line. However, with Touch Start/Move/End, Swipe Gesture, etc, It does not draw anything on the screen.
I've noticed that (and may be something in our own app) if i start my "gesture" outside the box that supports it, moving into the box does NOT start the line. So it must be started within the box itself. I'd tried adjusting the Location of the Start/Move/End to match within what Ranorex Spy showed the x/y coordinates of the box, but still nothing.
Any suggestions?
Thanks
Albert
Android: Draw Line/Gesture
Re: Android: Draw Line/Gesture
I was able to figure out a way to do this.
At first, I was attempting to use the X:Y coordinates for the box that Ranorex Spy had shown, but I found out later that was not the values I needed to use.
What I ended up doing was "recording" my session, but instead of dragging my finger across the screen (which didn't get captured) I just touched it, so it gave me the proper X:Y coordinates, I touched several more times after that to get additional ones. Then I went back into the script and changed the "First" entry to Touch Start, then every other one to Touch Move, and the last one to Touch End. This ended up connecting all the dots based on the X:Y coordinates of my previous single point touches.
Just an FYI in case someone else runs into the same question!
At first, I was attempting to use the X:Y coordinates for the box that Ranorex Spy had shown, but I found out later that was not the values I needed to use.
What I ended up doing was "recording" my session, but instead of dragging my finger across the screen (which didn't get captured) I just touched it, so it gave me the proper X:Y coordinates, I touched several more times after that to get additional ones. Then I went back into the script and changed the "First" entry to Touch Start, then every other one to Touch Move, and the last one to Touch End. This ended up connecting all the dots based on the X:Y coordinates of my previous single point touches.
Just an FYI in case someone else runs into the same question!