Need advice about which tool to choose?Ask the StackShare community!
Add tool
Advice on Selenium and TestNG
Shivam Gupta
we are having one web application developed in Reacts.js. in the application, we have only 4 to 5 pages that we need to test. I am having experience in selenium with java. Please suggets which tool I should use. and why ............................ ............................ .............................
Replies (1)
Prashanth Marappa
Senior Software Engineer at Mphasis · | 1 upvotes · 191.6K views
with the help of selenium we can automate react js for functional testing
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn MorePros of Selenium
Pros of TestNG
Pros of Selenium
- Automates browsers173
- Testing154
- Essential tool for running test automation101
- Record-Playback24
- Remote Control24
- Data crawling8
- Supports end to end testing7
- Functional testing6
- Easy set up6
- The Most flexible monitoring system4
- End to End Testing3
- Easy to integrate with build tools3
- Comparing the performance selenium is faster than jasm2
- Record and playback2
- Compatible with Python2
- Easy to scale2
- Integration Tests2
- Integrated into Selenium-Jupiter framework0
Pros of TestNG
Be the first to leave a pro
Sign up to add or upvote prosMake informed product decisions
Cons of Selenium
Cons of TestNG
Cons of Selenium
- Flaky tests8
- Slow as needs to make browser (even with no gui)4
- Update browser drivers1
Cons of TestNG
Be the first to leave a con
Sign up to add or upvote consMake informed product decisions
- No public GitHub repository available -
What is Selenium?
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
What is TestNG?
It is a testing framework designed to simplify a broad range of testing needs, it covers all categories of tests: unit, functional, end-to-end, integration, etc.Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc.
Need advice about which tool to choose?Ask the StackShare community!
Jobs that mention Selenium and TestNG as a desired skillset
What companies use Selenium?
What companies use TestNG?
What companies use Selenium?
What companies use TestNG?
See which teams inside your own company are using Selenium or TestNG.
Sign up for StackShare EnterpriseLearn MoreSign up to get full access to all the companiesMake informed product decisions
What tools integrate with Selenium?
What tools integrate with TestNG?
What tools integrate with Selenium?
What tools integrate with TestNG?
Sign up to get full access to all the tool integrationsMake informed product decisions
Blog Posts
What are some alternatives to Selenium and TestNG?
Protractor
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Cypress
Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
Nightwatchjs
Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements.
Puppeteer
Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome.
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.