Section outline
-
Discussion Topics:
- How does Selenium support automated testing of web applications?
- What are the key features of Selenium that make it effective for functional testing?
- Discuss the challenges of setting up and maintaining Selenium test scripts.
- How can Selenium be integrated into a continuous integration pipeline?
Lesson Summary: This week focuses on Selenium, a tool for automated web application testing. Students engage in practical exercises using Selenium, with assessments through lab performance, aligning with CLO2 (applying testing knowledge) and CLO4 (test documentation skills).
Instructions for Lab Report 10:
Lab Report 10: Web Testing with Selenium
Objective: Use Selenium to automate web application testing.
Learning Outcome: Students will be able to develop and execute automated web tests using Selenium, producing detailed test reports to validate web application functionality (CLO2, CLO4, PLO5, PLO10, Cognitive Domain: Create - C6, Psychomotor Domain: Articulation - P4).
Tools Required: Selenium WebDriver, a web browser (e.g., Chrome), and a programming environment (e.g., Python or Java).
Instructions:
- Select a simple web application (e.g., a login page or form).
- Write a Selenium script to automate at least 5 test cases (e.g., valid login, invalid login, form submission).
- Execute the Selenium tests and capture screenshots or logs of results.
- Document issues found and propose solutions.
- Discuss the benefits of automated web testing in the report.
Deliverables:
- A lab report with the Selenium script, test results, screenshots/logs, and analysis.
- Submit via Google Classroom or DIU Blended Learning Center.
Assessment: Lab Performance (CLO2, CLO4, PLO5, PLO10).