POM.xml is missing from video 11 | Selenium Forum
N
neha.iftm Posted on 21/06/2019
Hello Ashish Sir,
 
In video 11, TESTNG FRAMEWORK / ANT/MAVEN TESTNG INTEGRATIONS.
 
You are teaching how to add testng's tests in  the maven and further how to run java test cases using command line.
 
Specifically for that particular video POM.xml is missing.
 
can you please share file as soon as possible as I m blocked.
 
thanks in advance.
 
Regards,
Neha
 

A
Ashish Thakur Replied on 24/06/2019

You can refer the video to add dependencies to your existing pom.xml


N
neha.iftm Replied on 26/06/2019

As i have mentioned above, I am refering video and also downloaded code.

there is mismatch in the video content and available code.

I am completely new to the maven and have no experience in xml files handling.

it would be a great help if you can share correct file which are matching with the content.

being a new to it it is reallt veru difficult to understand with mismatched data.

a humble request please share correct POM.xml &  testNg.xml which you are teaching in module 11.


N
neha.iftm Replied on 28/06/2019

any updatde on this query ?


A
Ashish Thakur Replied on 28/06/2019

Hello Neha,

Please open your pom.xml and look for the <dependency> tag, then add the following dependencies as well in your pom.xml

<dependency>
			<groupId>org.apache.poi</groupId>
			<artifactId>poi</artifactId>
			<version>3.6</version>
		</dependency>
		<dependency>
			<groupId>org.apache.poi</groupId>
			<artifactId>poi-ooxml</artifactId>
			<version>3.6</version>
		</dependency>
		<dependency>
			<groupId>org.apache.poi</groupId>
			<artifactId>poi-ooxml-schemas</artifactId>
			<version>3.6</version>
		</dependency>
		<dependency>
			<groupId>dom4j</groupId>
			<artifactId>dom4j</artifactId>
			<version>1.1</version>
		</dependency>
		<dependency>
			<groupId>org.apache.xmlbeans</groupId>
			<artifactId>xmlbeans</artifactId>
			<version>2.3.0</version>
		</dependency>
		<dependency>
			<groupId>org.seleniumhq.selenium</groupId>
			<artifactId>selenium-java</artifactId>
			<version>3.141.59</version>
		</dependency>
		<dependency>
			<groupId>com.relevantcodes</groupId>
			<artifactId>extentreports</artifactId>
			<version>2.41.2</version>
		</dependency>
		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<version>6.14.3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.maven.surefire</groupId>
			<artifactId>surefire</artifactId>
			<version>2.18.1</version>
			<type>pom</type>
		</dependency>
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
			<version>2.2.4</version>
		</dependency>
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<version>4.3.3</version>
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>27.1-jre</version>
		</dependency>
		<dependency>
			<groupId>cglib</groupId>
			<artifactId>cglib</artifactId>
			<version>3.1</version>
		</dependency>
		<dependency>
			<groupId>commons-validator</groupId>
			<artifactId>commons-validator</artifactId>
			<version>1.4.1</version>
		</dependency>
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
			<version>1.4</version>
		</dependency>