Cant start simulator for help, the error make me creazy


#1

when i click ios run button there are issue ,can’t start simulator ,i don’t know why ,is anyone can help me
_the log is :
SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
2019-11-06 16:09:03.754 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-11-06 16:09:03.756 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Ford/BRD_G_2/TS_Accessories/TC_Accessories_01_02
2019-11-06 16:09:04.028 DEBUG testcase.TC_Accessories_01_02 - 1: try
2019-11-06 16:09:04.029 DEBUG testcase.TC_Accessories_01_02 - 1: if (getUrl() != domain + “/content/ford/cn/zh_cn/home/cars/escort.html”)
2019-11-06 16:09:04.458 WARN c.k.k.c.w.h.s.WebUIScreenCaptor - Cannot take screenshot
2019-11-06 16:09:04.460 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to get the url of the current window (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown)
2019-11-06 16:09:04.461 DEBUG testcase.TC_Accessories_01_02 - 2: catch (Exception e)
2019-11-06 16:09:04.462 DEBUG testcase.TC_Accessories_01_02 - 1: e.printStackTrace()
com.kms.katalon.core.exception.StepFailedException: Unable to get the url of the current window (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown)
2019-11-06 16:09:04.470 DEBUG testcase.TC_Accessories_01_02 - 2: openBrowser(domain + “/content/ford/cn/zh_cn/home/cars/escort.html”)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.getUrl(GetUrlKeyword.groovy:71)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.execute(GetUrlKeyword.groovy:66)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.getUrl(WebUiBuiltInKeywords.groovy:233)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$getUrl.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at Script1547190496349.run(Script1547190496349.groovy:24)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)
at TempTestCase1573027742126.run(TempTestCase1573027742126.groovy:22)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
at groovy.lang.GroovyShell.run(GroovyShell.java:518)
at groovy.lang.GroovyShell.run(GroovyShell.java:507)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)
at groovy.ui.GroovyMain.run(GroovyMain.java:384)
at groovy.ui.GroovyMain.process(GroovyMain.java:370)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)
at groovy.ui.GroovyMain.main(GroovyMain.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)
2019-11-06 16:09:04.490 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘iOS’ driver
2019-11-06 16:09:04.667 INFO c.k.k.c.a.driver.AppiumDriverManager - ios_webkit_debug_proxy server started on port 62587
2019-11-06 16:09:06.382 INFO c.k.k.c.a.driver.AppiumDriverManager - Appium server started on port 62,589
[Appium] Welcome to Appium v1.8.1
[Appium] Non-default server args:
[Appium] port: 62589
[Appium] loglevel: info
[Appium] chromeDriverPort: 62590
[Appium] tmpDir: /var/folders/5v/92hlbbbd7kn96pp3d6_d1jgr0000gp/T//Katalon/Appium/Temp1573027744667
[Appium] webkitDebugProxyPort: 62587
[Appium] Appium REST http interface listener started on 0.0.0.0:62589
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[HTTP] <-- GET /wd/hub/status 200 12 ms - 83
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceName”:“iPhone 4s”,“newCommandTimeout”:1800,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“9.3”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“wdaLocalPort”:62586},“capabilities”:{“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceName”:“iPhone 4s”,“newCommandTimeout”:1800,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“9.3”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“wdaLocalPort”:62586},“firstMatch”:[{“browserName”:“Safari”,“platformName”:“ios”}]}}
[Appium] Could not parse W3C capabilities: ‘deviceName’ can’t be blank. Falling back to JSONWP protocol.
[Appium] The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: [“automationName”,“browserName”,“deviceName”,“newCommandTimeout”,“platform”,“platformName”,“platformVersion”,“realDeviceLogger”,“wdaLocalPort”]. Falling back to JSONWP protocol.
[Appium] Creating new XCUITestDriver (v2.84.0) session
[Appium] Capabilities:
[Appium] automationName: XCUITest
[Appium] browserName: Safari
[Appium] deviceName: iPhone 4s
[Appium] newCommandTimeout: 1800
[Appium] platform: IOS
[Appium] platformName: iOS
[Appium] platformVersion: 9.3
[Appium] realDeviceLogger: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole
[Appium] wdaLocalPort: 62586
[BaseDriver] The following capabilities were provided, but are not recognized by appium: platform.
[BaseDriver] Session created with session id: f483559c-e89a-452e-91c3-b1686b135914
2019-11-06 16:09:06.936 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceId = null
2019-11-06 16:09:06.937 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceName = iPhone 4s
2019-11-06 16:09:06.937 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceModel = Not available for Simulator
2019-11-06 16:09:06.937 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceManufacturer = Apple
2019-11-06 16:09:06.938 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOS = iOS
2019-11-06 16:09:06.938 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOSVersion = 9.3
2019-11-06 16:09:06.939 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/cn/zh_cn/home/cars/escort.html’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: ‘9.3’ does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 302 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver)
2019-11-06 16:09:06.942 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: catch (Exception e) FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/cn/zh_cn/home/cars/escort.html’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: ‘9.3’ does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 302 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_Accessories_01_02.run(TC_Accessories_01_02:31)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573027742126.run(TempTestCase1573027742126.groovy:22)

