Hi
I am trying to run a small test against the iOS Simulator using Appium together with Selenium GRID. I am using the C# language bindings.
If I run my test, I get the following exception:
System.InvalidOperationException : Error forwarding the new session cannot find : Capabilities [{platformVersion=8.1, browserName=safari, platformName=iOS, deviceName=iPhone 5}]
In my test I use the following capabilities:
- platformName: iOS
- platformVersion: 8.1
- browserName: safari
- deviceName: iPhone 5
Before I start the tests, I start the Simulator and the Safari app on my mac.
On my Mac I use XCode 6.1 and Appium 1.3.1
I use the following nodeconfig for Appium:
{
âcapabilitiesâ:
[
{
âbrowserNameâ: âiPhone 5â,
âversionâ:â8.1â,
âmaxInstancesâ: 1,
âplatformâ:âMACâ
}
],
âconfigurationâ:
{
âcleanUpCycleâ:2000,
âtimeoutâ:30000,
âproxyâ: âorg.openqa.grid.selenium.proxy.DefaultRemoteProxyâ,
âurlâ:âhttp://10.116.1.129:4723/wd/hubâ,
âmaxSessionâ: 1,
âportâ: 4723,
âhostâ: â10.116.1.129â,
âregisterâ: true,
âregisterCycleâ: 5000,
âhubPortâ: 4444,
âhubHostâ: â10.116.1.74â }
}
- I ran the Doctor from the Appium GUI and all iOS checks succeeded.
- I checked the device list in XCode. It contains a simulated device
with the capabilities defined in the nodeconfig. - The GRID hub on my Windows PC is running and the Appium node is
connected successfully. - The Grid console shows the device capabilities defined in the
nodeconfig.
I tried different combinations of capabilites, but I am always ending up with the same error.
Any ideas what is going wrong?
I really appreciate your help.
With best regards,
Nicolas