Example Of Manual Testing

What is a Test Case?

A tester conduct a test through the execution of our application build is called dynamic testing. Example: Functional, Performance and Security Testing. Manual Vs Automation Testing. A Test Engineer conducts a test on application build without using any third party testing tool is called Manual Testing. There are many certifications of testing and as a beginner or a manual tester, it is recommended to clear ISTQB certification as it gives deep knowledge about the core concepts of testing. Now, if you are looking for a job that is related to Manual Testing then you need to prepare for the 2019 Manual Testing.

Web Application Testing Example Test Cases: This is a complete Testing Checklist for both web-based and desktop applications. This is a very comprehensive list of Web Application Testing Example Test Cases/scenarios. Our goal is to share one of the most comprehensive testing checklists ever written and this is not yet done. Test Case Example for Manual Testing Below given is an Example of a live project that demonstrates how all the above-listed tips and tricks are actually implemented. Note: Click on any image for an enlarged view. Software Testing Resume Example. Your education and certification are two areas that you need to make sure are easy to find on the resume. Employers value these credentials in applicants. Your breadth of expertise in different programming languages and software programs also is important to list in your expertise section.

A Test Case is defined as a set of actions executed to verify a particular feature or functionality of the software application. A test case is an indispensable component of the Software Testing LifeCycle that helps validate the AUT (Application Under Test).

Test Scenario Vs Test Case

Test scenarios are rather vague and cover a wide range of possibilities. Testing is all about being very specific.

For a Test Scenario: Check Login Functionality there many possible test cases are:

  • Test Case 1: Check results on entering valid User Id & Password
  • Test Case 2: Check results on entering Invalid User ID & Password
  • Test Case 3: Check response when a User ID is Empty & Login Button is pressed, and many more

This is nothing but a Test Case.

Click here if the video is not accessible

How to Create a Test Case

Let’s create a Test Case for the scenario: Check Login Functionality

Step 1) A simple test case for the scenario would be
Test Case #Test Case Description
1Check response when valid email and password is entered
Step 2) In order to execute the test case, you would need Test Data. Adding it below
Test Case #Test Case DescriptionTest Data
1Check response when valid email and password is enteredEmail: This email address is being protected from spambots. You need JavaScript enabled to view it. Password: lNf9^Oti7^2h

Identifying test data can be time-consuming and may sometimes require creating test data afresh. The reason it needs to be documented.

Step 3) In order to execute a test case, a tester needs to perform a specific set of actions on the AUT. This is documented as below:
Test Case #Test Case DescriptionTest StepsTest Data
1Check response when valid email and password is entered

1) Enter Email Address

2) Enter Password

3) Click Sign in

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.

Password: lNf9^Oti7^2h

Many times the Test Steps are not simple as above, hence they need documentation. Also, the author of the test case may leave the organization or go on a vacation or is sick and off duty or is very busy with other critical tasks. A recently hire may be asked to execute the test case. Documented steps will help him and also facilitate reviews by other stakeholders.

Step 4) The goal of test cases is to check behavior the AUT for an expected result. This needs to be documented as below
Test Case #Test Case DescriptionTest DataExpected Result
1Check response when valid email and password is enteredEmail: This email address is being protected from spambots. You need JavaScript enabled to view it.
Password: lNf9^Oti7^2h
Login should be successful

During test execution time, the tester will check expected results against actual results and assign a pass or fail status

Test Case #Test Case DescriptionTest DataExpected ResultActual ResultPass/Fail
1Check response when valid email and password is enteredEmail: This email address is being protected from spambots. You need JavaScript enabled to view it. Password: lNf9^Oti7^2hLogin should be successfulLogin was successfulPass

Step 5) That apart your test case -may have a field like, Pre - Condition which specifies things that must in place before the test can run. For our test case, a pre-condition would be to have a browser installed to have access to the site under test. A test case may also include Post - Conditions which specifies anything that applies after the test case completes. For our test case, a postcondition would be time & date of login is stored in the database

The format of Standard Test Cases

Below is a format of a standard login Test case
Test Case IDTest ScenarioTest StepsTest DataExpected ResultsActual ResultsPass/Fail
TU01Check Customer Login with valid Data
  1. Go to site http://demo.guru99.com
  2. Enter UserId
  3. Enter Password
  4. Click Submit
Userid = guru99 Password = pass99User should Login into an applicationAs ExpectedPass
TU02Check Customer Login with invalid Data
  1. Go to site http://demo.guru99.com
  2. Enter UserId
  3. Enter Password
  4. Click Submit
Userid = guru99 Password = glass99User should not Login into an applicationAs ExpectedPass

This entire table may be created in Word, Excel or any other Test management tool. That's all to Test Case Design

While drafting a test case to include the following information

  • The description of what requirement is being tested
  • The explanation of how the system will be tested
  • The test setup like a version of an application under test, software, data files, operating system, hardware, security access, physical or logical date, time of day, prerequisites such as other tests and any other setup information pertinent to the requirements being tested
  • Inputs and outputs or actions and expected results
  • Any proofs or attachments
  • Use active case language
  • Test Case should not be more than 15 steps
  • An automated test script is commented with inputs, purpose and expected results
  • The setup offers an alternative to pre-requisite tests
  • With other tests, it should be an incorrect business scenario order

Best Practice for writing good Test Case Example.

1. Test Cases need to be simple and transparent:

Cases

Live Example Of Manual Testing

Create test cases that are as simple as possible. They must be clear and concise as the author of the test case may not execute them.

Use assertive language like go to the home page, enter data, click on this and so on. This makes the understanding the test steps easy and tests execution faster.

