


find_element_by_ios_predicate (“value = ‘ClearEmail’” )ĭriver. Ios_predicate iOS Of UI In automation, Using native support Predicate Positioning is the best, It can support single attribute and multiple attribute positioning of elements, Highly recommendedĭriver. find_element_by_xpath ( * * / Cancel"]' * * ). find_element_by_xpath ( * * Info"]) ' * * ). Remote ( "", caps )ĭemand : The first script, Click on Action Sheets – Click on OK from time import sleepĭriver. Open by code ,pycharm To write from time import sleepĬaps = "Users/hanxingyuan/Library/Developer/Xcode/DerivedData/UICatalog- elvxjsgcreylppcxqfmmfzwuujpo/Build/Products/Debug-iphonesimulator/UICatalog.app"Ĭaps = '4A8743D2-501D-42B6-A20D-14901A5BE61B'ĭriver = webdriver.

Appium As an open source 、 Cross platform automated testing tools, Suitable for testing native or hybrid mobile devices App, It USES WebDriver Protocol driven IOS,Android and Windows Applications, This article introduces the implementation ios automated testing Appium Realization iOS automated testing 01 Start the applicationĬlick on Window->Devices-> On the right side, you can see identifier identifier, That's what we got iPhone Of uuid
