如何编写/工具eclipse RCP插件GUI测试

时间:2023-01-19 18:29:37

I am developing an eclipse RCP plugin, I have completed code and some unit testing, now I want to provide the GUI testing, Do you have any ideas about what open tools/libraries I used? is it possible I can install this plugin to eclipse and perform GUI testing with codes to simulate just like end users?

我正在开发一个eclipse RCP插件,我已经完成了代码和一些单元测试,现在我想提供GUI测试,你对我使用的开放工具/库有什么想法吗?是否有可能我可以将此插件安装到eclipse并使用代码执行GUI测试以模拟最终用户?

3 个解决方案

#1


0  

I would use SWTBot for this task. It will help you to select widgets in a straightforward manner. You can simulate the user interaction on each widget. SWTBot is provided as Eclipse Plugin.

我会使用SWTBot来完成这项任务。它将帮助您以直接的方式选择小部件。您可以模拟每个小部件上的用户交互。 SWTBot作为Eclipse插件提供。

#2


0  

SWTBot helps to do GUI testing. We actually built a framework on top of SWTBot to code GUI tests. you can also look at eclipse TPTP for recording GUI tests but it has its limitations.

SWTBot有助于进行GUI测试。我们实际上在SWTBot之上构建了一个框架来编写GUI测试代码。您还可以查看eclipse TPTP来记录GUI测试,但它有其局限性。

http://www.eclipse.org/tptp/home/project_info/general/whatisTPTP.php

#3


0  

Windowtester is a powerful tool from google thateliminates the need to manually create test cases to test GUIs by automating the process of GUI testing. Generated tests tend to be SWTBot or similar to SWTBot and easy to edit and automate tests. https://developers.google.com/java-dev-tools/wintester/html/

Windowtester是一款来自谷歌的强大工具,它通过自动化GUI测试过程来手动创建测试用例以测试GUI。生成的测试往往是SWTBot或类似于SWTBot,易于编辑和自动化测试。 https://developers.google.com/java-dev-tools/wintester/html/

#1


0  

I would use SWTBot for this task. It will help you to select widgets in a straightforward manner. You can simulate the user interaction on each widget. SWTBot is provided as Eclipse Plugin.

我会使用SWTBot来完成这项任务。它将帮助您以直接的方式选择小部件。您可以模拟每个小部件上的用户交互。 SWTBot作为Eclipse插件提供。

#2


0  

SWTBot helps to do GUI testing. We actually built a framework on top of SWTBot to code GUI tests. you can also look at eclipse TPTP for recording GUI tests but it has its limitations.

SWTBot有助于进行GUI测试。我们实际上在SWTBot之上构建了一个框架来编写GUI测试代码。您还可以查看eclipse TPTP来记录GUI测试,但它有其局限性。

http://www.eclipse.org/tptp/home/project_info/general/whatisTPTP.php

#3


0  

Windowtester is a powerful tool from google thateliminates the need to manually create test cases to test GUIs by automating the process of GUI testing. Generated tests tend to be SWTBot or similar to SWTBot and easy to edit and automate tests. https://developers.google.com/java-dev-tools/wintester/html/

Windowtester是一款来自谷歌的强大工具,它通过自动化GUI测试过程来手动创建测试用例以测试GUI。生成的测试往往是SWTBot或类似于SWTBot,易于编辑和自动化测试。 https://developers.google.com/java-dev-tools/wintester/html/