Need advice about which tool to choose?Ask the StackShare community!

Robot Framework

199
353
+ 1
63
TestNG

164
131
+ 1
0
Add tool

Robot Framework vs TestNG: What are the differences?

What is Robot Framework? A test automation framework for acceptance testing and ATDD. It is a generic test automation framework for acceptance testing and acceptance test-driven development. It has easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new higher-level keywords from existing ones using the same syntax that is used for creating test cases.

What is TestNG? A testing framework inspired from JUnit and NUnit. 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.

Robot Framework and TestNG can be primarily classified as "Testing Frameworks" tools.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Robot Framework
Pros of TestNG
  • 15
    Easy with CI/CD
  • 13
    Open Source
  • 11
    Simple Usage
  • 8
    Easily extendable
  • 8
    Vast Scope more than Front End
  • 8
    Fast
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Robot Framework
    Cons of TestNG
    • 7
      Nested Loops
    • 1
      Mostly for python
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is Robot Framework?

      It is a generic test automation framework for acceptance testing and acceptance test-driven development. It has easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new higher-level keywords from existing ones using the same syntax that is used for creating test cases.

      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 Robot Framework and TestNG as a desired skillset
      What companies use Robot Framework?
      What companies use TestNG?
      See which teams inside your own company are using Robot Framework or TestNG.
      Sign up for Private StackShareLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Robot Framework?
      What tools integrate with TestNG?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Robot Framework and TestNG?
      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.
      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.
      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.
      Gauge
      Gauge is created by ThoughtWorks. Gauge let you write tests in plain-speak and refactor fearlessly. Gauge’s pluggable architecture allows you to customize your environment so you can write tests in the language and IDE of your choice.
      Katalon Studio
      Katalon Studio is a free and robust automation solution for API, Web and Mobile testing. It integrates all necessary components with built-in keywords and project templates into a complete automation framework. Katalon Studio is easy-to-use for new users but still offers advanced capabilities for experienced users. The solution is trusted by an active community of over 150K users from 150+ countries around the world.
      See all alternatives