Hi,
It's possible to execute GUI tests with Ant.
Basically you need an Eclipse installation which contains the Eclipse Testing Framework, Window Tester Pro plugins, your application specific plugins and your WTP tests.
You can then call the "ui-test" ant target in the eclipse-test-library file, like this:
- Code: Select all
<target name="guiTest">
<ant target="ui-test" antfile="${eclipse-test-library-file}" dir="${eclipse-test-home}">
<property name="os" value="${baseos}"/>
<property name="ws" value="${basews}"/>
<property name="arch" value="${basearch}"/>
<property name="data-dir" value="${eclipse-test-home}/junit-workspace" />
<property name="plugin-name" value="${pluginName}" />
<property name="classname" value="${testClassName}" />
</ant>
</target>
Hope that helps.