资 源 简 介
A plugin for eclipse base application, that enable GUI operation control of the application.
Once install on the eclipse application you can now control it using XML-RPC. XML-RPC Java client is provided.
The Java client is based on JSystem.
Test example
There are 2 ways to write tests. One is code based using SystemTestCase (junit extention), the other using GUI is based on Ant file.
## Code option ##
public void testCreateFile(){ swtRobot.selectMenuItem("&File/&New Alt+Shift+N/File"); swtRobot.waitForShellShowing("New File"); swtRobot.enterString(System.currentTimeMillis() + ".txt"); swtRobot.clickButton("&Finish"); swtRobot.delay(1000); swtRobot.enterString("Welcome to SWT agent project");}
GUI option
The idea behind the scenario is that you can use junit base building block to build the test. And it can become a tool QA engineer can use to build tests.
http://swtagen