![]() These special functions are called the XCUITest API, and sparse documentation for them can be found here. The XCUITest-Runner app has access to a special set of system functions which can look at the user interface elements of another app and interact with them. The way it works is that Xcode has the ability to build a special app called an "XCUITest-Runner" app. ![]() In order to provide this necessary feature for testing apps, Apple built the XCUITest framework. iOS is very strict about security and works hard to prevent one app from looking at what is going on in another app. User Interface Testing of any device relies upon the ability to launch an app and have another program inspect and interact with what the app displays on the screen. To get started testing right away, skip to the next section, but if you're wondering why we've had to install some of the things we need, read on. You don't need to understand how Appium controls iOS devices in order to run and write your tests, but I haven't found a written explanation of this anywhere else, so am including it for those who are curious. Assuming you've gone through all the setup instructions in the first part of this guide, we'll now be able to put it all together in the form of actual Appium scripts. ![]() ![]() It's a tutorial on getting started from scratch, authored by Appium contributor Jonah Stiennon. This is the second in a 2-part series on using real iOS devices with Appium.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |