<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.edict.edict-testutils.selenium-tests</groupId>
<artifactId>portalseleniumtwo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>${project.artifactId}</name>
<parent>
<groupId>xxxxx</groupId>
<artifactId>xxxx</artifactId>
<version>2.9</version>
</parent>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.14</version>
<!-- <classifier>jdk15</classifier> -->
</dependency>
<dependency>
<groupId>org.uncommons</groupId>
<artifactId>reportng</artifactId>
<version>1.1.2</version>
<!--<scope>test</scope> -->
<exclusions>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<properties>
<webSite>https://tstweb08c.xxxxx.com</webSite>
<seleniumHost>tstcli05c:5554</seleniumHost>
<suiteXmlFile>testng-smoketests.xml</suiteXmlFile>
<!-- <testName>Portal SmokeTest Firefox 3.6.15 on Windows 7 tstcli05c</testName> -->
</properties>
<profiles>
<profile>
<id>smoketest</id>
<activation>
<property>
<name>do</name>
<value>smoketest</value>
</property>
</activation>
<build>
<plugins>
<!--Run Testng from Surefire to add results to site docu -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<!-- <artifactId>maven-surefire-plugin</artifactId> -->
<configuration>
<systemPropertyVariables>
<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>
</systemPropertyVariables>
<systemProperties>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
<property>
<name>listener</name>
<value>org.uncommons.reportng.HTMLReporter, org.uncommons.reportng.JUnitXMLReporter</value>
</property>
<workingDirectory>target/surefire-reports/</workingDirectory>
<property>
<name>browser</name>
<value>${browser}</value>
</property>
<property>
<name>webSite</name>
<value>${webSite}</value>
</property>
<property>
<name>seleniumHost</name>
<value>${seleniumHost}</value>
</property>
<property>
<name>seleniumPort</name>
<value>${seleniumPort}</value>
</property>
</systemProperties>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
it is:
<configuration>
<systemPropertyVariables>
<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>
</systemPropertyVariables>
<systemProperties>
....
</systemProperties>
</configuration>
but should be
<configuration>
<systemPropertyVariables>
<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>
</systemPropertyVariables>
<properties>
....
</roperties>
</configuration>
according to http://maven.apache.org/plugins/maven-surefire-plugin/examples/testng.html
(last listing on the page)
--
Regards / Pozdrawiam
Tomek Kaczanowski
http://kaczanowscy.pl/tomek
2011/7/28 sabf <s.a...@gmx.de>:
> --
> You received this message because you are subscribed to the Google Groups
> "testng-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/testng-users/-/yFvbtlhS0JYJ.
> To post to this group, send email to testng...@googlegroups.com.
> To unsubscribe from this group, send email to
> testng-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/testng-users?hl=en.
>
you should try something like
<property>
<name>listener</name>
<values>
<value>org.uncommons.reportng.HTMLReporter</value>
<value>org.uncommons.reportng.JUnitXMLReporter</value>
</values>
</property>
but that is just my guess
--
Regards / Pozdrawiam
Tomek Kaczanowski
http://kaczanowscy.pl/tomek
2011/7/28 sabf <s.a...@gmx.de>:
> --
> You received this message because you are subscribed to the Google Groups
> "testng-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/testng-users/-/Wd1uGq8FGMsJ.
yeah, still guessing but it has to work somehow
--
Regards / Pozdrawiam
Tomek Kaczanowski
http://kaczanowscy.pl/tomek
2011/7/28 sabf <s.a...@gmx.de>:
> thanks tomek for your suggestion, but i got the same error as above :-(
>
> --
> You received this message because you are subscribed to the Google Groups
> "testng-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/testng-users/-/0aTMwZmmjSQJ.
could you upgrade to the current version and check if it works?
--
Regards / Pozdrawiam
Tomek Kaczanowski
http://kaczanowscy.pl/tomek
2011/7/28 Tomek Kaczanowski <kaczanow...@gmail.com>:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.edict.edict-testutils.selenium-tests</groupId>
<artifactId>portalseleniumtwo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.1</version>
</dependency>
<dependency>
<groupId>org.uncommons</groupId>
<artifactId>reportng</artifactId>
<version>1.1.2</version>
<exclusions>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<!--Run Testng from Surefire to add results to site docu -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<!-- <artifactId>maven-surefire-plugin</artifactId> -->
<configuration>
<systemPropertyVariables>
<org.uncommons.reportng.escape-output>false</org.uncommons.reportng.escape-output>
</systemPropertyVariables>
<properties>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
<property>
<name>listener</name>
<value>org.uncommons.reportng.HTMLReporter,
org.uncommons.reportng.JUnitXMLReporter</value>
</property>
<workingDirectory>target/surefire-reports/</workingDirectory>
</properties>
</configuration>
</plugin>
</plugins>
</build>
</project>
2011/7/28 Tomek Kaczanowski <kaczanow...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
Visit this group at http://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.