SDLC Models – Agile Model

Agile Model

In the last session, we had discussed about V-model which is a better SDLC model as compared to Waterfall model but this also has some disadvantages, and the disadvantages of V-model are.

Disadvantages of V Model

  1. No Requirement Change – Once the Requirement Analysis phase is over, Requirement Change can not be done in V model as well until the first product launch and this also takes at least 3 to 4 months of time.  
  2. Time – Time reduces a lot in V Model as compared to Waterfall but this is not enough and a new type of model is needed which is Agile Model
  3. Documentation overload – The V-Model requires a lot of documentation, which is time-consuming and may result in documentation overload.
  4. Limited flexibility unlike Agile approaches – The V-Model is not very flexible, because Requirements can not be changed. So any project requirement change is allowed, we can only use Agile development approaches.

Because of all the above disadvantages, we needed a better SDLC model, and Agile model came into picture, as a replacement.

What is Agile Model

  • Agile Model is SDLC Model.
  • Agile Model is a combination of iterative and incremental process.
  • Agile Model works on rapid delivery of working software project.
  • Agile Method breaks the product into small incremental builds.
  • These builds are provided in iterations. So, These builds are called iteration.
  • Each Iteration is of 2 weeks generally. We call it sprint or release.
  • In Agile Model, Cross functional people work in the same team. Developers, Testers, Managers, Business Analyst, Design all are part of same team.
  • We divide the tasks into small time frames. i.e. Requirements are divided into small time frames.
  • Each time frame is called Release or Sprint.
  • Each Release is responsible to deliver a working product with some features or tasks or requirements.

Process involved in each release or sprint

  1. Planning – Sprint Planning – All the requirements are planned and given for analysis. Let’s say it takes 1 day of time.
  2. Requirement Analysis – Requirement analysis is done by BA. Let’s say it takes 1 day of time.
  3. Designing – Workflows are being generated by Architect. Let’s say it takes 2 days of time. 
  4. Coding – Code is being prepared and given for testing. Let’s say it takes 2 days of time.
  5. Testing – Now the testers have 4 days of time but they try to complete the testing with 2 days so that defect fixes can be tested in the remaining time.
Agile Model

So, We can see that, 10 working days, i.e. 2 weeks of time is needed for 1 sprint to be completed and for the first working product to be released or launched. This sprint is also called iteration.

Then in new iteration, some new requirements are added and launched, and a 2nd version of working model is launched in the 2nd sprint or iteration. So this new version will have more features. So, the features are increased now. So, we can say each iteration is incremental in terms of features.

That’s why we say, that Agile Model is an Incremental Iterative Approach. With each iteration, number of features, increases in the Software.

Example to understand Agile Model

So, Lets take an example of Ecommerce Application where we have certain functionalities such Sign up, Sign in, Place Order, Select Product and many more such functionalities. All these functionalities are called requirements in Business Analyst Language, So let’s say we have 100 such requirements. Here is the List of all the requirements.

  1. Navigate to eCommerce Website.
  2. Check Compatibility in chrome browser.
  3. Check Compatibility in firefox browser.
  4. Check Compatibility in safari browser.
  5. Check if you can create a Registered Account.
  6. Check if you can sign in with the account created.
  7. Check sign in is not allowed for wrong credentials.
  8. Check Product Search Functionality. It should load PLP (Product List Page).
  9. Check Product Browse Functionality. It should load PLP (Product List Page).
  10. Check PLP (Product List Page) Functionality.
  11. Check Sorting in PLP (Product List Page) Functionality.
  12. Check all the Filters in PLP (Product List Page) Functionality.
  13. Click on any product in PLP and check if it takes you to PDP (Product Details Page)
  14. Check PDP (Product Details Page) Functionality.
  15. Check Product availabilit in PDP.
  16. Check if the Product is available in PDP.
  17. Check if the Product is Out of Stock/Backorder in PDP.
  18. Check if the Product is a future product and if you can preorder it.
  19. Check Add to Bag Functionality in PDP.
  20. Check if you add a product to Bag, then 1 side window open up with the information that a product is added.
  21. Check Add to Wishlist Functionality in PDP.
  22. Add to Bag Feature.
  23. Wishlist Feature.
  24. Check if you an add a product to wishlist from PLP.
  25. Check if you can see all the products in wishlist.
  26. Check if you can add a product to bag from wishlist.
  27. Check if you can remove a product from wishlist.
  28. Click on Shopping Bag link, and see if you are navigated to Shopping Bag Page.
  29. Check if you added a product to Bag, then it must be visible on Shopping Bag Page.
  30. Check if the shopping Bag displays the correct product, we added to Bag.
  31. Check if the shopping Bag displays the correct sixe and the color of the product, we added to Bag.
  32. Check if you can remove a product from Bag.
  33. Check if you didn’t add a product to Bag, then Shopping Bag Page must be empty.
  34. Check if you click on checkout button on the Shopping Bag Page, then it takes you to the Checkout Page.
  35. Check Checkout Page Functionality.
  36. Check if you are able to enter Shipping Address in Checkout Page.
  37. Check if the Country Dropdown displays all the countries eligible.
  38. Check if the country is slected, then the state dropdown displays all the eligible states.
  39. Check if the zipcode allows only valid zip code (Country, State and City Combination)
  40. Check if you enter a wrong zip code, then error message is displayed.
  41. Check Payment Functionality in Checkout Page.
  42. Check all the Payment types are available.
  43. Check if VISA Card is available for Payment.
  44. Check if you can enter a Valid VISA Card number.
  45. Check if you can enter a Valid Master Card number.
  46. Check if you enter a Card number, it should be 16 digit only.
  47. Check if you enter a wrong card number, it throws an error.
  48. Check if you can enter a Valid expiry date for the Credit Card.
  49. If the Card expiry date is in the past, it throws an error.
  50. if the Card expiry date is in the future, it is allowed.
  51. Check if you can enter a valid cvv for a Credit Card.
  52. Check if you enter a cvv more than 3 digit for a VISA or Master Card, then it is not allowed.
  53. Check Billing Address Functionality in PDP Page.
  54. Check if we have an option, so that we can select billing address same as shipping address.
  55. Check if we can enter a different billing address than shipping address
  56. Check if place Order button is available in checkout page.
  57. Check if place Order button is clickable in checkout page.
  58. Check if place Order button is responsive in checkout page.
  59. Check if place Order button is clicked, it takes us to Order Confirmation Page.
  60. Check Order Confirmation Page Functionality.
  61. Check Order Number is displayed on Order Confirmation Page.
  62. Check the Item details are also displayed on Order Confirmation Page.
  63. Check the Order Total and Order Total Breakup is also displayed on Order Confirmation Page.

