657 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 .

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...