KIF select "Back To <APP NAME>"

39 views
Skip to first unread message

John Slay

unread,
May 3, 2016, 4:41:35 PM5/3/16
to KIF iOS Automated Testing Framework
Does anyone know if this is possible? I've tried selecting point at 0,0 but it's not working for me.

Michael Lupo

unread,
May 3, 2016, 4:58:01 PM5/3/16
to kif-fr...@googlegroups.com
John,
Some context would be beneficial.

Mike

On May 3, 2016, at 4:30 PM, John Slay <john...@metova.com> wrote:

Does anyone know if this is possible? I've tried selecting point at 0,0 but it's not working for me.

--
You received this message because you are subscribed to the Google Groups "KIF iOS Automated Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kif-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Firestone

unread,
May 5, 2016, 5:00:02 PM5/5/16
to KIF iOS Automated Testing Framework
KIF runs in-process for your app, and the "Back to <Other App>" button at the very top left is part of the status bar view, which I'm fairly certain is owned by a different OS process. So, in short, it's unlikely that you can tap that button.

In general, because of limitations from being run in-process, KIF isn't appropriate for testing things like multi-app switching, backgrounding, or similar scenarios that have to interact with Springboard or other parts of the external OS. In your scenario, even if you could tap the "Back to" button, KIF wouldn't have access to the app you switched to, so you'd be stuck there.
Reply all
Reply to author
Forward
0 new messages