Giter Site home page Giter Site logo

shwetashetye / testng-browserstack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from browserstack/testng-browserstack

0.0 0.0 0.0 27.9 MB

Selenium examples for TestNG and BrowserStack Automate

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

Java 100.00%

testng-browserstack's Introduction

testng-browserstack

TestNG Integration with BrowserStack.

Master branch contains Selenium 3 samples, for Selenium 4 - W3C protocol please checkout selenium-4 branch

BrowserStack Logo

Using Maven

Setup

Running your tests

  • To run a single test, run mvn test -P single
  • To run local tests, run mvn test -P local
  • To run parallel tests, run mvn test -P parallel
  • To run the test suite, run mvn test -P suite

Understand how many parallel sessions you need by using our Parallel Test Calculator

Using Gradle

Setup

Running your tests

  • To run a single test, run gradle singleTest
  • To run local tests, run gradle localTest
  • To run parallel tests, run gradle parallelTest
  • To run the test suite, run gradle suiteTest

Understand how many parallel sessions you need by using our Parallel Test Calculator

Notes

  • You can view your test results on the BrowserStack Automate dashboard

  • To test on a different set of browsers, check out our platform configurator

  • You can export the environment variables for the Username and Access Key of your BrowserStack account

    export BROWSERSTACK_USERNAME=<browserstack-username> &&
    export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
    

Additional Resources

testng-browserstack's People

Contributors

sourav-kundu avatar vedharish avatar tr4n2uil avatar varun-garg avatar nidhimj22 avatar mukulgupta1 avatar rhlbhatnagar avatar rohanimmanuel avatar sinstein avatar swapnilagarwwal avatar francisf avatar nidhisha-shetty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.