Maven POM Structure with testng XML to run Part 02
In my last post I have shared the common structure of POM.xml for Maven. One can refer it here first
Link https://hrwebqa.blogspot.com/2019/11/maven-pom-xml-structure.html
In this post i am sharing the POM structure where one can place the testng.xml file into the dependency plugins tag where it will run.
Maven Project structure
[Project Name]
>> pom.xml [default created by project while creating project]
Create new file e.g., shop.xml which will be testng.xml file
testng.xml file format would be like
[Put the actual testcase file name here]
Link https://hrwebqa.blogspot.com/2019/11/maven-pom-xml-structure.html
In this post i am sharing the POM structure where one can place the testng.xml file into the dependency plugins tag where it will run.
Maven Project structure
[Project Name]
>> pom.xml [default created by project while creating project]
Create new file e.g., shop.xml which will be testng.xml file
testng.xml file format would be like
pom.xml file with testng.xml
1.8
Hope it will provide some clue and insights.
Comments
Post a Comment