Имеет проблемы при запуске приложения Appium для автоматического тестирования мобильных приложений < /p>
Следующие версии инструментов, которые я использую
appium version: 1.2.1
xcode: 5.1.1 < /p>
Ниже приведены шаги, < /p>
Appium.dmg
[*] Запуск файла DMG, а затем запустил файл appium.app
[*] Построение приложения для симулятора 7.1 из xcode
On Appium.App, включенная опция «Путь приложения» и предоставленный. Simulator/7.1/Applications/878133B5-7078-4E92-B3A2-607A3A3C2AC3/Рецепты. /> Timeout New Command Timeout: 7200S < /li>
< /ol>
Когда я нажимаю кнопку «Запустить», тогда все кажется в порядке. < /p>
Когда я нажимаю кнопку «Инспектор», затем следующие ошибки отображаются, < /p>
не может запустить Appos oppos oppos oppos oppos opport, < /p>
не может запустить аппейум. /> Не удалось запустить новый сеанс < /p>
Убедитесь, что Appium Server работает с открытым приложением с использованием параметра «Path» в Appium.App (вместе с пакетом и активностью для Android) или подключившись к клиенту Selenium и поставки Appium. />
2014-08-21T17:57:57.789Z - info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"7.1","newCommandTimeout":"999999","automationName":"Appium"}}
2014-08-21T17:57:57.792Z - info: GET /wd/hub/status {}
—————————————————
When Launching with ‘Prelaunch Application’:Enabled, got following errors
2014-08-21T18:00:55.417Z - debug: Attempting to retry launching instruments, this is retry #3
2014-08-21T18:00:55.418Z - debug: Killall iPhoneSimulator
2014-08-21T18:01:00.420Z - info: Launching instruments
2014-08-21T18:01:00.421Z - debug: Attempting to run app on iPhone Retina (4-inch) - Simulator - iOS 7.1
2014-08-21T18:01:00.422Z - debug: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w iPhone Retina (4-inch) - Simulator - iOS 7.1 /Users/umairrashid/Library/Application Support/iPhone Simulator/7.1/Applications/878133B5-7078-4E92-B3A2-607A3A3C2AC3/Recipes.app -e UIASCRIPT /Users/umairrashid/Library/Application Support/appium/bootstrap/bootstrap-7a459bb511e03f3b.js -e UIARESULTSPATH /tmp/appium-instruments
2014-08-21T18:01:00.422Z - debug: And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd/InstrumentsShim.dylib","LIB_PATH":"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd"}
2014-08-21T18:01:00.422Z - debug: And launch timeouts (in ms): {"global":90000}
2014-08-21T18:01:01.415Z - debug: [INST STDERR] Instruments Usage Error : Could not remove existing output document 'file:///Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/instrumentscli0.trace': Error Domain=NSCocoaErrorDomain Code=642 "You can’t save the file “instrumentscli0.trace” because the volume “Appium” is read only." UserInfo=0x7fac5e2d6100 {NSFilePath=/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/instrumentscli0.trace, NSUnderlyingError=0x7fac5d92d760 "The operation couldn’t be completed. Read-only file system"}.
2014-08-21T18:01:01.483Z - debug: [INSTSERVER] Instruments exited with code 254
2014-08-21T18:01:01.483Z - debug: Killall instruments
2014-08-21T18:01:01.486Z - debug: Instruments crashed on startup
< /code>
Здесь я ожидаю, что когда я нажимаю кнопку «Проверка» из Appium, запускается симулятор, и я вижу Xpaths и т. Д.>
Подробнее здесь: https://stackoverflow.com/questions/254 ... appium-app
Требуется Appium-help: Simulator не запускает приложение от Appium.App ⇐ IOS
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение