Hi Priyank,
Thanks for suggestion but i am getting compiler error with 'uiautomation' keyword used.
import io.appium.java_client.pagefactory.iOSFindBy;
@iOSFindBy(uiautomation=".buttons().firstWithPredicate(\"name BEGINSWITH 'Back' \") ")
private MobileElement backButton;
So I searched a bit and found following code which is not not giving compiler error but also not able to find element.
@iOSFindBy(uiAutomator=".buttons().firstWithPredicate(\"name BEGINSWITH 'Back' \") ")
private MobileElement backButton;
I am bit confused what to use uiautomation or uiAutomator in iOS and why compiler error coming with uiautomation.
Do i missing any import or any code error?
Thanks
Sheetal