So In Agile Model We will first take the very high priority Requirements for the very first sprint or release and let’s say, we have 5 high priority requirements, with which we are going to create our first working software. So, let’s say the 5 High Priority requirements are

  1. Navigate to eCommerce Website
  2. Compatibility in chrome browser
  3. Create a Registered Account
  4. Sign in with the account created
  5. Sign in is not allowed for wrong credentials

Now, we should keep one thing in mind, that this first working product will be an MVP or not. So, if our first working software with minimum features, is not an MVP, then we can’t launch that in production. So, let’s say we have our first working software with the features. So, the features, that we have taken in the first sprint can not create an MVP, because any eCommerce website with above features will not be useful for the end users, because the end user is not able to place order and any eCommerce website is not useful, if it doesn’t allow to place order, So We have to add some more features to our software in the next sprint or release and check if our software is an MVP or not. Now, let’s say we are going to add below features.

  1. Search Product Feature
  2. Browse Product Feature
  3. Product List Page Feature
  4. Product Details Page Feature
  5. Add to Shopping Bag Feature
  6. Shopping Bag Feature

Now, again the working software with above features is not an MVP, because the Order creation functionality is not available yet, So we will have to add some more features to our Software. Now, let’s say we are going to add below features.

  1. Checkout Button on the Shopping Bag
  2. Checkout Page Feature
  3. Shipping Address and Billing Address on the Checkout Page
  4. Payment Option in Checkout Page
  5. Place Order Button on the Checkout Page
  6. Order Confirmation Page Feature

Now, We can say that the Product is an MVP because now we have Order Creation Feature available in the Product. We can launch this product in production now and make it available for the end user.

Our First working software with MVP is ready after 3 sprints. Each sprint is normally 2 weeks, So It took around 6 weeks of time to launch our first working software with MVP. This time is less than V Model.

So, this is how Agile Model works.

Points to remember

  1. There is no Requirement Document in Agile Model.
  2. There is no High Level Design Document in Agile Model.
  3. There is no Low Level Design Document in Agile Model.
  4. There is no Test Plan Document in Agile Model.

Now, after reading above statements, it looks like that there is no documentation required in Agile Model, but that is not the case, We will need documentation but the documentation work is very minimal in Agile Model.

So, what do we do for Documentation Part.

  1. We create a Ticket (Defect or Story) for each Requirement. So, 1 Ticket for 1 Requirement.
  2. Test Planning team will provide the Planning inputs in the ticket.
  3. Then, Business Analyst will analyze the requirement and provide his/her inputs. in the same ticket.
  4. Then Design Team will provide their inputs based on the requirement analysis in the same ticket.
  5. Then Developers will start writing the code and update the comments in the ticket with the status in the same ticket..
  6. Then Testers will test the Ticket and provide Test Results in the same ticket.

So, We can have everything Requirements, Design inputs, Test Results in 1 Ticket. This way Documentation is minimized in Agile Model.

Advantages of Agile Model

  1. It takes very less time to launch the first working software in the production environment if we use Agile Model of SDLC.
  2. Communication gap is reduced as all the team members communicate to each other.
  3. Cross Functional Knowledge increases within the team, such as testers can get trained on Requirement Analysis, design and development while working on the project.
  4. Minimal Documentation is required.
  5. A very little planning is required.

Disadvantages of Agile Model

  1. As we say, that all the team members should be a part of single team and they should work in the same time zone, It’s very difficult to achieve such a mechanism. Business Analyst could belong to United States, where as Design Team belongs to Europe, Developer might be from China and Testers might be from India, So it’s very difficult for everyone to work in the same time zone, So Pure Agile Model can not be achieved every time.
  2. Agile Model is suitable for a new project but when we talk about a maintenance project, then it is difficult to achieve Pure Agile Model.
  3. Complex projects where there is a lot of dependencies on different systems and those systems are handle by different team, then Agile Model can not be used.

When to use Agile Model

We should use Agile Model in the Projects where

  1. Requirements change frequently
  2. Emphasis on more Documentation is not there
  3. Timelines are flexible, Launch date can be changed
  4. All the Project members are in the same team and working in the same time zone
  5. Client is ready to discuss anything at any point of time during working hours.

Summary

We have covered below topics in this session.

  1. Disadvantages of V Model
  2. What is Agile Model
  3. Process involved in each release or sprint
  4. Example to understand Agile Model
  5. Points to remember
  6. Advantages of Agile Model
  7. Disadvantages of Agile Model
  8. When to use Agile Model

Question

Explain Agile Process.

Leave a Comment