Post

Replies

Boosts

Views

Activity

XCUITest interact with system dialogs
I have a test I want to be able to run, but need to be able to handle different states, might be logged in, might have saved login credentials in Safari, etc.When a system dialog, "Safari Saved Password" in this case, comes up, I cannot seem to affect it any way, even though I have recorded a session that selectes "Not Now", the query actually fails to find the button.The Accessibility inspector shows the button existing about 3 levels down, but there doesn't seem to be a way I can find to access it. AXApplication AXWindow AXButtonIs there a way to get to this thing?Thanks!
14
0
23k
Aug ’15