Skip to main content

Framework Development for Testing Automation of Web Services Based on Python

  • Conference paper
  • First Online:
Green Sustainability: Towards Innovative Digital Transformation (ITAF 2023)

Abstract

This work presents the technology of framework development for testing automation of web services based on Python programming language. The main approaches to software development and testing were theoretically analyzed. As a result of the study, a framework for testing automation of web services based on the Python programming language using the Selenium browser driver was created. The framework was built taking into account the features of web development on the principles of ease of understanding, expansion, simplicity, and compatibility. The framework consists of two parts: (1) for the first setting before activation by creating a configuration file; (2) for testing the login pages of web applications. The developed framework is suitable for both ordinary sites and information sites, where the main purpose is to get the necessary information as quickly and efficiently as possible. The framework differs from others in its ease of use while maintaining flexibility for more experienced developers.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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. Kinsbruner E, Bahmutov G (2022) A frontend web developer’s guide to testing: explore leading web test automation frameworks and their future driven by low-code and AI. Packt Publishing, Birmingham

    Google Scholar 

  2. Patel R (2020) QA analyst/software tester job interview questions & answers-2020: winning the QA/software testing interview. TechCT Solutions Inc., Ontario

    Google Scholar 

  3. Pursky O, Selivanova A, Dubovyk T, Herasymchuk T (2019) Software implementation of e-trade business process management information system. In: CEUR workshop proceedings, vol 2546, pp 171–181. http://ceur-ws.org/Vol-2546/paper12.pdf

  4. Matsinopoulos P (2020) Practical test automation: learn to use Jasmine, RSpec, and cucumber effectively for your TDD and BDD, 1st edn. Apress, New York

    Book  Google Scholar 

  5. Dijkstra EW (1972) The humble programmer. Commun ACM 15(10):859–866. https://doi.org/10.1145/355604.361591

    Article  Google Scholar 

  6. Zhan Z (2018) Practical web test automation: automated testing web-applications wisely with selenium web-driver, 3rd edn, Leanpub, Victoria

    Google Scholar 

  7. Pursky O, Moroz I, Novikova V, Pavlyshyn S (2021) Stage-by-stage technology for developing of integrated e-trading management system. Int J Bus Inf Syst 38(2):254–280. https://doi.org/10.1504/IJBIS.2020.10023767

    Article  Google Scholar 

  8. Khorikov V (2020) Unit testing principles, practices, and patterns: effective testing styles, patterns, and reliable automation for unit testing, mocking, and integration testing with examples in C#, 1st edn. Manning, New York

    Google Scholar 

  9. Jorgensen P, DeVries B (2021) Software testing: a Craftsman’s approach, 5th edn. Auerbach Publications, Boca Raton

    Book  Google Scholar 

  10. McDonough JE (2021) Automated unit testing with ABAP: a practical approach, 1st edn. Apress, New York

    Book  Google Scholar 

  11. Angelov A (2020) Design patterns for high-quality automated tests: high-quality test attributes and best practices. Independent Publishers Group, Chicago

    Google Scholar 

  12. Gundecha U, Cocchiaro C (2019) Learn Selenium: build data-driven test frameworks for mobile and web applications with Selenium Web Driver 3. Packt Publishing, Birmingham

    Google Scholar 

  13. Philip D (2021) Cypress: test automation. Tutorial Points, Madhapur

    Google Scholar 

  14. Bisht S (2013) Robot framework test automation. Packt Publishing, Birmingham

    Google Scholar 

  15. Lawrence R (2019) Behavior-driven development with cucumber: better collaboration for better software, 1st edn. Addison-Wesley Professional, Boston

    Google Scholar 

  16. O’Reilly (2022) The testing pyramid. https://www.oreilly.com/library/view/continuous-delivery-with/9781787125230/f0d4d0ff-8669-43c5-9d78-ed7f361935a7.xhtml

  17. Basu S (2020) Selenium with python simplified for beginners—simple, concise & easy guide to automation testing using python and selenium web-driver. Independent Publishers Group, Chicago

    Google Scholar 

  18. Ramalho L (2022) Fluent python: clear, concise, and effective programming, 2nd edn. O’Reilly Media, Sebastopol

    Google Scholar 

  19. TIOBE Index for October 2022 (2022) https://www.tiobe.com/tiobe-index/

  20. Babenko V, Buyak L, Pursky O, Lutsenko I, Perevozova O, Pokhodenko B (2021) The general concept of building integrated information web-systems of E-commerce. In: 2021 11th international conference on advanced computer information technologies, ACIT 2021—proceedings. Deggendorf, Germany, 15–17 Sept 2021, pp 441–444. https://doi.org/10.1109/ACIT52158.2021.9548337

  21. Babenko VO, Yatsenko RM, Migunov PD, Salem A-BM (2020) MarkHub cloud online editor as a modern web-based book creation tool. CEUR Worksh Proc 2643:174–184. http://ceur-ws.org/Vol-2643/paper09.pdf

  22. Documentation (2022) The Selenium browser automation project. https://www.selenium.dev/documentation/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Oleg Pursky .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pursky, O., Babenko, V., Nazarenko, O., Mandych, O., Filimonova, T., Gamaliy, V. (2023). Framework Development for Testing Automation of Web Services Based on Python. In: Magdi, D., El-Fetouh, A.A., Mamdouh, M., Joshi, A. (eds) Green Sustainability: Towards Innovative Digital Transformation. ITAF 2023. Lecture Notes in Networks and Systems, vol 753. Springer, Singapore. https://doi.org/10.1007/978-981-99-4764-5_24

Download citation

Publish with us

Policies and ethics