| 8614 |
kshitij.so |
1 |
<project name="Selenium Grid Test" default="run" basedir=".">
|
|
|
2 |
<description>Selenium Grid Test</description>
|
|
|
3 |
<property name="rootdir" value="${basedir}/.."/>
|
|
|
4 |
<property file="${rootdir}/project.properties"/>
|
|
|
5 |
<property name="name" value="Selenium Grid Demo"/>
|
|
|
6 |
<property name="artifact" value="selenium-grid-demo"/>
|
|
|
7 |
<property name="version" value="SNAPSHOT"/>
|
|
|
8 |
<property name="selenium.version" value="SET ME"/>
|
|
|
9 |
<property name="build.src" location="src"/>
|
|
|
10 |
|
|
|
11 |
<import file="${rootdir}/lib/build/common-build.xml" />
|
|
|
12 |
|
|
|
13 |
<path id="compile.classpath">
|
|
|
14 |
<fileset dir="${rootdir}/vendor">
|
|
|
15 |
<include name="selenium-java-client-driver-${selenium.version}.jar"/>
|
|
|
16 |
<include name="testng-5.7-jdk15.jar"/>
|
|
|
17 |
<include name="commons-logging-1.0.4.jar"/>
|
|
|
18 |
</fileset>
|
|
|
19 |
<pathelement location="${rootdir}/tools/target/classes"/>
|
|
|
20 |
<pathelement location=
|
|
|
21 |
"${rootdir}/tools/target/dist/lib/selenium-grid-tools-standalone-${version}.jar"/>
|
|
|
22 |
<pathelement location="${rootdir}/lib/selenium-grid-tools-standalone-${version}.jar"/>
|
|
|
23 |
<pathelement path="${java.class.path}/"/>
|
|
|
24 |
</path>
|
|
|
25 |
|
|
|
26 |
<path id="runtime.classpath">
|
|
|
27 |
<path refid="compile.classpath"/>
|
|
|
28 |
<pathelement path="${build.output}/"/>
|
|
|
29 |
</path>
|
|
|
30 |
|
|
|
31 |
<target name="run" depends="compile" description="test">
|
|
|
32 |
<java classpathref="runtime.classpath"
|
|
|
33 |
classname="org.testng.TestNG"
|
|
|
34 |
failonerror="true">
|
|
|
35 |
<sysproperty key="java.security.policy" file="${rootdir}/lib/testng.policy"/>
|
|
|
36 |
<arg value="-d" />
|
|
|
37 |
<arg value="${basedir}/target/reports" />
|
|
|
38 |
<arg value="-suitename" />
|
|
|
39 |
<arg value="suite1" />
|
|
|
40 |
<arg value="testng.xml"/>
|
|
|
41 |
</java>
|
|
|
42 |
|
|
|
43 |
</target>
|
|
|
44 |
|
|
|
45 |
<target name="build" depends="compile"/>
|
|
|
46 |
<target name="dist" depends="build"/>
|
|
|
47 |
<target name="coverage-analysis" />
|
|
|
48 |
|
|
|
49 |
</project>
|