Forum Discussion

alepie's avatar
alepie
New Contributor
2 months ago

Android Image Touch - Interface not supported problem

Hi, I'm trying to use method Touch on object from the Imgae set I've created.
I have set the current device to my locally connected device,
I'm running the app thru the json capabilities and local appium server.
I'm not able to run any method on image object, every time I got the

"Python runtime error.

Interface not supported"

The code of my test case:

  capabilities = {
    "app": "some_apk_path.apk", 
    "deviceName": "droid", 
    "platformName": "Android"
  }
  server = "http://localhost:4723/wd/hub"
  Mobile.ConnectDevice(server, capabilities, 600)
  Mobile.SetCurrent("droid")
  set = ImageRepository.ImageSet1
  set.AllowNotif.Touch()

I'm using trial Version: 15.74.33.7 x64

5 Replies