Hi,
I am new to appium, Please suggest different ways to capture object properties using appium in Android and ios
Hi,
I am new to appium, Please suggest different ways to capture object properties using appium in Android and ios
Hi,
Android platform:
iOS platform:
1)Inspector - This is available in appium GUI. It helps to spy the objects on both native and hybrid applications not on web apps. For more details link
2) Instrumentation - I don’t have much idea on this.
Thanks,
Sharath N
Hi Sharath,
Thanks a lot for your inputs.
If my one object is dynamic, I am not able to fetch properties of whole screen using UIAutomator Viewer. Can you please suggest out of above, which one can be used for same in both IOS and Android?
You can go with appium Inspector which supports both the platforms. Also it has recording feature, which helps to develop the scripts in a faster way.
Thanks
Sharath N
Hi Sharath,
Can you please explain me how to use Inspector?
When I have opened the Inspector window, it is not showing any device.
I am not able to attach screenshot here for reference.
1)Connect your device to a system.
2)Launch appium GUI server
3)Provide app package , app activity of AUT(Application Under Test) for android apps. For iOS apps provide app Path
4)Also provide the desired capabilities of your test device
5)Click on appium Inspector(Search symbol on GUI). Below screen will appear.
NOTE: You can spy only one device at one time.
For steps 3 and 4, Select the corresponding platform to set the desired capabilities.(iOS or Android platform symbols on GUI)
Thanks,
Sharath N
Hi Sharath,
Thanks a lot. Inspector is working fine with few issues.
My Inspector screen is different than yours, maybe due to version difference. My appium version is 1.4.16.1
Issue I am facing using inspector is that, Image to click to get popup screen (appears from Left menu), is not getting clicked using Inspector.
It only recognizes object.
Please suggest.
Hi,
I have come across one application whose objects are not fetched using any of the above process on Android.
Whole application is recognised as Web view
Please help me how to automate such applications.