Skip to main content

Automated Tests Using Selenium Framework

  • Conference paper
  • First Online:
Nature of Computation and Communication (ICTCC 2022)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. 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)

    Book  Google Scholar 

  2. 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

  3. IEEE Standard Glossary of Software Engineering Terminology. IEEE. https://doi.org/10.1109/IEEESTD.1990.101064

  4. Galin, D.: Software Quality Assurance. Pearson Education Limited, Harlow; New York (2004)

    Google Scholar 

  5. 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

  6. The Editors of Encyclopedia Britannica: “Y2K Bug,” Britannica Encyclopedia, 21 April 2021. https://www.britannica.com/technology/Y2K-bug

  7. 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/

  8. Patton, R.: Software Testing, 2nd edn. Sams Pub, Indianapolis (2006)

    Google Scholar 

  9. 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

  10. 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

  11. Xunit. In: NuGet [online]. [cit. 2022-05-05]. https://www.nuget.org/packages/xunit

  12. ChromeDevTools: Overview. In: Chrome Developers [online]. [cit. 2022-05-05]. https://developer.chrome.com/docs/devtools/overview/List of

  13. Selenium Overview: Selenium (2021). https://www.selenium.dev/documentation/overview/

  14. Selenium IDE: Getting Started: Selenium IDE (2019). https://www.selenium.dev/selenium-ide/docs/en/introduction/getting-started

  15. Selenium WebDriver: Selenium (2021). https://www.selenium.dev/documentation/webdriver/

  16. When to Use a Grid: Selenium (2021). https://www.selenium.dev/documentation/grid/applicability/

  17. Chromium Command Line Switches. In: Peter Beverloo [online]. [cit. 2022-05-05]. https://peter.sh/experiments/chromium-command-line-switches/

Download references

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

Authors

Corresponding author

Correspondence to Vladimir Sobeslav .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics