ios - Can I run a KIF test that puts my app in the background? -


i'm working on developing tests using kif project. want know if it's possible have kif simulate tap on home button? possible simulate other actions @ point, such bringing command center or notification center?

at least partial answer you, take @ deactivateappforduration in kiftestactor.h:

/*!  @abstract backgrounds app using uiautomation command, simulating pressing home button  @param duration amount of time background event before app becomes active again  */ - (void)deactivateappforduration:(nstimeinterval)duration; 

Comments

Popular posts from this blog

javascript - Complete OpenIDConnect auth when requesting via Ajax -

c# - Replace text in MailItem Body -

java - Get more than One value and display it -