From the course: Advanced Appium
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Work with files on the device - Appium Tutorial
From the course: Advanced Appium
Work with files on the device
- [Instructor] Our mobile devices are little computers, which means they have their own file systems. Users of the devices don't usually interact directly with the file system, but it can sometimes be convenient to do so when writing our automated tests. Let's take a look at the API's Appium mix available for doing this. If users can't interact directly with the device file system, why should you need to do this for an automated test? Really, it's to make your life easier. First of all, if your app saves data to the device disk storage as a way of managing its state, you could pre-populate the device with some of this kind of data to put your app into a known state before you begin your test. This might help make setup possible, or just less tedious. Secondly, you can essentially do the reverse. Interact with your app from the UI, and then use the Appium file API to have a look at the results of what your app…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.