Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDatabuild.xml
More file actions
Latest commit
41 lines (31 loc) · 1.47 KB
/
Copy pathDatabuild.xml
File metadata and controls
41 lines (31 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<projectname="TestNG"default="Generate-Report"basedir=".">
<targetname="Clean">
<deletefailonerror="false"dir="test-output" />
</target>
<targetname="Create"depends="Clean">
<mkdirdir="test-output" />
</target>
<pathid="classpath"description="Set the class path for the required jar">
<filesetdir="G:/Selenium Jars/poi-3.10-FINAL"includes="**/*.jar"></fileset>
<pathelementlocation="C:/Junit/testng-6.8.jar" />
<pathelementlocation="C:/Junit/selenium-server-standalone-2.44.0.jar" />
<pathelementlocation="C:/Junit/log4j-1.2.15.jar" />
<pathelementlocation="C:/Junit/commons-dbcp-1.4.jar" />
<pathelementlocation="C:/Junit/commons-pool-1.4.jar" />
<pathelementlocation="bin" />
</path>
<taskdefname="TestNG-Ant"classpathref="classpath"classname="org.testng.TestNGAntTask"></taskdef>
<targetname="Compile"depends="Create" >
<javacclasspathref="classpath"includeantruntime="true"srcdir="src"destdir="bin"includes="**/*.java"verbose="true">
</javac>
</target>
<targetname="Run-Test"depends="Compile">
<TestNG-Antoutputdir="test-output"haltonfailure="false"verbose="2"classpathref="classpath">
<xmlfilesetdir="."includes="testng.xml"/>
</TestNG-Ant>
</target>
<targetname="Generate-Report"depends="Run-Test"description="Generate the Xlsx report using the testng-result.xml">
<javaclasspathref="classpath"classname="reports.ExcelReportGenerator" ></java>
</target>
</project>