1 / 3 · Book 12 · Your First Program · drill: interview Q&A⊞ 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.