appium-ios

How to change the creation date of file using python on a mac?

南笙酒味 提交于 2021-02-19 05:02:21
问题 I need to update the creation time of a .mp4 file so that it will appear at the top of a list of media files sorted by creation date. I am able to easily update both the accessed and modified date of the file using os.utime, but have yet to find a good way to change the created date of a file to "now". My end goal is to seed media files to an iOS simulator using appium, and have those media files accessible in that script. The issue is that the video file will not be displayed in the

.bin/authorize-ios not found when installing appium using npm install -g appium

≯℡__Kan透↙ 提交于 2021-02-08 13:54:13
问题 When I try to install appium using npm install -g appium I get the message npm ERR! code ENOENT npm ERR! syscall chmod npm ERR! path /usr/local/lib/node_modules/appium/node_modules/.bin/authorize-ios npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/appium/node_modules/.bin/authorize-ios' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent If I run the install again I get npm ERR! code ENOENT npm ERR!

How to launch already installed app from iPhone using appium

狂风中的少年 提交于 2020-12-04 14:29:37
问题 I am writing an automation script using Java + TestNG + Appium. In a test scenario, I am trying to launch already installed application on iphone. (Box in this case). Box contains some MS office file which I need to access. I am not very sure how can I achieve this. I tried multiple options such as extracting .app file from iTunes and deploying using Appium, but no success. Can someone please guide me, if this is possible. If yes, how? 回答1: Automate a preinstalled app with following scenario.

How to launch already installed app from iPhone using appium

我是研究僧i 提交于 2020-12-04 14:27:41
问题 I am writing an automation script using Java + TestNG + Appium. In a test scenario, I am trying to launch already installed application on iphone. (Box in this case). Box contains some MS office file which I need to access. I am not very sure how can I achieve this. I tried multiple options such as extracting .app file from iTunes and deploying using Appium, but no success. Can someone please guide me, if this is possible. If yes, how? 回答1: Automate a preinstalled app with following scenario.

How to launch already installed app from iPhone using appium

别等时光非礼了梦想. 提交于 2020-12-04 14:27:22
问题 I am writing an automation script using Java + TestNG + Appium. In a test scenario, I am trying to launch already installed application on iphone. (Box in this case). Box contains some MS office file which I need to access. I am not very sure how can I achieve this. I tried multiple options such as extracting .app file from iTunes and deploying using Appium, but no success. Can someone please guide me, if this is possible. If yes, how? 回答1: Automate a preinstalled app with following scenario.

How to launch already installed app from iPhone using appium

孤街浪徒 提交于 2020-12-04 14:26:12
问题 I am writing an automation script using Java + TestNG + Appium. In a test scenario, I am trying to launch already installed application on iphone. (Box in this case). Box contains some MS office file which I need to access. I am not very sure how can I achieve this. I tried multiple options such as extracting .app file from iTunes and deploying using Appium, but no success. Can someone please guide me, if this is possible. If yes, how? 回答1: Automate a preinstalled app with following scenario.

ApacheHttpClient$Factory throwing java.lang.NoClassDefFoundError Exception

偶尔善良 提交于 2020-03-26 03:53:40
问题 I'm trying to run a sample test via Appium on BrowserStack. All the code comes from BrowserStack and uses their sample .ipa file. The following is the log for the error that I'm receiving. Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/remote/internal/ApacheHttpClient$Factory at io.appium.java_client.remote.AppiumCommandExecutor.<init>(AppiumCommandExecutor.java:55) at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:131) at io.appium.java_client.ios

npm install -g ios-deploy didn't work , it displays error

╄→гoц情女王★ 提交于 2020-01-24 05:51:04
问题 I am trying to install APPIUM on my machine and want to run it in actual device, for that i have to install the command 'npm install -g ios-deploy' but when i am trying to install it is dispalying the error. Error: he following build commands failed: PhaseScriptExecution Run\ Script build/ios-deploy.build/Release/ios-deploy.build/Script-C0CD3D981F59D20100F954DB.sh (1 failure) npm ERR! code ELIFECYCLE npm ERR! errno 65 npm ERR! ios-deploy@1.9.2 preinstall: ./src/scripts/check_reqs.js &&