Abstract
Today, software testing is already an integral part of every software development cycle. However, even this does not guarantee that the final product will be free of software bugs. Testing needs to be implemented from the lowest possible stage of development so that the bugs can be detected as early as possible to reduce the cost of fixing them at later stages. However, this is hampered by the ever-increasing demands for software from customers, increasing testing requirements to the point where it is impossible to meet them all. This is why automated software testing is becoming increasingly popular. Automated test scripts can partially replace manual user testing and help significantly improve the quality of the software. Automated testing using the Selenium framework is the focus of this paper. The functionality and process of testing in Selenium are demonstrated with five testing scripts in a sample scenario.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Myers, G.J., Badgett, T., Sandler, C.: The Art of Software Testing: Now Covers Testing for Usability, Smartphone Apps, and Agile Development Environments, 3rd edn. Wiley, Hoboken (2012)
Jamil, M.A., Arif, M., Abubakar, N.S.A., Ahmad, A.: Software testing techniques: a literature review. In: 2016 6th International Conference on Information and Communication Technology for The Muslim World (ICT4M), Jakarta, Indonesia, pp. 177–182, November 2016. https://doi.org/10.1109/ICT4M.2016.045
IEEE Standard Glossary of Software Engineering Terminology. IEEE. https://doi.org/10.1109/IEEESTD.1990.101064
Galin, D.: Software Quality Assurance. Pearson Education Limited, Harlow; New York (2004)
Lynch, J.: The Worst Computer Bugs in History: The Ariane 5 Disaster. BugSnag, 07 September 2017. https://www.bugsnag.com/blog/bug-day-ariane-5-disaster
The Editors of Encyclopedia Britannica: “Y2K Bug,” Britannica Encyclopedia, 21 April 2021. https://www.britannica.com/technology/Y2K-bug
Stojmanovska, M.: 10 Biggest Software Bugs and Tech Fails of 2021. TestDevLab, 27 December 2021. https://www.testdevlab.com/blog/2021/12/27/10-biggest-software-bugs-and-tech-fails-of-2021/
Patton, R.: Software Testing, 2nd edn. Sams Pub, Indianapolis (2006)
Henry, P.: The Testing Network: An Integral Approach to Test Activities in Large Software Projects. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-78504-0
Rafi, D.M., Moses, K.R.K., Petersen, K., Mantyla, M.V.: Benefits and limitations of automated software testing: systematic literature review and practitioner survey. In: 2012 7th International Workshop on Automation of Software Test (AST), Zurich, Switzerland, pp. 36–42, June 2012. https://doi.org/10.1109/IWAST.2012.6228988
Xunit. In: NuGet [online]. [cit. 2022-05-05]. https://www.nuget.org/packages/xunit
ChromeDevTools: Overview. In: Chrome Developers [online]. [cit. 2022-05-05]. https://developer.chrome.com/docs/devtools/overview/List of
Selenium Overview: Selenium (2021). https://www.selenium.dev/documentation/overview/
Selenium IDE: Getting Started: Selenium IDE (2019). https://www.selenium.dev/selenium-ide/docs/en/introduction/getting-started
Selenium WebDriver: Selenium (2021). https://www.selenium.dev/documentation/webdriver/
When to Use a Grid: Selenium (2021). https://www.selenium.dev/documentation/grid/applicability/
Chromium Command Line Switches. In: Peter Beverloo [online]. [cit. 2022-05-05]. https://peter.sh/experiments/chromium-command-line-switches/
Acknowledgment
The research has been supported by the Faculty of Informatics and Management UHK specific research project 2107 Integration of Departmental Research Activities and Students’ Research Activities Support II. Special thanks to our colleague Adam Kučera for his significant help in the practical verification of the tests.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
Horalek, J., Urbanik, P., Sobeslav, V. (2023). Automated Tests Using Selenium Framework. In: Phan, C.V., Nguyen, T.D. (eds) Nature of Computation and Communication. ICTCC 2022. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 473. Springer, Cham. https://doi.org/10.1007/978-3-031-28790-9_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-28790-9_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-28789-3
Online ISBN: 978-3-031-28790-9
eBook Packages: Computer ScienceComputer Science (R0)