Server-Side Scripting/Testing
This lesson introduces software testing, web testing, and using automated tools to test server-side scripts.
Objectives and Skills
editObjectives and skills for this lesson include:
- Understand software testing concepts
- Understand web testing concepts
- Use a software tool to test server-side scripts
Readings
editMultimedia
editActivities
editComplete the following activities using an existing server-side scripting application or website.
- Review Selenium (software). Complete one or more of the Selenium IDE tutorials.
- Use Selenium IDE to record user interface tests for each server-side script page created for this course.
- Use Selenium IDE to record user interface tests for a web project of your choosing.
Lesson Summary
edit- There are two main types of automated testing. Functional testing verifies the business application of a software solution. Non-functional testing confirms additional requirements of the software, including performance, security, and storage efficiency. Different types of tests exist to perform these main testing requirements, such as smoke tests, integration tests, regression tests, security, performance, and acceptance tests.[1]
- Selenium IDE is a complete integrated development environment (IDE) for Selenium tests. It is implemented as a Firefox Add-On and Chrome Extension. It allows for recording, editing and debugging of functional tests.[2]
- Using automated testing tools like Selenium IDE can assist with visually testing responsive web apps by running combinations of browsers, emulated devices, and viewport sizes to check against a visual grid.[3]
- In addition to functionality testing, Visual AI automated testing finds significant visual differences between versions of an application, as opposed to pixel-based comparisons, allowing developers to focus on customer noticeable issues.[4]
Key Terms
edit- API driven testing
- A testing framework that uses a programming interface to the application to validate the behaviour under test. Typically API driven testing bypasses application user interface altogether.[5]
- bottleneck
- The capacity to which an applications individual component slows down the whole application[6]
- graphical user interface testing
- A testing framework that generates user interface events such as keystrokes and mouse clicks, and observes the changes that result in the user interface, to validate that the observable behavior of the program is correct.[7]
- integration testing
- unit testing
- A method that instantiates a small portion of an application and verifies its behavior independently from other parts.[8]
- Web Application Performance Tool (WAPT)
- Conducts tests for browser compatibility, operating system compatibility, and performance metrics.[9]
See Also
editReferences
edit- ↑ Katalon: Types of Automation Testing: A Beginner’s Guide
- ↑ https://en.wikiversity.org/wiki/Selenium_(software)
- ↑ DevOps Zone: 16 Reasons to Use Selenium IDE in 2019
- ↑ applitools: Selenium IDE & Visual AI
- ↑ https://en.wikipedia.org/wiki/API_testing
- ↑ Wikipedia: Bottleneck(Software)
- ↑ https://en.wikipedia.org/wiki/Graphical_user_interface_testing
- ↑ https://www.guru99.com/unit-testing-guide.html
- ↑ Wikipedia: Web Testing