Hello All,
We are using QFT for UI test cases and trying to run the test cases from maven build system.
I followed the below link and it is able to run single test suite.
https://www.qfs.de/en/qf-test-manual/lc/manual-en-user_maven.html
I could like to run more than one suite in pom.xml file.
I try to use –
suitesfile option has mentioned in below link.
https://www.qfs.de/qf-test-handbuch/lc/manual-en-tech_execution.html#arg_suitesfile
Entries in file | Description |
path/suite1.qft | path/suite2.qft |
| Both test-suites will be executed. |
path/suite1.qft | -test tc1 | -test tc2 |
| Test-cases tc1 and tc2 of suite1.qft will be executed. |
Just mentioning suites names in text file it is not working, but if mention suite and test case it is working.
I could like to use first option could you please someone help me on this.
<qf.suite>C:\dev\workspace\tool\tests\ui\autogui\suites.txt</qf.suite>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<configuration>
<tasks>
<execexecutable="${qf.exe}">
<argvalue="-batch"/>
<argvalue="-run"/>
<argvalue="-license"/>
<argvalue="${qf.license}"/>
<argvalue="-systemcfg"/>
<argvalue="${qf.systemcfg}"/>
<argvalue="-report"/>
<argvalue="${qf.reportfolder}"/>
<argvalue="-runlog"/>
<argvalue="${qf.log}"/>
<arg value="-suitesfile" />
<arg value="${qf.suite}" />
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
C:\dev\workspace\tool\tests\ui\autogui\ at this location I have suites.txt and qft test suites.
Suite.txt looks as below
Suite1.qft
Suite2.qft
SuiteN.qft
Regards
Venu J