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.


  1. Replies
    1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai

  2. Thank you so much for providing information on this. It was very useful.

    Article submission sites
    Guest posting sites

  3. Thanks for sharing this valuable information. Check on the below link if you are looking for best Selenium training in chennai.
    Selenium Training In Chennai

  4. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Selenium Training in Electronic City

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

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

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

  8. 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

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

  10. Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. project execution


Selenium4: Working with two parallel windows in Selenium Automation

A new method newWindow() is introduced in Selenium 4 (Alpha). Using this method we can open a new tab or new window from the current window...