2. Create Test Case with End User in Mind

The ultimate goal of any software project is to create test cases that meet customer requirements and is easy to use and operate. A tester must create test cases keeping in mind the end user perspective

3. Avoid test case repetition.

Do not repeat test cases. If a test case is needed for executing some other test case, call the test case by its test case id in the pre-condition column

4. Do not Assume

Do not assume functionality and features of your software application while preparing test case. Stick to the Specification Documents.

5. Ensure 100% Coverage

Make sure you write test cases to check all software requirements mentioned in the specification document. Use Traceability Matrix to ensure no functions/conditions is left untested.

6. Test Cases must be identifiable.

Name the test case id such that they are identified easily while tracking defects or identifying a software requirement at a later stage.

7. Implement Testing Techniques

It's not possible to check every possible condition in your software application. Software Testing techniques help you select a few test cases with the maximum possibility of finding a defect.

  • Boundary Value Analysis (BVA): As the name suggests it's the technique that defines the testing of boundaries for a specified range of values.
  • Equivalence Partition (EP): This technique partitions the range into equal parts/groups that tend to have the same behavior.
  • State Transition Technique: This method is used when software behavior changes from one state to another following particular action.
  • Error Guessing Technique: This is guessing/anticipating the error that may arise while doing manual testing. This is not a formal method and takes advantages of a tester's experience with the application

8. Self-cleaning

When I checked what I got wrong it told me and when I did it again I put in the right answers for that question and they would change. Montana drivers license practice test.

The test case you create must return the Test Environment to the pre-test state and should not render the test environment unusable. This is especially true for configuration testing.

9. Repeatableand self-standing

The test case should generate the same results every time no matter who tests it

10. Peer Review.

After creating test cases, get them reviewed by your colleagues. Your peers can uncover defects in your test case design, which you may easily miss.

Test Case Management Tools

Test management tools are the automation tools that help to manage and maintain the Test Cases. Main Features of a test case management tool are

  1. For documenting Test Cases: With tools, you can expedite Test Case creation with use of templates
  2. Execute the Test Case and Record the results: Test Case can be executed through the tools and results obtained can be easily recorded.
  3. Automate the Defect Tracking: Failed tests are automatically linked to the bug tracker, which in turn can be assigned to the developers and can be tracked by email notifications.
  4. Traceability: Requirements, Test cases, Execution of Test cases are all interlinked through the tools, and each case can be traced to each other to check test coverage.
  5. Protecting Test Cases: Test cases should be reusable and should be protected from being lost or corrupted due to poor version control. Test Case Management Tools offer features like
  • Naming and numbering conventions
  • Versioning
  • Read-only storage
  • Controlled access
  • Off-site backup

Example Of Manual Testing Software

Popular Test Management tools are: Quality Center and JIRA

Resources

  • Please note that the template used will vary from project to project. Read this tutorial to Learn Test Case Template with Explanation of Important Fields

Learn about when you should use manual versus automated testing, like load testing automation, according to the pros and cons of each method.

Join the DZone community and get the full member experience.

Join For Free

Software testing is a huge domain, but it can be broadly categorized into two areas: manual testing and automated testing.

Testing Concepts Pdf

Both manual and automated testing offer benefits and disadvantages. It’s worth knowing the difference, and when to use one or the other for best results.

In manual testing (as the name suggests), test cases are executed manually (by a human, that is) without any support from tools or scripts. But with automated testing, test cases are executed with the assistance of tools, scripts, and software.

Testing is an integral part of any successful software project. The type of testing (manual or automated) depends on various factors, including project requirements, budget, timeline, expertise, and suitability. Three vital factors of any project are of course time, cost, and quality - the goal of any successful project is to reduce the cost and time required to complete it successfully while maintaining quality output. When it comes to testing, one type may accomplish this goal better than the other.

Example

Manual vs. Automated Testing: the Pros and Cons

Manual testing and automated testing cover two vast areas. Within each category, specific testing methods are available, such as black box testing, white box testing, integration testing, system testing, performance testing, and load testing. Some of these methods are better suited to manual testing, and some are best performed through automation. Here’s a brief comparison of each type, along with some pros and cons:

When Should I Use Manual vs. Automated Testing?

In short, manual testing is best suited to the following areas/scenarios:

  • Exploratory Testing: This type of testing requires the tester’s knowledge, experience, analytical/logical skills, creativity, and intuition. The test is characterized here by poorly written specification documentation, and/or a short time for execution. We need the human skills to execute the testing process in this scenario.
  • Usability Testing: This is an area in which you need to measure how user-friendly, efficient, or convenient the software or product is for the end users. Here, human observation is the most important factor, so a manual approach is preferable.
  • Ad-hoc Testing: In this scenario, there is no specific approach. It is a totally unplanned method of testing where the understanding and insight of the tester is the only important factor.

Automated testing is the preferred option in the following areas/scenarios:

  • Regression Testing: Here, automated testing is suitable because of frequent code changes and the ability to run the regressions in a timely manner.
  • Load Testing: Automated testing is also the best way to complete the testing efficiently when it comes to load testing. Learn more about load testing with our best practices guide.
  • Repeated Execution: Testing which requires the repeated execution of a task is best automated.
  • Performance Testing: Similarly, testing which requires the simulation of thousands of concurrent users requires automation.

Keeping these factors in mind, you can find the best approach in any given testing situation and achieve quality output well within your budget and timeline.

Like This Article? Read More From DZone

performance ,load testing ,automated testing ,test automation

Published at DZone with permission of Whitney Donaldson , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.