The known limitations for playing back tests and recording locators on native mobile applications (apps) are:
When testing on iOS, Silk4J does not provide automated synchronization for controls that call the UIView.animate function or the UIView.animateWithDuration function.
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { //... if NSProcessInfo.processInfo().environment["automationName"] == "Silk Test" { // Speed animations up (recommended) window!.layer.speed = 100; } }Micro Focus does not recommend disabling such animations completely, as this might change the applications behavior. However, if speeding up the animation does not resolve the synchronization issue, you could completely disable animations in the app delegate as follows:
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { //... if NSProcessInfo.processInfo().environment["automationName"] == "Silk Test" { UIView.setAnimationsEnabled(false) } }