Hi All,
From the reffered discussions I have understood that that we can use page factory to call android and ios locators using:
@AndroidFindBy(...)
@IOSFindBy(...)
MobileElement ele;
But how am I supposed to tell page factory which @FindBy to use when I run the tests .
e.g - If I wish to run test on android device how do I let appium know to use @AndroidFindBy and vice verse.
Thanks in Advance!
created
Mar '17
last reply
Mar '17
- 2
replies
- 1.6k
views
- 2
users
- 1
like