問題描述
我們計劃使用窗口測試器自動測試我的 Eclipse 應用程序 GUI.日食的版本是氧氣.
We are planning to automate testing of my eclipse application GUI using window tester. Version of eclipse is oxygen.
請告訴我如何將窗口測試器與 Eclipse 應用程序集成.我在 Eclipse 市場中沒有看到任何窗口測試器插件.如果沒有,我可以使用哪個 GUI 測試框架來測試我的 Eclipse 應用程序.
Please inform me how to integrate window tester with eclipse application. I do not see any window tester plugin in eclipse market place. If not, Which GUI testing framework can i use to test my eclipse application.
提前致謝.
推薦答案
我個人使用過前兩種框架:
I have personally used first two types of the frameworks:
- SWTBot
- RCPTT
- 朱布拉
- RedDeer
RCPTT
專注于為 RCP/SWT 應用程序創(chuàng)建和運行 UI/系統(tǒng)測試.它是開源項目 SWTBot
或 Jubula
的替代或補充.它們都有各自的優(yōu)缺點,RCPTT
使用的方法與 SWTBot
或 Jubula
截然不同.
RCPTT
is focused on creating and running UI/System test for RCP/SWT applications. It is an alternative or addition to the open source projects SWTBot
or Jubula
. All of them have their specific advantages and disadvantages, RCPTT
uses a very different approach than that of SWTBot
or Jubula
.
SWTBot
是編寫測試時使用的 Java API(可以是 JUnit,TestNG...),這使得 Java 開發(fā)人員非常容易使用.
SWTBot
is a Java API to consume while writing tests (can be JUnit,
TestNG...), which makes it very easy to use for Java developers.
Jubula
有自己的基于 XML 的語言來編寫測試.也使用嵌入式數(shù)據(jù)庫,因此在內(nèi)部與其他數(shù)據(jù)庫最不同.
Jubula
has its own XML-based languages to write tests. Аlso
uses an embedded database and thus differs internally most from the others.
RCPTT
使用 Eclipse 命令語言編寫測試.
感謝 @howlger 的幫助.
這篇關(guān)于將 window tester 與 eclipse 集成以測試 UI的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!