Researchers developed a hybrid software testing framework that combines traditional tools with a new approach to improve efficiency and quality.
The framework uses Java, Maven, and Test-NG to automate software testing and minimize human error. It involves creating a model called PageFactory to manage web application elements, which are then used in the Test Layer architecture. This approach provides benefits such as reusability, cost reduction, and increased performance.
Abstract
Nowadays, with the development of software technologies in all areas of life, software testing, which is an indispensable need of the software life cycle, has become open to development and change. The replacement of manual testing of software products with test automation systems that minimise the human error margin provides the most important example of the transformation of testing processes into a dynamic structure.
This paper details a hybrid approach that utilizes tools such as Java, Maven, Test-NG, etc. used in a traditional test automation. The proposed hybrid approach is based on Java's "Write once, run anywhere" approach. First of all, all HTML elements used in web applications are determined and these elements are saved in a model called PageFactory. PageFactory is a Page object model concept that allows managing elements from a single file. These saved elements are transferred to the next layer, the Test Layer architecture, using the relevant methods in the Page Layer model, and the methods in this layer are invoked and executed. This proposed hybrid approach provides reusability, easy maintenance, cost reduction, increased performance, better quality software products, ease of use and time savings.
References
- 1.Bhagyashree Bhondokar, Pooja Ranawade, Snehal Jadhav, Mayuri Vibhute, ve MIT College of Engineering, Pune, “Hybrid Test Automation Framework for Web Application”, Int. J. Eng. Res., c. V4, sy 04, s. IJERTV4IS041292, Nis. 2015, doi: 10.17577/IJERTV4IS041292.DOI
- 2.Fei Wang ve Wencai Du, “A Test Automation Framework Based on WEB”, içinde 2012 IEEE/ACIS 11th International Conference on Computer and Information Science, Shanghai, May. 2012, ss. 683-687. doi: 10.1109/ICIS.2012.21.DOI
- 3.E. H. Kim, J. C. Na, ve S. M. Ryoo, “Implementing an Effective Test Automation Framework”, içinde 2009 33rd Annual IEEE International Computer Software and Applications Conference, Seattle, Washington, USA, 2009, ss. 534-538. doi: 10.1109/COMPSAC.2009.188.DOI
- 4.Java website, https://www.java.com/, (Date of access: February 2023)Link
- 5.Selenium website, https://www.selenium.dev/documentation/, (Date of access: February 2023)Link
- 6.Maven website, https://maven.apache.org/, (Date of access: February 2023)Link
- 7.TestNG website, https://testng.org/doc/, (Date of access: February 2023)Link
- 8.Extent Reports website, https://www.extentreports.com/, (Date of access: March 2023)Link
- 9.Cucumber website, https://cucumber.io/, (Date of access: March 2023)Link