mare
June 12, 2017, 3:27pm
1
Hi everybody,
I’m testing a mobile safari using appium and am using python to run the script. The problem is sometimes the test works and sometimes doesn’t. Does anybody has a similiar problem or solution?
here is my sample-code:
here is the log-file, if the test is failing:
Operation timed out
[HTTP] --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"iPhone 6s","xcodeOrgId":"XXXXXXXXXX","udid":"auto","automationName":"XCUITest","startIWDP":true,"safariInitialUrl":"https://google.de","useNewWDA":true,"clearSystemFiles":true,"browserName":"Safari","autoWebView":true,"webkitResponseTimeout":10000,"newCommandTimeout":20000,"platformVersion":"10.3","noReset":true,"platformName":"ios","xcodeSigningId":"iPhone Developer"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone 6s","xcodeOrgId":"XXXXXXXXXX","udid":"auto","automationName":"XCUITest","startIWDP":true,"safariInitialUrl":"https://google.de","useNewWDA":true,"clearSystemFiles":true,"browserName":"Safari","autoWebView":true,"webkitResponseTimeout":10000,"newCommandTimeout":20000,"platformVersion":"10.3","noReset":true,"platformName":"ios","xcodeSigningId":"iPhone Developer"},{},null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1497019244622 (16:40:44 GMT+0200 (CEST))
[Appium] Creating new XCUITestDriver (v2.30.0) session
[Appium] Capabilities:
[Appium] deviceName: 'iPhone 6s'
[Appium] xcodeOrgId: 'XXXXXXXXX'
[Appium] udid: 'auto'
[Appium] automationName: 'XCUITest'
[Appium] startIWDP: true
This file has been truncated. show original
regards