如何在WPF或Surface应用程序中模拟触摸事件? [英] How to simulate touch event in the wpf or surface application?

查看:277
本文介绍了如何在WPF或Surface应用程序中模拟触摸事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我们有了多点触摸屏,并在其中开发了多点触摸应用程序.我们发现一开始它对于多点触摸是正确的,长时间运行后,有时我们的应用程序无法在某些触摸屏上接收到多点触摸事件.为了 为了节省测试时间,所以我们想编写一个自动化测试程序,所以我想知道如何在wpf或Surface应用程序中模拟触摸事件?  例如编写测试程序来模拟用户用两根手指缩放图像.

Now we have the multitouch screen, and we develop the multitouch application in it. we find it is work correct for multi-touch at first, when run for a long time, sometimes our application can't receive the multitouch event in some touch screen. In order to save our test time, so we want to write an automation test program, so I want to know how to simulate touch event in the wpf or surface application?   such as write a test program to simulate user scaling a image with two finger.

我有触摸屏,不需要安装模拟器,我只想节省测试时间,只想让工具多次进行多点触摸操作,不让用户进行多点触摸操作很多次.谢谢.

I have the touch screen, not need install the simulator, I only want to save the test time, only want to let the tool to do multi-touch operation many times, don't let user to do multi-touch operation many times. thanks.

tszzp

推荐答案

您好tszzp,

Hi tszzp,

这是一条简短的注释,旨在让您知道我们正在处理您的问题.

This is a quick note to let you know that we are performing working on your issue.

最好的问候


这篇关于如何在WPF或Surface应用程序中模拟触摸事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