Best Examples of Functional Test Cases | Agilitest blog

Recently I was reviewing the test cases of one of my colleagues who has joined as a fresher in the testing team. Though he had tried his best to cover up all the test cases as per the functionality and WireFrame provided in the Business Requirement Specification, I found that cases written were not descriptive to be understood in one go. I had to ask him multiple times what he meant to say in Case 1, then in Case 2 and so on…

In my experience, I have observed this multiple times. The test cases written by testers are not quite descriptive, people try to address multiple things in a single test case which actually makes it difficult to understand. A test case should be so specific that even a lay man should understand what it is actually trying to cover and test. Functional test cases need to be developed, reviewed, used, managed and saved.

What does a Test Case mean?

“(1) A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.”

“(2) (IEEE Std 829–1983) Documentation specifying inputs, predicted results, and a set of execution conditions for a test item.”

It’s basically what you are testing, with what input, what you expect in return and finally recording the actual outcome of the test.

Furthermore, Test Cases can be classified into different categories like GUI, Functional, etc.

What is a Functional Test Case?

Before anything is moved to production, it is required to test that specific feature in the test environment to verify it is actually performing the required function correctly.

Not everything you test in the application relates to the functionality or feature. There are, for example GUI related things like Color, Background, icons, text color, font size, etc which can be tested separately, though these are also important aspects with regards to the application however can not be taken as functional test cases.

What should a Functional Test Case have?

  1. Menu Name — Window name where functionality needs to be covered.
  2. Description of the test case.
  3. Pre Conditions required.
  4. Steps required to execute the test.
  5. Expected Output.
  6. Actual Output.
  7. Remarks — In case, any additional info needs to be provided.

In case of test case failure, always make sure that you provide all the required information that is available at your end in the Actual Output column. Information like the following is very handy for the developers to debug the issue and also understand the cause of the failure:

  1. Error message displayed.
  2. Error log.
  3. Screenshot of the issue.
  4. Exact steps to reproduce the issue.

How to write a Functional Test Case?

Read full article here. An article by Mohammad Faisal Khatri.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store