Hi,
appium 1.3.1
using ruby
when using pull_file(“path”) its returning "Not yet implemented. Please help us … (Selenium::WebDriver::Error::UnknownError)
I’m initializing tests with
require 'rspec/expectations'
require 'appium_lib'
require 'cucumber/ast'
class AppiumWorld
end
caps = Appium.load_appium_txt file: File.expand_path('./', __FILE__), verbose: true
Appium::Driver.new(caps)
Appium.promote_appium_methods AppiumWorld
World do
AppiumWorld.new
end
Before {
#STDOUT.puts 'Puts override'
$driver.start_driver
}
no one ever used pull_file on ios?
I really need to know if this is implemented or not. No one answer also in this other topic: Pull file from ios device
I’m gonna bump this topic again, because I would like to have some tips from the community on how to proceed.
From https://github.com/appium/appium/blob/b477c22d79bc2d7183a1fe2ce02b52f75f2a1789/lib/devices/ios/ios-controller.js
we can see
iOSController.pullFile = function (remotePath, cb) {
logger.debug("Pulling " + remotePath + " from sim");
if (this.realDevice) {
return cb(new NotYetImplementedError(), null);
}
So this is really not implemented for real devices.
But this app log files are easily extracted with tools like iFunBox (its in App File Sharing), so is there a way for me to make a script to get the log files?
I do not want to install openSSH/Cydia or jailbreak the phone, because its a company phone that may be used for other projects at any time and I may be given other phone. If those tools can access the file without jailbreak so should I, no?
Any hint?
Thx