TestComplete hanging during iOS automation with background script execution
Hi everyone,
I’m currently running into an issue while trying to automate a series of regression tests on physical iOS devices using TestComplete. My project requires me to validate how our application handles high-load scenarios while secondary script executors are active in the background, but I'm seeing consistent session timeouts that I can't quite pin down.
Specifically, I’ve been trying to run these tests while an exploit ios environment is processing tasks on the same device. Every time TestComplete attempts to record a new user action or play back a keyword test while that environment is active, the TestComplete agent on the device seems to lose connection or becomes completely unresponsive.
I’ve already checked the "Object Search" timeout settings and tried increasing the project’s playback delay, but the hang seems to happen at the OS level rather than within the app itself. Has anyone else experienced TestComplete crashing or hanging when the iOS device is under heavy load from third-party script injectors or executors?
I’m curious if there are specific iOS "Background App Refresh" settings or developer mode configurations I should be tweaking to ensure TestComplete maintains its hook even when other scripts are running. If anyone has a workaround for keeping the automation stable during these types of complex execution scenarios, I’d really appreciate the help!