Originally posted by pratiyushverma on June 23, 2025
Hi Everyone,
I’m trying to use the Touch method on an image object from an image set I created in Ranorex Studio. I’ve set the current device to my locally connected Android device and am running the app via JSON capabilities using a local Appium server.
However, every time I attempt to run a method on the image object, I receive the following error:
Ranorex Version: 15.74.33.7 x64 (Trial)
Appium: Local server setup
The image set is recognized, but calling Touch() on any image object triggers the error. Is there a compatibility limitation with the trial version, or am I missing a configuration step?
Just to clarify, you are using Testcomplete to test a mobile app created in Ranorex Studio and are running it on a local Appium server. TestComplete is failing with a Python error using the touch method. I am not an expert in this area but I can provide some very general tips.
The Touch method you have shown call does not supply the required (X,Y) coordinate values.
Not all objects or controls in mobile apps support Touch in TestComplete.
Use the Object Spy to:
Inspect the control.
Check whether the Touch method is listed under the available methods for that object.
If not, you may need to use alternative interaction methods.
The Touch method looks like it is a legacy method. Refer to this link. It may help?