224 views
in Getting started by
am using Embedded wizard testing framework. I have to trigger a long press in my application.

Which function can be used for that?

1 Answer

0 votes
by

Hi SKI,

you can use a touch sequence for this like:

var Test::TouchSequence seq = new Test::TouchSequence;
seq.Add( <220,150>, 2000 );
SendTouchSequence( seq );

This sequence contains only one touch event which simulate a press for 2000ms at <220,150> and than sends the release event.

With a touch sequence you could also simulate finger movement by adding further touch events at different positions.

Regards,

Julian

by
Ok. Thanks .

Embedded Wizard Website | Privacy Policy | Imprint

...