Home work for Session 4 - https://online.portnov.net/onlinehome/ To pay the tuition - https://online.portnov.net/product/software-quality-assurance/ Clearance questions: - https://portnov.net/clearance/ Registration - http://online.portnov.net/register/ (ONLY IF YOU PAY) LOGIN REQUIRED: Your class page - https://online.portnov.net/may-9-2023/ Previous class 100 - https://online.portnov.net/january-12-2023-qa/ 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/defect - mismatch between actual and expected behaviour/appearance of the application Expected behaviour comes from: - requirements - guidelines - industry best practices ======================== 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) * TELL THEM: 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 - password is case insensetive 2. PRE-CONDITIONS: there is an existing account to use for test execution 3. TEST DATA: - valid mikhail portnov12345 - invalid portnow12345 4. TEST CASES: Summary (points to requirement) Title ID.....Description.................................Instruction....................Expected result Actual Result Pass/fail 1. Valid login/valid password.................mikhail/portnov12345................user logged in user not logged in Failed 2. Valid login/invalid password...............mikhail/portnow12345................error: provide valid combination 3. Masking password...........................type 1234567........................shown in bullets 4. "Copy" menu item on Password..................NA...............................disabled 5. "Cut" menu item on Password...................NA...............................disabled - no orphaned test cases/requirements - prioritizing (start with Happy Path) ---------------- ZIP Code field: Reqs: - 5 characters (letters, digits, special 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. 6 digit: Paste 940851 Rejected Negative - 8 10. Required field empty field req field msg Negative - 9 Bug report 1: User is able to paste letters into the "ZIP code" field instead of being limited to digits only Bug report 2: ZIP code field accepts specials characters instead of being limited to digits only Happy Path - created intentionally not to fail