I am using Java to write my test scripts and for some reason I can not use the method findByIosUIAutomation on my driver. Using java client 2.1.0 can someone point me in the right direction to solve my problem?
Is there a way to perform a following-sibling or preceding-sibling search.e.g //UIACollectionCell[@value='1']/preceding-sibling::UIACollectionCell[1]. Can this be done using predicates?
@bootstraponline @vicusbass @JessicaSachs : How to use findlementByIosUIAutomation in explicit wait.? Can you refer one example?
waitvar.until(ExpectedConditions.elementToBeClickable(MobileBy.IosUIAutomation(".collectionViews()[0].cells()[1].tableViews()[0].cells()[1]")));
Someone please help me to use findElementByIosUIAutomation() for XCUIElementType.All examples I am seeing is only for UIAElement.
Thanks
you cant! UIAutomation not in use any more with latest iOS.
Thanks for the quick reply, sorry I am new to APPIUM. Could you please guide me the alternate way.Instead of using long XPath, I can use the alternate method by which I can call predicate to simplify the code as well as faster in result.
check some examples https://github.com/appium/java-client/blob/master/src/test/java/io/appium/java_client/pagefactory_tests/XCUITModeTest.java (just do not take automation part)
Thanks for the valuable input. I'll update the thread once I tried it,currently held up in another task.