CFP last date
20 May 2024
Reseach Article

Selenium with Support of both TestNG and Cucumber Frameworks

by Shivkumar Goel, Kshitija Vartak
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

@article{ 10.5120/ijca2018917334,
author = { Shivkumar Goel, Kshitija Vartak },
title = { Selenium with Support of both TestNG and Cucumber Frameworks },
journal = { International Journal of Computer Applications },
issue_date = { Jun 2018 },
volume = { 180 },
number = { 51 },
month = { Jun },
year = { 2018 },
issn = { 0975-8887 },
pages = { 1-5 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume180/number51/29582-2018917334/ },
doi = { 10.5120/ijca2018917334 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-07T01:04:10.592981+05:30
%A Shivkumar Goel
%A Kshitija Vartak
%T Selenium with Support of both TestNG and Cucumber Frameworks
%J International Journal of Computer Applications
%@ 0975-8887
%V 180
%N 51
%P 1-5
%D 2018
%I Foundation of Computer Science (FCS), NY, USA
Abstract

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.

References
  1. "Testautomation", En.wikipedia.org. [Online].Availableat:https://en.wikipedia.org/wiki/Test_automation. [Accessed: 29- Mar- 2018]
  2. "Most Popular Test Automation Frameworks with Pros and Cons of Each – Selenium Tutorial #20 — Software Testing Help", Softwaretestinghelp.com. [Online]. Available: https://www.softwaretestinghelp.com/test-automation-frameworks-selenium-tutorial-20/. [Accessed: 06- Apr- 2018]
  3. "Selenium (software)", En.wikipedia.org. [Online]. Availableat:https://en.wikipedia.org/wiki/Selenium_(software). [Accessed: 10- Apr- 2018]
  4. "Maven Information", Docs.seleniumhq.org. [Online]. Available:https://docs.seleniumhq.org/download/maven.jsp. [Accessed: 10- Apr- 2018]
  5. "TestNG Introduction | Selenium Tutorials for Starters | ToolsQA", Toolsqa.com. [Online]. Available: http://toolsqa.com/selenium-webdriver/testng-introduction/. [Accessed: 17- Apr- 2018]
  6. "TestNG Overview", www.tutorialspoint.com. [Online]. Availableat:https://www.tutorialspoint.com/testng/testng_overview.htm. [Accessed: 23- Apr- 2018]
  7. "TestNG - Welcome", Testng.org. [Online]. Available: http://testng.org/doc/. [Accessed: 23- Apr- 2018]
  8. "Cucumber Overview", www.tutorialspoint.com. [Online]. Available: https://www.tutorialspoint.com/cucumber/cucumber_overview.htm. [Accessed: 01- May- 2018]
  9. Guru99.com. [Online]. Available: https://www.guru99.com/using-cucumber-selenium.html. [Accessed: 01- May- 2018]
  10. "Why Selenium and Cucumber Should Not Be Used Together", Testing Excellence. [Online]. Available: https://www.testingexcellence.com/selenium-and-cucumber-ui-automation-challenges/. [Accessed: 01- May- 2018]
  11. Guru99.com. [Online]. Available: https://www.guru99.com/junit-vs-testng.html. [Accessed: 01- May- 2018]
  12. "Introduction of TestNG framework - Advantages of TestNG over Junit framework", Software Testing Class. [Online].Available:https://www.softwaretestingclass.com/introduction-of-testng-framework-advantages-of-testng-over-junit-framework/. [Accessed: 01- May- 2018]
  13. "TestNG Basic Annotations", www.tutorialspoint.com. [Online].Available: https://www.tutorialspoint.com/testng/testng_basic_annotations.htm. [Accessed: 04- May- 2018]
  14. "Page Object Model (POM) & Page Factory in Selenium: Complete Tutorial", Guru99.com. [Online]. Available: https://www.guru99.com/page-object-model-pom-page-factory-in-selenium-ultimate-guide.html. [Accessed: 04- May- 2018]
  15. "Introduction to Page Object Model Framework", Selenium Easy. [Online]. Available: http://www.seleniumeasy.com/selenium-tutorials/page-object-model-framework-introduction. [Accessed: 04- May- 2018]
  16. L. Sharma, "How to set up JUnit Test Runner Class to run Cucumber Features", Toolsqa.com. [Online]. Available: http://toolsqa.com/cucumber/junit-test-runner-class. [Accessed: 10- May- 2018]
Index Terms

Computer Science
Information Sciences

Keywords

Cucumber TestNG parallel testing POM