Just.V
Topic Author
Posts: 2
Joined: 11 Feb 2020, 22:19

NoesisGUI grab UI elemnets with Appium

13 Feb 2020, 11:23

Hello,

Is there a way to grab UI elements using appium on Android or iOS? Can't seem to find anything in the documentation for automation testing.

I've tried on a Unity project using the samples UI examples provided and can't seem to figure it out.
 
User avatar
jsantos
Site Admin
Posts: 2900
Joined: 20 Jan 2012, 17:18
Contact:

Re: NoesisGUI grab UI elemnets with Appium

13 Feb 2020, 13:39

Never heard about Appium, so I would say, by default, we are probably not compatible. But if you can try and tell us... Thanks!
 
Just.V
Topic Author
Posts: 2
Joined: 11 Feb 2020, 22:19

Re: NoesisGUI grab UI elemnets with Appium

13 Feb 2020, 14:12

Appium is an open-source tool for automating native, mobile web, and hybrid applications on iOS mobile, Android mobile, and Windows desktop platforms

For Unity automation i've been using AltUnityDriver with Appium to get game objects but for the UI elements I can't do that since the UI elements don't appear in the hierarchy.

Is there a testing framework that i could use to get UI element position, UI element text etc. ?

or

Is there an easy way to make the UI elements be game objects in Unity?
 
User avatar
jsantos
Site Admin
Posts: 2900
Joined: 20 Jan 2012, 17:18
Contact:

Re: NoesisGUI grab UI elemnets with Appium

13 Feb 2020, 14:29

Noesis UI elements are not Game Objects. You need to start at the root of NoesisView and traverse the hierarchy of children using our API. The tutorial about containers is probably useful here.

Who is online

Users browsing this forum: Google [Bot] and 1 guest