Functional Testing-
Functional testing is a type of testing that tests the functionality of a system. It tests the behaviour of the system.
Based on the requirement of the client a document is prepared is called requirement specification of software specification.
Non-Functional Testing-
Non functional testing is testing the non functional aspects of the software like performance, quality, accuracy, durability, stability etc.
Difference Between Functional and Non Functional Testing
Functional Testing verifies the operations and actions of the software.
While Non functional testing verifies the behavior of the system.
Functional testing is based on the requirement of the customer.
It helps to inhance the behavior of the application.
Functional testing is easy to execute manually. It tests what the product does.
Example-
Unit Testing, Integration Testing, Regression Testing etc.
Non Functional testing is testing of customer's expectations.
While helps to improve the performance of the application.
Non functional testing is based on the performance requirement.
Example-
Performance testing, Load Testing, Stress Testing, Scalability testing.
Functional Testing of a login page-
- Identify the test case. 2.Setup the test environment.
- Prepare test data 4.Open the web browser and execute test.
- The system should login properly.
Non Functional testing example in detail-
*Load Testing:
*
Simulate multiple users accessing the website simultaneously to assess its performance under expected load conditions.
**Stress Testing:
Determine the website's behavior when subjected to loads beyond its capacity. This helps identify the breaking point.
Endurance Testing:
Assess the system's ability to handle a sustained load over an extended period to identify any performance decrement over time.
**Scalability Testing:
**Evaluate how well the system scales by increasing the number of users, transactions, or data volumes.
These were some example of functional and non functional testing.
Top comments (0)