1

I have mobile native application (iOS and Android) that I want to automate using Python - application interaction and logic look similar for iOS and Android. What is the best way to share test logic across mobile platform.

I found a way how JavaClient works - simply use annotations @AndroidFindBy and @iOSFindBy.

Is there alternative for Python? Having many if\else in my code does not work for me.

Volodymyr Prysiazhniuk
  • 1,897
  • 4
  • 22
  • 33

1 Answers1

0

[Dated 7 Jun,2016] As of now I don't think this (annotated By method) have been implemented for accessing WebElements or MobileElements in python.

You can go through the ByClass, Appium's WebDriver.py and the ChangeLog and RoadMap documented at Appium python client GitHub repository for more details over it.

Naman
  • 27,789
  • 26
  • 218
  • 353