I tried detecting if the Login form was still present/visible with a bit of code, but that didn't work. It still exists!!
Code: Select all
if(repo.AgileMobileApp .LoginPage .SelfInfo.Exists())
Alternatively, how can I tell if my app has crashed?
I tried validating a control from the following form:
Code: Select all
Validate.Exists(repo.AgileMobileApp.LoginPage.AdvancedLoginPage.AddButtonGreenPlusInfo);
However, the touch command following failed with this most bizarrely worded message:
Injecting to another application requires INJECT_EVENTS permission