Test iOS Apps with UI Automation (for Jan S Morrison) by Jonathan Penn

Test iOS Apps with UI Automation (for Jan S Morrison) by Jonathan Penn

Author:Jonathan Penn
Language: eng
Format: epub
Tags: Pragmatic Bookshelf
ISBN: 978-1-937785-52-9
Publisher: The Pragmatic Bookshelf, LLC (436473)


​ ​var​ cell = searchWithPredicate(predicate, window);

​ cell.tap();

​*

​ ​var​ timeoutInMillis = target.timeout() * 1000;

​*

​ ​var​ start = ​new​ Date();

​*

​*

​ ​do​ {

​*

​ ​var​ now = ​new​ Date();

​*

​ predicate = predicateWithFormat(​"name = %@"​, ​"POI: Peet's Coffee and Tea"​);

​*

​ ​var​ poi = searchWithPredicate(predicate, window);

​*

​ target.delay(0.1);

​*

​ } ​while​(!poi && now - start < timeoutInMillis);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.