Test Complete - Is it possible to perform rapid multi taps on iOS device
I am testing a mobile application which has a hidden feature, by request of the client, that is accessed by a 2 fingered tab, three times.
Unfortunately as this can't be simulated by TC i currently have the script wait for a user input.
I have also asked the devs to put in another access method, of a single finger tap, 6 times rapidly.
Unfortunately when i record this it works, but on playback the script has huge delay in it and i can't seem to find any setting to reduce this. Is it possible to produce a playback of a rapid tap?
Am i using the wrong touch control or is there a setting or method to reduce the daelay between actions (Delay between Events, ms: was 50 but tried 0)
Any advice would be appreciated
procedure Test1;
var window : OleVariant;
var navigationBar : OleVariant;
var vlabel : OleVariant;
begin
Mobile.SetCurrent('Rps iPad Pro (2018)');
window := Aliases.Device.processApplication.window0;
navigationBar := window.navigationbar0;
vlabel := navigationBar.labelWelcome;
vlabel.Touch(28, 12);
vlabel.Touch(28, 12);
vlabel.Touch(28, 12);
vlabel.Touch(28, 12);
vlabel.Touch(28, 12);
vlabel.Touch(28, 12);
end;Got a workaround, as i was writting the last update. Appears .LongTouch supports a time, even though it wasn't detailed on this page. it maybe out of date with all the updates SmartBear do.
The following code works and i have had the Devs update the app to support that backdoor.
vlabel.LongTouch(28, 12, 5000);