Modern QA2026Exercises: Chapter 1
Log inJoin
8 / 11 · Book 12 · Your First Program← prev⊞ allnext →Get the book →

1.8Exercises: Chapter 1

Easy: Write a script in all three languages that prints your name, your role ("QA Engineer"), and today's date as three separate lines.

Medium: Write a script that stores a test case name, an expected HTTP status, and an actual HTTP status in variables. Print whether the test passed or failed by comparing expected to actual.

Hard: Write a script that prints a mini test report for three test cases. Each test case has a name and a pass/fail status. The final line prints the total number of passes and failures.