I am facing issue to run the test in ios 10.x real device. Am able to run the test successfully in simulator.
The below listed steps I followed to run the test in real device.
1.Started the appium server from terminal (server arguments are Ip,port,udid,platform,platform version)
2.Connect the desktop and device in same network
It installed and started the webdriver agent and it installed application in the device ,but it's not able to launch the app in device.
please help to overcome from this isssue
Please find my environment details below
1.Appium -1.6.0beta2
2.Xcode - 8.0
3.mac version - 10.11.6
4.device - iphone6(ios 10.0.1)
@sugatmankar: How to do parallel execution in iOS 10.2 devices with Appium 1.6.3
@VikramVI I figured it out
@sugatmankar if i provide wdaPort as caps i see the app launching parallel, but the tests run in sequence
[debug] [XCUITest] Starting iproxy to forward traffic from local port 63709 to device port 8100 over USB
When you run your tests can u see what the iproxy forward traffic port is
@saikrishna321: Can you please provide the command that you use for starting appium session
@pavanbachu i got it running in parallel they are extremely close though
Hello Guys,
I mentioned for 10.X version only and please always use updated appium from its source. Rest thing about invoking parallel test is up to you ie use cucumber jvm parallel plugin or TestNG for invoking test cases, or launch one by one by changing device id manually. Hope you enjoyed working on iOS always changing , its better to say always challenging if you are not aware its changes.
@pavanbachu nope, i have build this framework AppiumTestDistribution which takes of parallel run
@sugatmankar
Was able to start Appium instance at different port , but iproxy local port seems to 8100 for both runs. So one of the them throws error ..
[XCUITest] Error: iproxy exited with code '208'
at SubProcess. (../../lib/webdriveragent.js:438:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (../../lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:12)
Error: iproxy exited with code '208'
at SubProcess. (../../lib/webdriveragent.js:438:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (../../lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:12)
@saikrishna321 : How were able to spin iproxy at port 63709 which is by default 8100.. ?
@alangithubtrader have tried the parallel run on 1.6.4 beta and it runs perfectly.