DravitLochan / Java-TestNG-Selenium

Java TestNG Selenium

Home Page:https://www.lambdatest.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java TestNG Selenium

Environment Setup

  1. Global Dependencies
    $ install maven
    
  2. Project Dependencies
    • checkout the repository
    • Check that packages are available
    $ cd Java-TestNG-Selenium
    
    • You may also want to run the command below to check for outdated dependencies. Please be sure to verify and review updates before editing your pom.xml file as they may not be compatible with your code.
    $ mvn versions:display-dependency-updates
    

Running Tests

To run single test
    $ mvn test -P single

To run local test
    $ mvn test -P local

To run parallel test
    $ mvn test -P parallel

To run single test fron Jenkins
    $ mvn test -P singleJenkins

To run parallel test from Jenkins
    $ mvn test -P parallelJenkins

About LambdaTest

LambdaTest is a cloud based selenium grid infrastructure that can help you run automated cross browser compatibility tests on 2000+ different browser and operating system environments. LambdaTest supports all programming languages and frameworks that are supported with Selenium, and have easy integrations with all popular CI/CD platforms. It's a perfect solution to bring your selenium automation testing to cloud based infrastructure that not only helps you increase your test coverage over multiple desktop and mobile browsers, but also allows you to cut down your test execution time by running tests on parallel.

About

Java TestNG Selenium

https://www.lambdatest.com/


Languages

Language:Java 100.0%