Please use this identifier to cite or link to this item:
https://dspace.ctu.edu.vn/jspui/handle/123456789/78036
Title: | DEVELOPING A COMPLETE SELENIUM-BASED AUTOMATION TESTING FRAMEWORK FOR E-COMMERCE WEBSITES WITH JAVA |
Authors: | Nguyễn, Công Danh Võ, Tường |
Keywords: | CÔNG NGHỆ THÔNG TIN-CHẤT LƯỢNG CAO |
Issue Date: | 2022 |
Publisher: | Trường Đại Học Cần Thơ |
Abstract: | Background: Nowadays, Information technology is developing and changing dramatically, so as web technologies. Websites are becoming more and more complex and require a lot of effort for developing and testing. As for testing, manual methods can no longer be the only option. An automation solution is definitely a much wiser and more profitable choice. It can help to test the functionalities of the website and further to confirm that everything is working as expected. To conduct test automation, Selenium framework is currently the most selected test automation tool. Writing test scripts in Selenium is easy enough. We just need to find web elements and perform operations on them. However, to actually implement Selenium in a truly friendly, maintainable and efficient way is much more expensive; we need to exercise a better approach that will be discussed later in this paper. Moreover, e-commerce applications are a perfect target due to their complex structure and a lack of reports that present issues to be concerned with when testing this type of application. Purpose: This thesis goes to learn and apply the Page Object Model (POM), Driver Factory, Parallel Testing, Data-driven, Logging tool, Reporting tool, CI/CD Integration with Jenkins and many others to the automation of test cases for ecommerce applications. We also recommend a complete test framework to create test scripts for an e-commerce application. Method: Collect, analyze and learn documents related to the contents of study topic; analyze to suggest solutions; then build and execute the tests according to findings with Java & Selenium. Findings: The above techniques and tools reduce maintenance costs and minimize code duplication, hence they help the project achieve a better result. In the aftermath, the test scripts become less and optimized. In addition, logs and reports allow stakeholders to have better judgement over the project. Conclusion: The proposed Selenium-based automation testing framework has been successfully applied to test an e-commerce website. |
Description: | 92 Tr |
URI: | https://dspace.ctu.edu.vn/jspui/handle/123456789/78036 |
Appears in Collections: | Trường Công nghệ Thông tin & Truyền thông |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
_file_ Restricted Access | 2.76 MB | Adobe PDF | ||
Your IP: 3.145.69.185 |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.