List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Maven build passing multiple suites


  • Subject: [QF-Test] Maven build passing multiple suites
  • From: "Jayaramappa, Venu" <Venu.Jayaramappa@?.com>
  • Date: Wed, 4 Sep 2019 06:27:47 +0000
  • Delivered-to: qftest-list@?.net
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elektrobit.onmicrosoft.com; s=selector2-elektrobit-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R69pn4sMA/PuZ+0byqKPXwoWrRDjWM9UImVC+u2IdRM=; b=djWn6lJVZ216bGm7NCNPa9gjd2mILjZ8AVkSiRDegYuMlLQxXGoz7tj8kVRMtoErGUCTKWAYAvxdt8/H8HKc07C+k4ScKYwUx1jLATGBoYifbOxBFpffqz7dZRf4jbjuwaCIAFvvLBliz7gG9JVDZpuKOP7g+/tMNDU4f4739V4=

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

 

 

 

 


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.