다음과 같이 알 수없는 명령은 스크롤을 제외한 모든 이동 명령이 제거 된) 및 TestNg를 실행하고 로컬 시뮬레이터에서 제대로 실행되는지 관찰합니다. 그러나 AWS Device Farm에서는 동일한 코드가 작동하지 않습니다. AWS 장치 농장에서 실행되는AWS 장치 농장 오류 : 나는 샘플 테스트 스위트를했습니다
swipeTest failed: Unknown command, all the mobile commands except scroll
have been removed. (WARNING: The server did not provide any stacktrace
information) Command duration or timeout: 215 milliseconds Build info:
version: '3.2.0', revision: '8c03df6b79', time: '2017-02-23 10:51:31 +0000'
System info: host: 'ip-172-31-13-65', ip: '172.31.13.65', os.name: 'Linux',
os.arch: 'amd64', os.version: '3.13.0-53-generic', java.version: '1.8.0_65'
Driver info: io.appium.java_client.ios.IOSDriver Capabilities
[{app=com.sears.relay, networkConnectionEnabled=false,
databaseEnabled=false, deviceName=546f99bb46f19bd77d35316105eda6af056611ae,
platform=MAC, platformVersion=10.0.2, webStorageEnabled=false,
locationContextEnabled=false, browserName=, takesScreenshot=true,
javascriptEnabled=true, platformName=iOS,
udid=546f99bb46f19bd77d35316105eda6af056611ae}] Session ID: 5360d97b-4fa9-
440e-af0a-5b9b55acf87d
대신 IOSDriver, 나는이 RemoteWebDriver를 초기화 https://aws.amazon.com/blogs/mobile/test-ios-apps-on-aws-device-farm-using-appium-part-1-prerequisities-environment-set-up-and-test-creation/
어떤 도움에 설명 된 절차를 따랐다는 높게 평가된다.