In the process of automation, I ran into a place in the application where there is a loadable list. When Appium searches for items, it reaches the end of the list and generates an event to load another piece of data into the list. Since the complete list is quite large, these operations cause the application to hang.

I observe in server logs:

[debug] [WebDriverAgent] Device: Dec 7 11:32:33 iPhone XCTRunner [252]: Enqueue = Error getting main window -25204} 0 1

This caption appears with some frequency and the application does not respond to either the script or the fingers.

How can one bypass this eternal loading of elements?

Environment: appium 1.6.1, Xcode 8.1, Java 1.8, iOS 9.3

  • if the list itself is not particularly important, you can get a response from the server and return the clearly short list. - Lexx918

0