iOS App crashes after calling window().getSize() - Appium 1.6.3 - XCUITest
See original GitHub issueThe problem
I go to a screen that is our Sing Out screen. When I go by hand and perform actions app doesn’t crash, but when I call window().getSize()
or any other method via appium on that screen the app crashes.
Environment
- Appium version (or git revision) that exhibits the issue: 1.6.3
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium: MacOS
- Mobile platform/version under test: iOS 10.2
- Real device or emulator/simulator: real and emulator
Link to Appium logs
[debug] [MJSONWP] Calling AppiumDriver.getWindowSize() with args: ["current","c0c2d84d-406d-43ea-b6c1-b370e8d23b64"]
[debug] [XCUITest] Executing command 'getWindowSize'
[debug] [JSONWP Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8100/session/68D14552-77E6-4591-836E-5505D4A9D260/window/current/size] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Application is not running, possibly crashed\",\n \"sessionId\" : \"68D14552-77E6-4591-836E-5505D4A9D260\",\n \"status\" : 10\n}"
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
iOS - Test Suite run crashes half way through - Appium Discuss
I have hundreds of tests and when I run them on an iOS device over night, then next morning I check my results...
Read more >Getting error while launching an app in Appuim 1.6.3 from ...
When I run Java code to launch any iOS App / SafariLauncher the I get the following error on ... createSession() with args:...
Read more >Unable to open the application on IOS Simulator with Appium ...
Ran the Appium Webdriver opened successfully on simulator Application just opened and closed immediately Please find the crash log below ...
Read more >WebDriverAgentRunner crash (Appium 1.6.0 - Xcode 8 - iOS ...
When I run the test code, it installs my MyApp.app ... Appium iOS driver, backed by Apple XCUITest . ... createSession() with args: ......
Read more >Appium iOS Testing - Crash with invalid Element State
Problem When running my Appium tests and even when inspecting the app under test with Appium inspector, the app always crashes at the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This looks rather like some XCTest bug and it would be better to forward the issue to the parent project https://github.com/facebook/WebDriverAgent/issues or to Apple forums.
I have doubts we can help here. 😦
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.