We had discussed about Integration Testing in the last session, and We are going to discuss about System Testing in this session. But before we discuss about System Testing, We must know about Levels of Testing, and We have already discussed about Levels of Testing in our previous session.
Just to give a Summary on Different Levels of Testing. There are 4 different Levels of Testing
Integration Testing has already been discussed in the previous session, So we will discuss about System Testing in this session.
System Testing is the 3rd Level of Testing in a Software Development Life Cycle (SDLC).
This is performed after Integration Testing is completed.
System Testing is also called End to End Testing.
When all the Components of a Software are integrated together and then tested altogether as a System, then it is called System Testing.
System Testing is performed by QA Engineers, So It falls under Black Box Testing.
We not only test the functionality of the Software in System Testing, But we test a lot’s of other things as well in System Testing. So System Testing is categorized as following
So these are some types of System Testing. We will discuss all these in our coming sessions in detail.
Let’s take an example of Internet Banking as a System and let’s take examples of different Components of Internet Banking.
such as
Let’s say that Unit Testing and Integration Testing was passed and Now we must do System Testing.
So, what will we do, We will test it “System as a whole”
Let’s take an example of a Calculator, eCommerce Website and a Backend System that creates Promotions for eCommerce Website. Calculator Application is created and integrated with eCommerce Application, So that the Order Total can be done properly.
If suppose Company wants to give discount to it’s Customers during Christmas and New Year Time. If any customer purchases anything from the eCommerce, they will be given some amount of Discount based on their purchase. So, the Backend System will have to create a Promotion and when we create an Order then the Promotion must be applied to the Order.
So, If we want to do System Testing for this Scenario, then we have to follow some steps.
Navigate to Website – Here, we are testing that the Home Page of the Website is launching or not.
Search for some Product – Here we are testing that we are able to search the Product. Integration Testing between Home Page to Product Search Page.
Click on a Product and move to PDP Page – Here we are Testing that we are able to go to PDP Page from Product Search Page. Integration between Product Search Page to PDP Page.
Add the Product to Shopping Bag – Here we are testing that are we able to add the Product to the Shopping Bag. Integration between PDP Page to Shopping Bag Page.
Go to Shopping Bag Page – Here we are testing that we are able to move from PDP to Shopping Bag Page – Integration between PDP Page to Shopping Bag Page.
We should validate that the Products are added to the Shopping Bag – Integration between PDP Page to Shopping Bag Page.
Order Total on the Shopping Bag Page must be shown properly – Here we are testing that Calculator is Integrated to the eCommerce Website and working properly. Integration between Calculator and eCommerce Website
Order Total Calculation will be done by the Calculator which is integrated with the eCommerce Website, So that Order Total can be done properly.
So, the Calculator should multiply the price of a product by 2 if we have added 2 quantities of a product.
Calculator should sum up all the products prices which we have added to our shopping bag.
Apply promotion using the coupon code – Here we are testing that the Promotion created in the Backend system is getting applied on the Order. Integration between Backend System and ecommerce Website.
Promotion should reduce the Order Total accordingly – Here we are testing that the Calculator Application should calculate the reduced order total price according to the promotion. like if it is 20% off, Price will be reduced by 20%.
Navigate to the Checkout Page – Here we are testing that we are able to move from Shopping Bag Page to Checkout Page. Integration between Shopping Bag Page to Checkout Page.
Complete Checkout and Create Order
So, This is how, a Complete End to End or System testing is done.
These were some simple examples of System Testing.
======================================================================
System Testing is very important. Here are few advantages of System Testing.
Here are few Limitations of System Testing
We have covered below topics in this session
System testing is done at what level of Testing?
Objects, Classes and Constructor in Javascript Classes and Objects A class in any programming language…
We will start from object oriented programming basics like What are different concepts in Object…
Why we can not over ride a Constructor This is a very important question, that,…
What is Arrow Function In the last session, We had discussed about Anonymous Function. Anonymous…
What is Anonymous Function Anonymous Function is a type of function which has no name…
What is Map, Reduce and Filter Map Filter and Reduce are higher order methods for…