2019-11-06 16:09:06.944 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/Ford/BRD_G_2/TS_Accessories/TC_Accessories_01_02 FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/cn/zh_cn/home/cars/escort.html’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: ‘9.3’ does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 302 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_Accessories_01_02.run(TC_Accessories_01_02:31)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573027742126.run(TempTestCase1573027742126.groovy:22)

2019-11-06 16:09:06.946 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Ford/BRD_G_2/TS_Accessories/TC_Accessories_01_02


#2

@18837106883,

Please download and reinstall iOS Simulator in XCode.

Thanks


#3

thanks for you reply ,I check xcode again ,I find the simulator have download


#4

You may try to update appium to the latest version, kill all node process and start again


#5

thanks for you help ,i can start simulator ,but i can’t test my case ,the error is : UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined, can you tell me what should i do ,look forward to your reply

the total log is :
SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
2019-11-07 15:25:48.146 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-11-07 15:25:48.148 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Ford/BRD_AU_1/TS_LatestOffer/TC_LatestOffer_01_01
2019-11-07 15:25:48.418 DEBUG testcase.TC_LatestOffer_01_01 - 1: try
2019-11-07 15:25:48.419 DEBUG testcase.TC_LatestOffer_01_01 - 1: if (getUrl() != domain + “/content/ford/master/en_ms/home/latest-offers.html#sydney”)
2019-11-07 15:25:49.800 WARN c.k.k.c.w.h.s.WebUIScreenCaptor - Cannot take screenshot
2019-11-07 15:25:49.802 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to get the url of the current window (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown)
2019-11-07 15:25:49.803 DEBUG testcase.TC_LatestOffer_01_01 - 2: catch (Exception e)
2019-11-07 15:25:49.804 DEBUG testcase.TC_LatestOffer_01_01 - 1: e.printStackTrace()
com.kms.katalon.core.exception.StepFailedException: Unable to get the url of the current window (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown)
2019-11-07 15:25:49.810 DEBUG testcase.TC_LatestOffer_01_01 - 2: openBrowser(domain + “/content/ford/master/en_ms/home/latest-offers.html#sydney”)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.getUrl(GetUrlKeyword.groovy:71)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.execute(GetUrlKeyword.groovy:66)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.getUrl(WebUiBuiltInKeywords.groovy:233)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$getUrl.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at Script1547190496946.run(Script1547190496946.groovy:18)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)
at TempTestCase1573111546076.run(TempTestCase1573111546076.groovy:22)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
at groovy.lang.GroovyShell.run(GroovyShell.java:518)
at groovy.lang.GroovyShell.run(GroovyShell.java:507)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)
at groovy.ui.GroovyMain.run(GroovyMain.java:384)
at groovy.ui.GroovyMain.process(GroovyMain.java:370)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)
at groovy.ui.GroovyMain.main(GroovyMain.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)
2019-11-07 15:25:49.829 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘iOS’ driver
2019-11-07 15:25:50.095 INFO c.k.k.c.a.driver.AppiumDriverManager - ios_webkit_debug_proxy server started on port 54420
2019-11-07 15:25:51.498 INFO c.k.k.c.a.driver.AppiumDriverManager - Appium server started on port 54,422
e[35m[Appium]e[39m Welcome to Appium v1.15.1
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m port: 54422
e[35m[Appium]e[39m loglevel: info
e[35m[Appium]e[39m chromeDriverPort: 54423
e[35m[Appium]e[39m tmpDir: /var/folders/5v/92hlbbbd7kn96pp3d6_d1jgr0000gp/T//Katalon/Appium/Temp1573111550096
e[35m[Appium]e[39m webkitDebugProxyPort: 54420
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:54422
e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m3 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceName”:“iPhone 6 Plus”,“newCommandTimeout”:1800,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“9.3”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“wdaLocalPort”:54419},“capabilities”:{“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceName”:“iPhone 6 Plus”,“newCommandTimeout”:1800,“platform”:“IOS”,“platformName”:“iOS”,“platformVersion”:“9.3”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“wdaLocalPort”:54419},“firstMatch”:[{“browserName”:“Safari”,“platformName”:“ios”}]}}e[39m
e[35m[Appium]e[39m Could not parse W3C capabilities: ‘deviceName’ can’t be blank
e[35m[Appium]e[39m Trying to fix W3C capabilities by merging them with JSONWP caps
e[35m[BaseDriver]e[39m The capabilities [“automationName”,“deviceName”,“newCommandTimeout”,“platform”,“platformVersion”,“realDeviceLogger”,“wdaLocalPort”] are not standard capabilities and should have an extension prefix
e[35m[Appium]e[39m Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by Appium:
e[35m[BaseDriver]e[39m platform
e[35m[BaseDriver]e[39m Session created with session id: c1835cdb-3382-4f14-99de-a46c91ee97fe
e[35m[XCUITest]e[39m iOS SDK Version set to ‘11.4’
e[35m[iOSSim]e[39m Constructing iOS simulator for Xcode version 9.4.1 with udid ‘1DD2F738-4518-46F4-8A02-2FF81C5536DE’
e[35m[XCUITest]e[39m Determining device to run tests on: udid: ‘1DD2F738-4518-46F4-8A02-2FF81C5536DE’, real device: false
e[35m[XCUITest]e[39m Safari test requested
e[35m[iOSSim]e[39m Could not find Safari support directories to clean out old data. Probably there is nothing to clean out
e[35m[XCUITest]e[39m Continuing without capturing device logs: iOS Simulator with udid 1DD2F738-4518-46F4-8A02-2FF81C5536DE is not running
e[35m[XCUITest]e[39m Setting up simulator
e[35m[iOSSim]e[39m Booting Simulator with UDID 1DD2F738-4518-46F4-8A02-2FF81C5536DE…
e[35m[iOSSim]e[39m Simulator with UDID 1DD2F738-4518-46F4-8A02-2FF81C5536DE booted in 0 seconds
e[35m[XCUITest]e[39m idb will not be used for Simulator interaction. Original error: ‘idb’ has not been found in PATH. Is it installed? Read https://www.fbidb.io for more details
e[35m[XCUITest]e[39m Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent’
e[35m[XCUITest]e[39m Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj’
e[35m[DevCon Factory]e[39m Requesting connection for device 1DD2F738-4518-46F4-8A02-2FF81C5536DE on local port 54419, device port 54419
e[35m[DevCon Factory]e[39m Successfully requested the connection for 1DD2F738-4518-46F4-8A02-2FF81C5536DE:54419
e[35m[WD Proxy]e[39m Got an unexpected response with status undefined: {“errno”:“ECONNREFUSED”,“code”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:54419}
e[35m[XCUITest]e[39m Launching WebDriverAgent on the device
e[35m[WebDriverAgent]e[39m Fetching dependencies
e[35m[WebDriverAgent]e[39m Installing/updating dependencies for platforms ‘iOS’, ‘tvOS’
e[35m[XCUITest]e[39m Quitting and uninstalling WebDriverAgent
e[35m[XCUITest]e[39m Shutting down sub-processes
2019-11-07 15:26:04.626 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceId = null
2019-11-07 15:26:04.627 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceName = iPhone 6 Plus
2019-11-07 15:26:04.627 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceModel = Not available for Simulator
2019-11-07 15:26:04.628 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceManufacturer = Apple
2019-11-07 15:26:04.628 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOS = iOS
2019-11-07 15:26:04.629 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOSVersion = 9.3
2019-11-07 15:26:04.629 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/master/en_ms/home/latest-offers.html#sydney’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37))
2019-11-07 15:26:04.632 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: catch (Exception e) FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/master/en_ms/home/latest-offers.html#sydney’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37))
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_LatestOffer_01_01.run(TC_LatestOffer_01_01:29)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573111546076.run(TempTestCase1573111546076.groovy:22)

2019-11-07 15:26:04.635 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/Ford/BRD_AU_1/TS_LatestOffer/TC_LatestOffer_01_01 FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/master/en_ms/home/latest-offers.html#sydney’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37))
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_LatestOffer_01_01.run(TC_LatestOffer_01_01:29)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573111546076.run(TempTestCase1573111546076.groovy:22)

2019-11-07 15:26:04.636 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Ford/BRD_AU_1/TS_LatestOffer/TC_LatestOffer_01_01


#6

If you use KS version lower than v6.2.0, please install Appium v1.8.1. After the installation, you need to rebuild WebDriverAgent

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: undefined
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

Thanks


#7

Hi I use ks version is 5.10.0 , install appium v1.8.1 can’t start simulator ,the problem is go back frist , if I update appium to lastest version the simulator can start ,but the issue is go back second issue unable to launch WebDriverAgent because of xcodebuild failure .
Look forward to your reply

the appium version v1.8.1 err log is :
SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
2019-11-07 16:59:35.598 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-11-07 16:59:35.600 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Ford/BRD_AU_1/TS_LatestOffer/TC_LatestOffer_01_01
2019-11-07 16:59:35.869 DEBUG testcase.TC_LatestOffer_01_01 - 1: try
2019-11-07 16:59:35.870 DEBUG testcase.TC_LatestOffer_01_01 - 1: if (getUrl() != domain + “/content/ford/master/en_ms/home/latest-offers.html#sydney”)
2019-11-07 16:59:37.177 WARN c.k.k.c.w.h.s.WebUIScreenCaptor - Cannot take screenshot
2019-11-07 16:59:37.179 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to get the url of the current window (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown)
2019-11-07 16:59:37.179 DEBUG testcase.TC_LatestOffer_01_01 - 2: catch (Exception e)
2019-11-07 16:59:37.180 DEBUG testcase.TC_LatestOffer_01_01 - 1: e.printStackTrace()
com.kms.katalon.core.exception.StepFailedException: Unable to get the url of the current window (Root cause: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown)
2019-11-07 16:59:37.187 DEBUG testcase.TC_LatestOffer_01_01 - 2: openBrowser(domain + “/content/ford/master/en_ms/home/latest-offers.html#sydney”)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.getUrl(GetUrlKeyword.groovy:71)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.execute(GetUrlKeyword.groovy:66)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.getUrl(WebUiBuiltInKeywords.groovy:233)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$getUrl.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at Script1547190496946.run(Script1547190496946.groovy:18)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)
at TempTestCase1573117173601.run(TempTestCase1573117173601.groovy:22)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
at groovy.lang.GroovyShell.run(GroovyShell.java:518)
at groovy.lang.GroovyShell.run(GroovyShell.java:507)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)
at groovy.ui.GroovyMain.run(GroovyMain.java:384)
at groovy.ui.GroovyMain.process(GroovyMain.java:370)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)
at groovy.ui.GroovyMain.main(GroovyMain.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)
2019-11-07 16:59:37.205 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘iOS’ driver
2019-11-07 16:59:37.354 INFO c.k.k.c.a.driver.AppiumDriverManager - ios_webkit_debug_proxy server started on port 55879
2019-11-07 16:59:38.426 INFO c.k.k.c.a.driver.AppiumDriverManager - Appium server started on port 55,881
[Appium] Welcome to Appium v1.8.1
[Appium] Non-default server args:
[Appium] port: 55881
[Appium] loglevel: info
[Appium] chromeDriverPort: 55882
[Appium] tmpDir: /var/folders/5v/92hlbbbd7kn96pp3d6_d1jgr0000gp/T//Katalon/Appium/Temp1573117177354
[Appium] webkitDebugProxyPort: 55879
[Appium] Appium REST http interface listener started on 0.0.0.0:55881
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[HTTP] <-- GET /wd/hub/status 200 13 ms - 83
[HTTP]
2019-11-07 16:59:38.956 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceId = null
2019-11-07 16:59:38.956 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceName = iPhone 4s
2019-11-07 16:59:38.957 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceModel = Not available for Simulator
2019-11-07 16:59:38.957 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceManufacturer = Apple
2019-11-07 16:59:38.957 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOS = iOS
2019-11-07 16:59:38.958 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOSVersion = 9.3
2019-11-07 16:59:38.958 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/master/en_ms/home/latest-offers.html#sydney’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: ‘9.3’ does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 284 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver)
2019-11-07 16:59:38.961 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: catch (Exception e) FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/master/en_ms/home/latest-offers.html#sydney’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: ‘9.3’ does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 284 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_LatestOffer_01_01.run(TC_LatestOffer_01_01:29)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573117173601.run(TempTestCase1573117173601.groovy:22)

2019-11-07 16:59:38.963 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/Ford/BRD_AU_1/TS_LatestOffer/TC_LatestOffer_01_01 FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/master/en_ms/home/latest-offers.html#sydney’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: ‘9.3’ does not exist in the list of simctl SDKs. No Simulator SDK versions are available on your system. Please install some via Xcode preferences. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 284 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_LatestOffer_01_01.run(TC_LatestOffer_01_01:29)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573117173601.run(TempTestCase1573117173601.groovy:22)

2019-11-07 16:59:38.964 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Ford/BRD_AU_1/TS_LatestOffer/TC_LatestOffer_01_01


#8

This error is the same error as the first error. Maybe the problem comes from Appium v1.8.1. You should download Katalon Studio version v6.2.0 or later and install the latest Appium version.

Thanks


#9

update the katalon version to the lastest 7.0.6 , and the appium version is 1.15.1 ,I can’t start simulator when I click ios run .
look forward to your reply
Thanks

the error log is :
2019-11-07 17:30:03.544 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-11-07 17:30:03.546 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Ford/BRD_G_1/TS_ContactBar/TC_ContactBar_01_01
2019-11-07 17:30:03.773 DEBUG testcase.TC_ContactBar_01_01 - 1: try
2019-11-07 17:30:03.776 DEBUG testcase.TC_ContactBar_01_01 - 1: if (getUrl() != domain + “/content/ford/cn/zh_cn/home/service/maintenance/car-maintenance.html”)
2019-11-07 17:30:03.989 WARN c.k.k.c.w.h.s.WebUIScreenCaptor - Cannot take screenshot
2019-11-07 17:30:03.993 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to get the url of the current window (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to get the url of the current window
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.getUrl(GetUrlKeyword.groovy:71)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.execute(GetUrlKeyword.groovy:66)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.getUrl(WebUiBuiltInKeywords.groovy:233)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$getUrl.call(Unknown Source)
at TC_ContactBar_01_01.run(TC_ContactBar_01_01:24)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573119001967.run(TempTestCase1573119001967.groovy:23)
Caused by: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown
at com.kms.katalon.core.webui.driver.DriverFactory.verifyWebDriverIsOpen(DriverFactory.java:772)
at com.kms.katalon.core.webui.driver.DriverFactory.verifyWebDriver(DriverFactory.java:757)
at com.kms.katalon.core.webui.driver.DriverFactory.getWebDriver(DriverFactory.java:743)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword$_getUrl_closure1.doCall(GetUrlKeyword.groovy:73)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword$_getUrl_closure1.call(GetUrlKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.getUrl(GetUrlKeyword.groovy:71)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.execute(GetUrlKeyword.groovy:66)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.getUrl(WebUiBuiltInKeywords.groovy:233)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$getUrl.call(Unknown Source)
at Script1547190496754.run(Script1547190496754.groovy:24)
… 11 more
)
2019-11-07 17:30:03.997 DEBUG testcase.TC_ContactBar_01_01 - 2: catch (Exception e)
2019-11-07 17:30:03.998 DEBUG testcase.TC_ContactBar_01_01 - 1: e.printStackTrace()
com.kms.katalon.core.exception.StepFailedException: Unable to get the url of the current window
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.getUrl(GetUrlKeyword.groovy:71)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword.execute(GetUrlKeyword.groovy:66)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.getUrl(WebUiBuiltInKeywords.groovy:233)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$getUrl.call(Unknown Source)
at TC_ContactBar_01_01.run(TC_ContactBar_01_01:24)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573119001967.run(TempTestCase1573119001967.groovy:23)
Caused by: com.kms.katalon.core.webui.exception.BrowserNotOpenedException: Browser is not opened
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: unknown
at com.kms.katalon.core.webui.driver.DriverFactory.verifyWebDriverIsOpen(DriverFactory.java:772)
at com.kms.katalon.core.webui.driver.DriverFactory.verifyWebDriver(DriverFactory.java:757)
at com.kms.katalon.core.webui.driver.DriverFactory.getWebDriver(DriverFactory.java:743)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword$_getUrl_closure1.doCall(GetUrlKeyword.groovy:73)
at com.kms.katalon.core.webui.keyword.builtin.GetUrlKeyword$_getUrl_closure1.call(GetUrlKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
… 17 more
2019-11-07 17:30:04.005 DEBUG testcase.TC_ContactBar_01_01 - 2: openBrowser(domain + “/content/ford/cn/zh_cn/home/service/maintenance/car-maintenance.html”)
2019-11-07 17:30:04.076 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘iOS’ driver
2019-11-07 17:30:14.289 WARN c.k.k.c.a.driver.AppiumDriverManager - Failed to start ios_webkit_debug_proxy on default port 27753
2019-11-07 17:30:15.047 INFO c.k.k.c.a.driver.AppiumDriverManager - Appium server started on port 56,338
e[35m[Appium]e[39m Welcome to Appium v1.15.1
e[35m[Appium]e[39m Non-default server args:
e[35m[Appium]e[39m port: 56338
e[35m[Appium]e[39m loglevel: info
e[35m[Appium]e[39m chromeDriverPort: 56339
e[35m[Appium]e[39m tmpDir: /var/folders/5v/92hlbbbd7kn96pp3d6_d1jgr0000gp/T//Katalon/Appium/Temp1573119014291
e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:56338
e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m
e[35m[HTTP]e[39m e[90m{}e[39m
e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m4 ms - 68e[39m
e[35m[HTTP]e[39m e[90me[39m
e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“newCommandTimeout”:1800,“realDeviceLogger”:"/Applications/Katalon Studio 2.app/Contents/Eclipse/configuration/resources/tools/deviceconsole",“platformVersion”:“10.0”,“automationName”:“XCUITest”,“browserName”:“Safari”,“platformName”:“iOS”,“deviceName”:“test”,“platform”:“IOS”,“wdaLocalPort”:56300},“capabilities”:{“firstMatch”:[{“appium:automationName”:“XCUITest”,“browserName”:“Safari”,“appium:deviceName”:“test”,“appium:newCommandTimeout”:1800,“platform”:“IOS”,“platformName”:“ios”,“appium:platformVersion”:“10.0”,“realDeviceLogger”:"/Applications/Katalon Studio 2.app/Contents/Eclipse/configuration/resources/tools/deviceconsole",“appium:wdaLocalPort”:56300}]}}e[39m
e[35m[BaseDriver]e[39m The capabilities [“platform”,“realDeviceLogger”] are not standard capabilities and should have an extension prefix
2019-11-07 17:30:16.075 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceId = null
2019-11-07 17:30:16.075 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceName = iPhone 6 Plus
2019-11-07 17:30:16.075 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceModel = Not available for Simulator
2019-11-07 17:30:16.076 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceManufacturer = Apple
2019-11-07 17:30:16.076 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOS = iOS
2019-11-07 17:30:16.076 INFO c.k.k.c.a.driver.AppiumDriverManager - deviceOSVersion = 10.0
2019-11-07 17:30:16.078 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/cn/zh_cn/home/service/maintenance/car-maintenance.html’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/cn/zh_cn/home/service/maintenance/car-maintenance.html
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_ContactBar_01_01.run(TC_ContactBar_01_01:31)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573119001967.run(TempTestCase1573119001967.groovy:23)
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:85)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:495)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)
at com.kms.katalon.core.webui.driver.WebMobileDriverFactory.createMobileDriver(WebMobileDriverFactory.java:132)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:316)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:206)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at Script1547190496754.run(Script1547190496754.groovy:31)
… 11 more
Caused by: java.lang.reflect.InvocationTargetException
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
… 36 more
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
… 37 more
)
2019-11-07 17:30:16.083 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/Ford/BRD_G_1/TS_ContactBar/TC_ContactBar_01_01 FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘https://wwwqa.brandaplb.ford.com/content/ford/cn/zh_cn/home/service/maintenance/car-maintenance.html
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_ContactBar_01_01.run(TC_ContactBar_01_01:31)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1573119001967.run(TempTestCase1573119001967.groovy:23)
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:85)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:495)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)
at com.kms.katalon.core.webui.driver.WebMobileDriverFactory.createMobileDriver(WebMobileDriverFactory.java:132)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:316)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:206)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at Script1547190496754.run(Script1547190496754.groovy:31)
… 11 more
Caused by: java.lang.reflect.InvocationTargetException
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
… 36 more
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘MGC000010352.’, ip: ‘fe80:0:0:0:441:59f6:e98a:9e4a%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_181’
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not create simulator with name ‘appiumTest-A8DEA585-7A84-4574-BC01-D0C6C32BCF7E-test’, device type id ‘test’ and runtime id ‘com.apple.CoreSimulator.SimRuntime.iOS-10-0’. Reason: ‘simctl error running ‘create’: Invalid device type: test’
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:388:37)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:85)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:495)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:479)
at com.kms.katalon.core.webui.driver.WebMobileDriverFactory.createMobileDriver(WebMobileDriverFactory.java:132)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:316)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:206)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser$0.call(Unknown Source)
at TC_ContactBar_01_01.run(TC_ContactBar_01_01:31)
… 11 more

2019-11-07 17:30:16.087 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Ford/BRD_G_1/TS_ContactBar/TC_ContactBar_01_01
e[35m[Appium]e[39m Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by Appium:
e[35m[BaseDriver]e[39m platform
e[35m[BaseDriver]e[39m Session created with session id: 49ea0507-f329-482a-a93c-5d4f5ae48b79
e[35m[XCUITest]e[39m iOS SDK Version set to ‘11.4’
e[35m[XCUITest]e[39m Simulator udid not provided
e[35m[XCUITest]e[39m Using desired caps to create a new simulator
e[35m[DevCon Factory]e[39m Neither device UDID nor local port is set. Did not know how to release the connection
e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session e[39me[31m500e[39m e[90m704 ms - 983e[39m
e[35m[HTTP]e[39m e[90me[39m


#10

anyone can help me ,the error make me a little creazy:rofl:


#11

@18837106883,

The issue causes KS cannot launch Safari browser on iOS Simulator will be fixed in v7.1.0 release. We will update soon.

Thanks


#12

great, thanks for your reply , I look forward to this version

Best wishes


#13

Is this issue the same as the one I am seeing and will it be fixed soon also? Here is a link to my post about the iOS Simulator


#14

@tjksc

Yes. It’s the same issue.


#15

Ok, thanks!