Wednesday, February 13, 2019

How to create Selenium, TestNG project using Maven?

Lets create maven project first.

Step 1: Launch eclipse, then select File --> New --> Maven Project as shown in the below image



Step 2: Select quick-start archetype, and click on Next


Step 3: Enter Group Id, Artifact Id and Package names. Click on Finish.



Step 4: We should see Maven being created as shown below. I have renamed project name here.



Step 5: Now we have to add Selenium and TestNG dependencies in pom.xml file. Open pom.xml file, add below Selenium and TestNG maven dependencies as shown below.

Save it, Ctrl+S. Then maven will download the Selenium and TestNG dependencies to project as shown below.


That's it we created a Selenium - TestNG project using Maven.

6 comments:

  1. ISO UAE is a great business management training company. We provide ISO certification, training in Dubai. Visit us to get more info. ISO Consultancy 

    ReplyDelete
  2. Professional growth We have sell some products of different custom boxes.it is very useful and very low price please visits this site thanks and please share this post with your friends.

    ReplyDelete
  3. Selenium Training institutes are available everywhere and this itself says how important it is to learn selenium Selenium Training Online

    ReplyDelete
  4. High Technologies Solutions provides the best Seleniumtraining in Delhi as well as Noida.We are one of the most trusted names in our field. Experienced trainers.100% placement help.For free demo class call at +919311002620 or visit our website.
    Selenium training institute in Delhi
    Selenium training institute in Noida

    ReplyDelete
  5. Menu alternatives incorporate create page, alter page and More Activities. Wikipedia writers for hire

    ReplyDelete

DevOps 01: What is DevOps and How it benefits organizations?

DevOps is a culture in an organization, where the development team and operations team help each other by sharing information, process and t...