Home work for Session 4 - https://online.portnov.net/onlinehome/ To pay the tuition - https://online.portnov.net/product/software-quality-assurance/ Registration - http://online.portnov.net/register/ (ONLY IF YOU PAY) Your class page - https://online.portnov.net/september-6-2022/ - login needed Previous class - https://online.portnov.net/may-9-2022/ Video Archive - https://online.portnov.net/video/ =========================================================================================== 3 things to have in place to get/keep a job: - Know how to test == able to write test cases - bug reporting - Projects (what, how, challenges, examples) BUG - mismatch between actual and expected behaviour/appearance of the application ======================== HOW WOULD YOU TEST??? ====================== - How would you test? - Give me test cases for testing ... NO REQUIREMENTS - NO TESTING LOGIN/PASSWORD 1. Requirements (assumptions) * the application/feature MUST be in testable condition (it passed the build acceptance test) * for the purpose of writing test cases, lets have some assumptions of reqs - valid login and valid password combination lets user in - any other combination will be rejected - Password field displays input in bullets - "Cut" menu item on "Password" field is disabled - "Copy" menu item on "Password" field is disabled 2. PRE-CONDITIONS: there are 2 existing accounts to use for test execution 3. TEST DATA: - mikhail portnov12345 - obama barak54321 - invalid portnov12345 = portnow12345 4. TEST CASES: Summary (point to requirement) Title ID.....Description.................................Instruction....................Expected result Actual Res 1. Valid login/valid password.................mikhail/portnov12345................user logged in 2. Valid login/invalid password...............mikhail/portnow12345................error: provide valid combination 3. Invalid login/valid password...............obama/portnov12345..................error: provide valid combination 4. Masking password...........................type 1234567........................shown in bullets 5. "Copy" menu item on Password..................NA...............................disabled 6. "Cut" menu item on Password...................NA...............................disabled ---------------- ZIP Code field: Reqs: - 5 characters - all digits - existing - required field Test cases: ID Purpose/Title Instruction Expected Result Positive/Negative 1. 5 digits, existing 94085 Accepted Positive - 1 2. 6 digits 940851 Rejected Negative - 1 3. 4 digits 9408 Rejected Negative - 2 4. Non-existent 00000 Rejected Negative - 3 5. Non-digit: Type Letter 94O85 Rejected Negative - 4 6. Non-digit: Type Sp. Char 94@85 Rejected Negative - 5 7. Non-digit: Paste Letter 94O85 Rejected Negative - 6 8. Non-digit: Paste Sp. Char 94@85 Rejected Negative - 7 9. Required field empty field req field msg Negative - 8 Happy Path - created intentionally not to fail