How Do You Write QA Test Cases?

What is a good test case?

Typically, test cases should be small, isolated and atomic.

Test cases should be easy to understand and steps should be executed fast.

They should independent with each other & fail/pass independently from one another.

Fairly, each good test should have defined its expected result..

How do you write a good test case description?

How to write test cases for software:Use a Strong Title. … Include a Strong Description. … Include Assumptions and Preconditions. … Keep the Test Steps Clear and Concise. … Include the Expected result. … Make it Reusable. … Title: Login Page – Authenticate Successfully on gmail.com.Description: A registered user should be able to successfully login at gmail.com.More items…•

What is bug life cycle?

Defect life cycle, also known as Bug Life cycle is the journey of a defect cycle, which a defect goes through during its lifetime. It varies from organization to organization and also from project to project as it is governed by the software testing process and also depends upon the tools used.

How do you write a test case for a pen?

General Test Cases/Scenarios for all Types of PenThe grip of the pen: Verify if you are able to hold the pen comfortably.Writing: Verify if you are able to write smoothly.Verify that the pen is not making any sound while writing.Verify the ink flow. … Verify the quality of the material used for the pen.More items…•

Why test cases are needed?

It means that test cases clarify what needs to be done to test a system. … It gives us the steps which we execute in a system, the input data values which we enter in the system along with the expected results when we execute a particular test case.

What is difference between test case and test scenario?

Test Case is a set of actions executed to verify particular features or functionality whereas Test Scenario is any functionality that can be tested. … Test Case includes test steps, data, expected results for testing whereas Test Scenario includes an end to end functionality to be tested.

How do you write a test case for an application?

Test Scenarios of a Registration Form:Verify that the Registration form contains Username, First Name, Last Name, Password, Confirm Password, Email Id, Phone number, Date of birth, Gender, Location, Terms of use, Submit, Login (If you already have an account)Verify that tab functionality is working properly or not.More items…

What is test case example?

A TEST CASE is a set of actions executed to verify a particular feature or functionality of your software application. A Test Case contains test steps, test data, precondition, postcondition developed for specific test scenario to verify any requirement.

Who writes UAT test cases?

Options for who does it might include: The users and product owners alone, perhaps with some training from specialists testers or business analysts. The users and product owners with the support of some combination of testers, business analysts, or others. The organisation’s specialist acceptance test team, if it has …

How do you test a QA pencil?

Test Cases for PencilVerify that the text written with the pencil is readable/legible.Verify that the user can write smoothly on different types/quality of paper surfaces.Check that the darkness/color of the text written by pencil is as per the specifications.More items…•

How do you write test cases on a calculator?

Test Cases for CalculatorCheck if the calculator is a normal calculator or a scientific calculator.Verify that all the buttons are present and text written on them is readable.Check the arithmetic operations are working fine- +, -, /, * etc.Verify that BODMAS is applied in case of complex queries and the correct result is returned.More items…

How do you write test cases?

Test Case DocumentOpen a browser and enter the URL for the Login screen. … Install the app in Android phone and open it. … Open the Login screen and check the texts available are correctly spelled. … Enter the text in the User Name box. … Enter the text in the Password box. … Click the Forgot Password?More items…•

What are the qualities of a good QA tester?

The 5 qualities of a great QA testerPride in quality, not bugs. A good QA tester should take pride in the quality of work they are responsible for delivering – not for the number of bugs they find. … A willingness to learn. … An ability to use real-life scenarios. … Consistency. … An ability to prioritise.

What are the types of test cases?

Different types of test cases:Functionality Test Cases. … User Interface Test Cases. … Performance Test Cases. … Integration Test Cases. … Usability Test Cases. … Database Test Cases. … Security Test Cases. … User Acceptance Test Cases.

What is test scenario with example?

A TEST SCENARIO is defined as any functionality that can be tested. It is also called Test Condition or Test Possibility. As a tester, you should put yourself in the end user’s shoes and figure out the real-world scenarios and use cases of the Application Under Test.

How do you write test cases for ATM?

Test Cases for ATM:Verify the ‘ATM Card Insertion Slot’ is as per the specification.Verify the ATM machine accepts card and PIN details.Verify the error message by inserting a card incorrectly.Verify the error message by inserting an invalid card (Expired Card)Verify the error message by entering an incorrect PIN.More items…

What is a test case in QA?

A test case describes an input, action, or event and an expected response, to determine if a feature of a software application is working correctly. A test case may contain particulars such as test case identifier, test case name, objective, test conditions/setup, input data requirements, steps, and expected results.