Skip to content

Instantly share code, notes, and snippets.

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, "XCUITest");
capabilities.setCapability("agentPath", "/Users/mohammadmuntakim1/Documents/temp/WebDriverAgent");
capabilities.setCapability("bootstrapPath", "/Users/mohammadmuntakim1/Documents/temp/WebDriverAgent/WebDriverAgent.xcodeproj");
capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "iOS");
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "10.0");
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPad Air 2");
capabilities.setCapability(MobileCapabilityType.APP, configReader.getAppPath());
capabilities.setCapability(MobileCapabilityType.NO_RESET, false);
appiumDriver = new IOSDriver(new URL("http://0.0.0.0:4723/wd/hub"),
Mohammads-MacBook-Pro:appium mohammadmuntakim1$ appium
[Appium] Welcome to Appium v1.6.0-beta3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"agentPath":"/Users/mohammadmuntakim1/Documents/temp/WebDriverAgent","app":"/Users/mohammadmuntakim1/Documents/ios_rfr_app/Sandbox.app","bootstrapPath":"/Users/mohammadmuntakim1/Documents/temp/WebDriverAgent/WebDriverAgent.xcodeproj","noReset":false,"platformVersion":"10.0","automationName":"XCUITest","platformName":"iOS","deviceName":"iPad Air 2"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"agentPath":"/Users/moham...
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] agentPath: '/Users/mohammadmuntakim1/Documents/temp/WebDriverAgent'
[Appium] app: '/Users/mohammadmuntakim1/Documents/ios_rfr_app/Sandbox.app'
[Appium] bootstrapPath: '/Users/mohammadmuntakim1/Documents/temp/WebDriverAgent/WebDriverAgent.xcodeproj'
Mohammads-MacBook-Pro:appium mohammadmuntakim1$ appium
[Appium] Welcome to Appium v1.6.0-beta3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/mohammadmuntakim1/Documents/ios_rfr_app/Sandbox.app","noReset":false,"platformVersion":"10.0","automationName":"XCUITest","platformName":"iOS","deviceName":"iPad Air 2"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/mohammadmun...
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] app: '/Users/mohammadmuntakim1/Documents/ios_rfr_app/Sandbox.app'
[Appium] noReset: false
[Appium] platformVersion: '10.0'
@mmuntakim15
mmuntakim15 / gist:d5044feab3b6a3d448147fe81df80b84
Created August 12, 2016 19:39
Local Appium log for Test Scenario
[Appium] Welcome to Appium v1.5.3
[Appium] Non-default server args:
[Appium] sessionOverride: true
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 13 ms - 83
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/mohammadmuntakim1/Library/Developer/Xcode/DerivedData/setServices-hbopcpivoswffbbrfgpfanppqazy/Build/Products/Debug-iphonesimulator/Sandbox.app","noReset":false,"platformName":"iOS","deviceName":"iPad Air 2","platformVersion":"9.3"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/mohammadmun...
@mmuntakim15
mmuntakim15 / Drag and Drop Error
Created August 8, 2016 20:33
Appium Drag And Drop Error
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --debug-log-spacing --robot-address "0.0.0.0" --robot-port "4" --platform-version "9.3" --platform-name "iOS" --app "com.reserve.rfr.sandbox" --backend-retries "3" --device-name "iPad Air 2" --launch-timeout "90000" --native-instruments-lib
[Appium] Welcome to Appium v1.5.3
[Appium] Non-default server args:
[Appium] robotPort: 4
[Appium] debugLogSpacing: true
[Appium] platformName: 'iOS'