International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 180 - Number 51 |
Year of Publication: 2018 |
Authors: Shivkumar Goel, Kshitija Vartak |
10.5120/ijca2018917334 |
Shivkumar Goel, Kshitija Vartak . Selenium with Support of both TestNG and Cucumber Frameworks. International Journal of Computer Applications. 180, 51 ( Jun 2018), 1-5. DOI=10.5120/ijca2018917334
Today, there are many web applications being developed and testing each of them so that the end-user gets maximum user-friendly experience with utmost efficiency is very important. To test these applications and their functionalities, Manual testing is not always feasible. For testing minute details and lowest level scenarios, manual testing is very time-consuming and tedious. To overcome this, Automation testing is used in which testing process is automated with minimal manual intervention. Also, repetition of tests is possible which is cost-effective. Automation is very useful in Regression testing and testing the common flow of an application which must be tested when enhancements or new features are added to it. Nowadays, there are many testing frameworks available. We have used Selenium Webdriver. Selenium supports various testing frameworks such as JUnit, NUnit, TestNG, etc. Mostly these frameworks are used in isolation along with Selenium. But we have developed a framework which integrates two testing frameworks (TestNG and Cucumber) into a single framework/project. In this way, leveraging benefits of both the frameworks is possible. Users have flexibility to choose their preferred framework for testing.