Is it possible to access application's directory files on iOS with Appium?


#1

Is it possible to access application’s directory files on iOS with Appium?
We have a requirement to read file (stored under application directory) and validate it with expected output.


#2

Yes it is possible (with real devices you’ll need to configure ifuse). Check https://github.com/appium/java-client/blob/de713669d564cb80592364de97dada9a6cf528b3/src/main/java/io/appium/java_client/InteractsWithFiles.java#L32 for more details


#3

Can you give one example for “remotePath” value please? I tried multiple paths but it throws error “is expected to be a subpath of '/var/folders/7w/tjct44ls2q15s90g_2swws400000gq/T/2018810-534-1pxckm2.513b”.


#4

I cannot suggest anything without having the full server log