自动化 GUI 测试 .NET CF (Windows Mobile 5) [英] Automated GUI Testing .NET CF (Windows Mobile 5)

查看:26
本文介绍了自动化 GUI 测试 .NET CF (Windows Mobile 5)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司正在考虑在进行 Alpha 版之前对我们当前的应用使用自动化 GUI 测试.我们目前的主要重点是稳健性测试,我们希望实现这一目标的一种方法是自动化 UI 测试,可以在几个小时/几天内重复.

My company is looking into using automated GUI testing for our current app before proceeding to alpha. Our current main focus is robustness testing, one way we want to achieve this is automated UI testing that can be repeated over several hours/days.

对于我们的桌面版本,我们决定使用 AutomationElement,并且我已经看到了几个免费的开源框架.对于 .NET CF,选项似乎更加有限.我找到了M-eux Test,但是许可费有点高.我还发现了 Test Complete 7,我打算研究一下.

For our desktop version we've decided on AutomationElement, and I've seen several free open source frameworks. For .NET CF the options seem more limited. I found M-eux Test, but the license fee is a little bit steep. I also found Test Complete 7, which I am planning on looking into.

测试将由程序员编写.支持能够影响特定的 UI 元素会很好,尽管简单的记录/播放可能满足我们当前的需求.

The tests will be written by programmers. Support for being able to affect specific UI elements would be nice, although a simple record/playback may be satisfactory for our current needs.

为 Windows Mobile 5.0 开发.对 Windows CE 的支持会很好,但不是必需的.

Developing for Windows Mobile 5.0. Support for Windows CE would be nice, but not required.

以前有人遇到过这种情况吗?你有什么推荐的工具吗?我应该注意哪些最佳做法?

Has anyone been in this situation before? Any tools that you recommend? Any best practices I should be aware about?

推荐答案

AutoHotKey 适用于 windows ce/mobile 请看http://www.autohotkey.net/~Micha/AutohotkeyCE/html/index.htm.我将它与脚本一起使用来执行自动化测试.被测应用程序会生成日志记录信息,我会断言这些信息来证明测试正在运行.

AutoHotKey is available for the windows ce / mobile please look at http://www.autohotkey.net/~Micha/AutohotkeyCE/html/index.htm. I use this along with a script to perform an automated test. The application under test produces logging information that I assert things to prove the test is working.

在此之前,我将 ActiveSyncRemoteDisplay 工具与 windows mobile power 玩具和桌面上的 autohotkey 一起使用.我仍然使用这种组合(连同 windows spy)来记录某些屏幕点的 xy 坐标.

Before this I used the ActiveSyncRemoteDisplay tool with the windows mobile power toys and autohotkey on the desktop. I still use this combination (along with the windows spy) to note the xy co-ordinates of certain screen spots.

这篇关于自动化 GUI 测试 .NET CF (Windows Mobile 5)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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