Оплата - https://online.portnov.net/product/software-quality-assurance/ Registration - http://online.portnov.net/register/ (ONLY IF YOU PAY) https://online.portnov.net/h2/ Страница класса =========================================================================================== Clearance questions: - https://portnov.net/clearance/ 3 things you need to get 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 ================= КАК ВЫ ПРОТЕСТИРУЕТЕ? = HOW WOULD YOU TEST??? ============= - How would you test ...? - Write test cases for testing ... напишите тест кейсы для тестирования.... NO REQUIREMENTS - NO TESTING / Тестировать без требований практически невозможно (expected behaviour) 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 (use https://newcampus.educadium.com/portnov/ as an illustration) 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 logged in Passed 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 - важно тест кейсы писать в определенном порядке - от самых важных, к менее важным 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 (http://energy-telecom.portnov.com/qa/) ------------------------------ChatGPT writing test cases----------------------------- 1. Очень важно как можно точнее описать что мы хотим от ChatGPT (терминология, формат тест кейса) 2. Необходимо дать РЕАЛЬНО ПОДРОБНЫЕ requirements если мы хотим получить приличные тест кейсы 3. Необходимо ТЩАТЕЛЬНО переработать вручную результат, поскольку он не идеален 4. Было получено много идей для включения в requirements - trimming leading/trailing spaces for login and password strings - case sensetivity 5. Editing and rephrasing the text of the test cases