<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sher Hassan on Medium]]></title>
        <description><![CDATA[Stories by Sher Hassan on Medium]]></description>
        <link>https://medium.com/@sher.hassan?source=rss-899065d51e10------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pSqcxZQwyG7lflHJpxsCCw.jpeg</url>
            <title>Stories by Sher Hassan on Medium</title>
            <link>https://medium.com/@sher.hassan?source=rss-899065d51e10------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:44:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sher.hassan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Shift Left Testing: What is it?]]></title>
            <link>https://medium.com/bitlogix/shift-left-testing-what-is-it-ccd7652125b0?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccd7652125b0</guid>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Thu, 28 Jul 2022 06:10:15 GMT</pubDate>
            <atom:updated>2022-07-28T06:10:15.282Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EIyMNNkgw7cMSdO-e7mY8Q.png" /></figure><p>First off, the “Shift left” idea encourages early collaboration between the Testing team and all other stakeholders. As a result, they can easily comprehend the specifications and create test cases that will assist the programme “Fail Fast” and provide the team with the opportunity to address any issues as soon as possible.</p><p>The Shift Left approach entails including testers much earlier in the software development life cycle, allowing them to better comprehend requirements, software design, architecture, coding, and functionality. They would also be able to ask challenging questions of customers, business analysts, and developers, get clarifications and offer feedback whenever it is helpful to the team.</p><p>The testers’ participation and comprehension will enable them to fully understand the product, consider alternative situations and create actual scenarios based on the behaviour of the programme to aid the team in finding bugs even before any coding has been done.</p><h3>In Shift Left, what should testers do differently?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*ciBEOEIzKpROM8xgxtMICw.jpeg" /></figure><p>The following are some significant differences that the Testers make while using the Shift Left Strategy:</p><p><strong>#1)</strong> The test team should get involved with the system as soon as the project is started to build relationships with the rest of the team and the company and to be able to contribute important information at each level of the software development process.</p><p><strong>#2)</strong> The test team should collaborate with the business and operations team to understand the programme, offer a clear picture of demand, and aid in effectively planning resource ramp-up requirements, training requirements, and testing tool requirements for the programme well in advance.</p><p><strong>#3)</strong> To gain a clear understanding of the product and design a unified testing strategy and plan for an optimised testing effort, test teams must engage with all business stakeholders early in the software development process. They must also analyse dependency on test environments, third parties, stubs, etc., and prepare a solid automation strategy and framework as well as a test data management plan.</p><p><strong>#4)</strong> Rather than only being in charge of testing activities, the test team must collaborate with the rest of the team to provide excellent test leadership and advice to the team while keeping the long-term product vision in mind.</p><p><strong>#5)</strong> The success of every programme depends on its needs, and projects with well-specified criteria are successful.</p><p>The requirements must be reviewed and analysed by testers for any ambiguity, improved clarity, completeness, testability, description of acceptance criteria, etc. throughout the requirements planning process.</p><p>Additionally, it’s necessary to comprehend the dependencies and implementation methodologies, as well as to identify any missing needs.</p><p>Clear requirements enable software to “Fail Fast” and address any errors as soon as possible.</p><p><strong>#6)</strong> Provide adequate specificity and clarity to the criteria by citing actual instances that highlight the characteristics that are in use.</p><p><strong>#7)</strong> Testers must routinely attend design review meetings, comprehend the architecture and design of the product, find design defects and recommend other solutions. They must also find design loopholes and develop test scenarios to exploit them.</p><p><strong>#8)</strong> To avoid bugs from being ingrained in the programme and spreading later, testers must do static testing (reviews) well in advance and offer input on important project papers.</p><p><strong>#9)</strong> The testing team should work with the design and development teams to provide test cases beforehand so that the code may be developed and can cover all potential real-time scenarios and business flows.</p><p><strong>#10)</strong> The test team must create strong and reliable test scenarios to ensure that there are few faults found during testing and that big problem are prevented before the testing phase even begins.</p><p><strong>#11)</strong> To prevent defects from developing further, testers must test as soon as possible, whether on a standalone or local system.</p><p>Finding the Defects as early as possible using every available method is the core of the “Shift Left” idea for testers.</p><h3><strong>Advantages of Left Shift Testing</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*lrRyy2wLbTqWpGkVmOhKjQ.jpeg" /></figure><p>Based on the agile manifesto, the Shift Left method also provides several benefits.</p><p>As follows:</p><p><strong>#1)</strong> People and interactions above procedures and equipment.</p><p><strong>#2) </strong>Working software is preferred over thorough documentation.</p><p><strong>#3) </strong>Collaboration with the customer during contract negotiations following a strategy of overreacting to change.</p><p><strong>#4) </strong>While the items on the right do have worth, it is clear that we place greater value on the items on the left.</p><p><strong>#5) </strong>Shift Left aims to include testing earlier in the process, making testing better and more effective while also raising the level of software quality.</p><h3>In a nutshell, the Shift Left Testing procedure is:</h3><p><strong>#1) </strong>Early fault detection can lower project costs.</p><p><strong>#2) </strong>Testing constantly, repeatedly, and ultimately reduces faults</p><p><strong>#3) </strong>To speed up time to market and automate everything.</p><p><strong>#4) </strong>To concentrate on client needs and enhance the customer experience.</p><h3><strong>Conclusion</strong></h3><p>The “Shift Left” notion completely changed the “Testing” job.</p><p>Before, the main goal of testing was “Defect Detection,” but now the goal of the “Shift Left” is a trip from “Early Defect Detection to Static Testing.”</p><p>Therefore, Shift Left represents a Big Leap in the Software Development technique for the software industry in terms of accelerating time to market, enhancing software quality, and decreasing “Time to Market.”</p><p>Post your ideas and suggestions in the comments area below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccd7652125b0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/shift-left-testing-what-is-it-ccd7652125b0">Shift Left Testing: What is it?</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHAT IS A TEST SUITE, TEST COVERAGE, and TEST BED? DIFFERENCE BETWEEN USE CASE AND TEST CASE]]></title>
            <link>https://medium.com/bitlogix/what-is-a-test-suite-test-coverage-and-test-bed-difference-between-use-case-and-test-case-9403252a0029?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/9403252a0029</guid>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 10:22:47 GMT</pubDate>
            <atom:updated>2022-06-20T10:22:47.247Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7IHmnWPb05eaFd0EzN-HZQ.jpeg" /></figure><p><strong><em>This comprehensive hands-on article covers the details of Test Suite, Test Coverage, Test Bed, and differences between Use Case and Test Case.</em></strong></p><p><strong>What is Test Suite?</strong></p><p>Test Suite is a collection of test cases. The test cases are intended to test an application.</p><p><strong>What is test coverage?</strong></p><p>Test coverage helps in measuring the amount of testing performed by a set of tests. Test coverage can be done on both functional and non-functional activities. It assists testers to create tests that cover areas that are missing.</p><p><strong>What is Test Bed?</strong></p><p>An environment configured for testing. The test bed consists of hardware, software, network configuration, an application under test, and other related software.</p><p><strong>Difference between Use case and Test case</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*W3j34vQRWRo9IuhVLtTkUA.jpeg" /></figure><p><strong>1-Definition</strong></p><p><strong>Use Case Definition: “</strong>A sequential actions which are used to describe the interaction among the role and system to maintain a specified objective.<strong>”</strong></p><p><strong>Test Case Definition</strong>:” A Group of test inputs, conditions, and variables by which the characteristics of the software are defined.”</p><p><strong>2-Goal</strong></p><p><strong>Use Case Goal:</strong> “To reach the last operation follow all sequential operations.”</p><p><strong>Test Case Goal:</strong> “Validating the software as it is working fine or not.”</p><p><strong>3-Iteration</strong></p><p><strong>Use Case Iteration: “</strong>It follows different paths.”</p><p><strong>Test Case Iteration: “</strong>It follows single test case is tested at a time.”</p><p><strong>4-Dependency</strong></p><p><strong>Use Case Dependency: “</strong>It is dependent on the requirements.”</p><p><strong>Test Case Dependency: “</strong>It is dependent on the use case.”</p><p><strong>5-Requirement</strong></p><p><strong>Use Case Requirement: “</strong>Documents and research are required.<strong>”</strong></p><p><strong>Test Case Requirement: “</strong>Test inputs scripts and each test script complete one step.<strong>”</strong></p><p><strong>6-Completion</strong></p><p><strong>Use Case Completion: “</strong>Complete all steps once<strong>”.</strong></p><p><strong>Test Case Completion: “</strong>The testing is done again and again then finish.<strong>”</strong></p><p><strong>7-Interaction</strong></p><p><strong>Use Case Interaction: </strong>“User.”</p><p><strong>Test Case Interaction: </strong>“Results.”</p><p><strong>8-Working</strong></p><p><strong>Use Case Working: “</strong>It is working as following the step-by-step function ability of the software.<strong>”</strong></p><p><strong>Test Case Working: “</strong>It is working with the help of testers to validate the software.<strong>”</strong></p><p><strong><em>Hope you would have gained a good understanding of the concept of Test Suite, Test Coverage, Test Bed, and the differences between Use Case and Test Case. Stay tuned with us for more interesting articles.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9403252a0029" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/what-is-a-test-suite-test-coverage-and-test-bed-difference-between-use-case-and-test-case-9403252a0029">WHAT IS A TEST SUITE, TEST COVERAGE, and TEST BED? DIFFERENCE BETWEEN USE CASE AND TEST CASE</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Static Testing VS Dynamic Testing]]></title>
            <link>https://medium.com/bitlogix/static-testing-vs-dynamic-testing-685e6b5c8b60?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/685e6b5c8b60</guid>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Fri, 17 Jun 2022 14:55:00 GMT</pubDate>
            <atom:updated>2022-06-17T14:55:00.105Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-G0DP5Ds2Bx55wKl_-_4ng.jpeg" /></figure><p><strong><em>This comprehensive hands-on article covers the details of Static and Dynamic testing and their differences.</em></strong></p><p><strong>Static Testing</strong></p><p>Under Static Testing, code is not executed. Rather it manually checks the code, requirement documents, and design documents to find errors. Hence, the name “static”. The main objective of this testing is to improve the quality of software products by finding errors in the early stages of the development cycle. This testing is also called a non-execution technique or verification testing. Static testing involves manual or automated reviews of the documents. This review is done during an initial phase of testing to catch Defects early in STLC. It examines work documents and provides review comments.</p><p><strong>Dynamic Testing</strong></p><p>Under Dynamic Testing, the code is executed. It checks for functional behavior of the software system, memory/CPU usage, and overall performance of the system. Hence the name “Dynamic” The main objective of this testing is to confirm that the software product works in conformance with the business requirements. This testing is also called an Execution technique or validation testing.</p><p><strong>Difference Between Static Testing and Dynamic Testing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*gUDK3tXChPEuoXUi2XTe8g.png" /></figure><p><strong>Point1</strong></p><p><strong>Static Testing:</strong> Testing was done without executing the program</p><p><strong>Dynamic Testing:</strong> Testing is done by executing the program</p><p><strong>Point2</strong></p><p><strong>Static Testing:</strong> This testing does the verification process</p><p><strong>Dynamic Testing:</strong> Dynamic testing does the validation process</p><p><strong>Point3</strong></p><p><strong>Static Testing:</strong> Static testing is about the prevention of defects</p><p><strong>Dynamic Testing:</strong> Dynamic testing is about finding and fixing the defects</p><p><strong>Point4</strong></p><p><strong>Static Testing:</strong> Static testing gives an assessment of code and documentation</p><p><strong>Dynamic Testing:</strong> Dynamic testing gives bugs/bottlenecks in the software system.</p><p><strong>Point5</strong></p><p><strong>Static Testing:</strong> Static testing involves a checklist and process to be followed</p><p><strong>Dynamic Testing:</strong> Dynamic testing involves test cases for execution</p><p><strong>Point6</strong></p><p><strong>Static Testing:</strong> This testing can be performed before the compilation</p><p><strong>Dynamic Testing:</strong> Dynamic testing is performed after compilation</p><p><strong>Point7</strong></p><p><strong>Static Testing:</strong> Static testing covers the structural and statement coverage testing</p><p><strong>Dynamic Testing:</strong> Dynamic testing covers the executable file of the code</p><p><strong>Point8</strong></p><p><strong>Static Testing:</strong> The cost of finding defects and fixing them is less</p><p><strong>Dynamic Testing:</strong> The cost of finding and fixing defects is high</p><p><strong>Point9</strong></p><p><strong>Static Testing:</strong> Return on investment will be high as this process involved an early stage</p><p><strong>Dynamic Testing:</strong> Return on investment will be low as this process involves after the development phase</p><p><strong>Point10</strong></p><p><strong>Static Testing:</strong> More reviews and comments are highly recommended for good quality</p><p><strong>Dynamic Testing:</strong> More defects are highly recommended for good quality.</p><p><strong>Point11</strong></p><p><strong>Static Testing:</strong> Requires loads of meetings</p><p><strong>Dynamic Testing:</strong> Comparatively requires lesser meetings</p><p><strong><em>Hope you would have gained a good understanding of the concept of Static and Dynamic testing. Stay tuned with us for more interesting articles.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=685e6b5c8b60" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/static-testing-vs-dynamic-testing-685e6b5c8b60">Static Testing VS Dynamic Testing</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Equivalence Partitioning?]]></title>
            <link>https://medium.com/bitlogix/what-is-equivalence-partitioning-165510da55d7?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/165510da55d7</guid>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Mon, 31 Jan 2022 02:19:54 GMT</pubDate>
            <atom:updated>2022-01-31T02:19:54.016Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*KFzHzHcgKsllooVhseJffQ.png" /></figure><p><strong>This is the sixth article in the series of our articles about test cases. In this article, we discuss the Equivalence Partitioning test case design method with simple examples for easy understanding.</strong></p><p>Equivalence Partitioning is a test case design method in Black-Box Testing. It is used to divide the domain of all the inputs into a set of equivalence classes of data from which test cases can be designed. These classes of data are sometimes called equivalence partitions or domains. The test cases are designed so that the inputs or outputs lie within these partitions. However, without looking at the program’s internal structure, it is impossible to determine such ideal equivalence classes.</p><p>An equivalence class represents a set of valid or invalid states for the input conditions. The input condition may be a specific numeric value, a range of values, a set of related values, or a Boolean condition. Equivalence classes may be defined to the following guidelines:</p><p><strong>1.</strong> If an input condition specifies a range or a specific value, one valid and two invalid equivalence classes are defined.</p><p><strong>2.</strong> If an input condition specifies a Boolean condition, one valid and one invalid equivalence class are defined.</p><p>Equivalence classes are usually formed by considering each condition specified on input as specifying a valid equivalence class and one or more invalid equivalence classes.</p><p><strong>Example1:</strong></p><p>If an input condition specifies a range of values <strong>(e.g. 100&lt;S&lt;200)</strong>, then form a valid equivalence class with that range and also two invalid equivalence classes, one with values less than the lower bound of range <strong>(i.e. S&lt;100)</strong> and the other with values greater than the higher bound <strong>(i.e. S&gt;200)</strong>. The following figure shows the equivalence class for input values of <strong>“S”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*tKyqfs5C28rkeycZaxLz6Q.png" /></figure><p><strong>Example2:</strong></p><p>If you are testing for an input box accepting numbers from 1 to 500 then there is no use in writing hundreds of test cases for all 500 valid input numbers plus other test cases for invalid data.</p><p>Using the Equivalence Partitioning method above, test cases can be divided into three sets of input data called classes. Each test case is representative of the respective class.</p><p>So in the above example, we can divide our test cases into three equivalence classes of some valid and invalid inputs.</p><p><strong>Test cases for input box accepting numbers between 1 and 500 using Equivalence Partitioning:</strong></p><p>We will get the following three classes (One Valid class and Two Invalid classes)</p><p><strong>1.</strong> <strong>Valid Class:</strong> All numbers between 1 and 500. Pick any number between 1 and 500 results will be the same for all.</p><p><strong>2.</strong> <strong>Invalid Class 1:</strong> Pick any number which is less than 1 (means negative number). Results will be the same for all.</p><p><strong>3.</strong> <strong>Invalid Class 2:</strong> Pick any number which is greater than 500. Results will be the same for all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*PEAqYCShSWYzzfiwmU3seA.png" /></figure><p>We have selected one representative from each input class to design our test cases. Test case values are selected in such a way that the largest number of attributes of the equivalence class can be exercised. the Equivalence Partitioning uses the fewest test cases to cover the maximum requirements.</p><p>The equivalence classes can also be considered for the output. For an output equivalence class, the goal is to generate test cases such that the output for that test case lies in the output equivalence class. It is a somehow difficult task, but output classes have been found to see errors that are not traced out by input classes.</p><p>In a nutshell, we can say that Equivalence Partitioning is the test case design method in which we take all possible test cases and place them into classes. One test value is picked from each class while testing. In our next article, we will discuss <strong>Boundary Value Analysis</strong>. Stay tuned with us and if you have any questions and queries please feel free to ask in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=165510da55d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/what-is-equivalence-partitioning-165510da55d7">What Is Equivalence Partitioning?</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHAT IS BOUNDARY VALUE ANALYSIS?]]></title>
            <link>https://medium.com/bitlogix/what-is-boundary-value-analysis-fe8741dc8b22?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe8741dc8b22</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[quality-assurance-process]]></category>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Sat, 29 Jan 2022 19:52:36 GMT</pubDate>
            <atom:updated>2022-01-29T19:52:36.196Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*hQfBpQE0MB0I3FNBt1uCVA.png" /><figcaption>Boundary Value Analysis</figcaption></figure><p><strong>It is the seventh article in the series of test cases in which we discuss the Boundary Value Analysis test case design method with simple examples for easy understanding.</strong></p><p>It has been observed that programs that work correctly for a set of values in an equivalence class fail on some special values. These values often lie on the boundary of the equivalence class. It is for this reason <strong>Boundary Value Analysis</strong> has been developed as a testing technique.</p><p><strong>The Boundary Value Analysis is a test case design technique that complements Equivalence Partitioning.</strong> In boundary value analysis, input for a test case is chosen from an equivalence class, such that the input lies at the edge of the equivalence classes. Boundary values for each equivalence class, including the equivalence classes of the output, should be covered.</p><p>Boundary value test cases are also called <strong>“Extreme Cases”</strong>. Therefore, we can say that a boundary value test case is a set of input data that lies on the edge or boundary of a class of input data or that generates output that lies at the boundary of a class of output data.</p><p>Guidelines for the <strong>Boundary Value Analysis </strong>are similar in many respects to <strong>Equivalence Partitioning</strong>. You can say that Boundary Value Analysis is the next part of Equivalence Partitioning for designing test cases where test cases are selected at the edges of the equivalence classes.</p><p><strong>Example 1:</strong></p><p><strong>Test cases for input box accepting numbers between 1 and 500 using Boundary value analysis:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EJ9KB-m79ylNovBpZKkfGQ.jpeg" /></figure><p>Test Cases for Valid partition value, Invalid partition value, and exact boundary value from the above example are given below:</p><p><strong>1.</strong> <strong>Test Cases:</strong> with test data exactly as the input boundaries of input domain i.e. values 1 and 500 in our case.</p><p><strong>2.</strong> <strong>Test Cases:</strong> test data with values just below the extreme edges of input domains i.e. values 0 and 499.</p><p><strong>3.</strong> <strong>Test Cases:</strong> test data with values just above the extreme edges of the input domain i.e. values 2 and 501.</p><p><strong>Example 2:</strong></p><p>Assume you are testing the Login form of a website that accepts valid User Names and Passwords and accepts a minimum of 8 characters and a maximum of 14 characters. Valid range 8 to 14, Invalid range 7 or less than 7, and Invalid range 15 or more than 15.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7jvruVrAx6ySxTfNo1jv0A.jpeg" /></figure><p>Test Cases for Valid partition value, Invalid partition value, and exact boundary value from the above example are given below:</p><p><strong>1.</strong> <strong>Test Cases:</strong> Consider password length less than 8.</p><p><strong>2.</strong> <strong>Test Case:</strong> Consider password of length exactly 8.</p><p><strong>3.</strong> <strong>Test Cases: </strong>Consider passwords of length between 9 and 13.</p><p><strong>4.</strong> <strong>Test Case:</strong> Consider password of length exactly 14.</p><p><strong>5.</strong> <strong>Test Cases:</strong> Consider passwords of length more than 14.</p><p>In short <strong>Boundary Value Analysis</strong> is a test case writing technique in which test cases are selected at the edge of the equivalence classes. Stay tuned with us for upcoming articles on test cases and don’t forget to post your questions and queries in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe8741dc8b22" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/what-is-boundary-value-analysis-fe8741dc8b22">WHAT IS BOUNDARY VALUE ANALYSIS?</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference Between Test Case And Test Scenario]]></title>
            <link>https://medium.com/bitlogix/difference-between-test-case-and-test-scenario-9bb934759ab7?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bb934759ab7</guid>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Tue, 18 Jan 2022 09:13:19 GMT</pubDate>
            <atom:updated>2022-01-18T09:13:19.179Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*GG26LQi1KrLA42c2dX4BwQ.png" /></figure><p><strong>This is the fifth article in the series of our articles about test cases. In this article, we are discussing the differences between Test Case and Test Scenario and the importance of both Test Case and Test Scenario.</strong></p><p><strong>Are Test Cases Being Replaced Fast with Test Scenarios?</strong></p><p>Over time, everything is changing, the software industry and processes also have transformed a lot.</p><p>Traditional Waterfall and V-models are being replaced by Agile and iterative models. Documentation is needed, but to meet targets and make the process easy and clear, documentation can be changed.</p><p><strong>When Is Documentation of Test Cases Important?</strong></p><p>*<strong>The client has requested the same as part of the project.</strong></p><p>*<strong>There is no time restriction.</strong></p><p>*<strong>Testers are a novice or unknown to the product or project.</strong></p><p>*<strong>Company policy.</strong></p><p><strong>EXAMPLE</strong></p><p>Suppose the Login form of an application that has Username &amp; Password fields along with Login, and Cancel buttons respectively. If requested to write test cases for the same, we will result in writing quite a lot of test cases by combining different options and details.</p><p>However, if test scenarios are to be inscribed, it will be a matter of a few lines as below:</p><p><strong>High-Level Scenario:</strong> Login Functionality</p><p><strong>Low-Level Scenarios:</strong></p><p>*To ensure the application is launching</p><p>*To ensure text content on the login page</p><p>*To ensure the Username field</p><p>*To ensure the Password field</p><p>*To ensure Login Button and Cancel button functionality</p><p><strong>Finally, I would like to summarize the difference between Test Case and Test Scenario:</strong></p><p><strong>1.</strong> <strong>Test Case:</strong> A thought which provides comprehensive information about what to test, steps to be taken, and expected results</p><p><strong>Test Scenario:</strong> A thought which provides comprehensive one-liner information about what to test.</p><p><strong>2.</strong> <strong>Test Case:</strong> It is more about documenting details.</p><p><strong>Test Scenario: </strong>It is more about thinking and discussing details.</p><p><strong>3.</strong> <strong>Test Case:</strong> It is derived from Test Scenario(s).</p><p><strong>Test Scenario: </strong>Test Scenarios are derived from <strong>Business Requirement Specification</strong> and <strong>Software Requirement Specification documents.</strong></p><p><strong>4.</strong> <strong>Test Case:</strong> It is significant when testing is offshore and development is onsite. Writing test cases with details will help both the Development and QA team in harmonization.</p><p><strong>Test Scenario:</strong> It is significant when time is less and most of the team members can understand the details from a one-liner scenario.</p><p><strong>5.</strong> <strong>Test Case:</strong> One-time documentation of all the test cases is helpful to track multiple rounds of regression testing in the future.<br> Most of the time, it is helpful during bug reporting. Tester just needs to give reference of test case ID and does not require mentioning every small detail.</p><p><strong>Test Scenario:</strong> A time saver activity, preferred by a new generation software testing community.<br> Modification and addition are simple and not specific to a person.<br> For a massive project, where a group of people knows specific modules only, this activity gives a chance to everyone to look into other modules and brainstorm and discuss.</p><p><strong>6.</strong> <strong>Test Case:</strong> A complete test case document is a support for the new tester.</p><p><strong>Test Scenario:</strong> Decent test coverage can be attained by dividing an application into test scenarios and it reduces the repeatability and complexity of the product.</p><p><strong>7.</strong> <strong>Test Case:</strong> Time and money-consuming activity as it requires more resources to detail out everything about what to test and how to test.</p><p><strong>Test Scenario:</strong> If created by a specific person, the reviewer or the other user might not synchronize the exact idea behind it. Need more discussions and team efforts.</p><p><strong>8.</strong> <strong>Test Case:</strong> Test Cases are low-level actions.</p><p><strong>Test Scenario:</strong> Test Scenarios are high-level actions.</p><p><strong>9.</strong> <strong>Test Case:</strong> Test Cases are focused on what to test.</p><p><strong>Test Scenario:</strong> Test Scenarios are focused on how to test.</p><p><strong>10.</strong> <strong>Test Case:</strong> A test case is a set of actions executed to verify particular features.</p><p><strong>Test Scenario:</strong> A test Scenario is any functionality that can be tested.</p><p><strong>Conclusion</strong></p><p>Test cases are the most important part of the Software Development Life Cycle and without the one, it is tough to track, understand, follow and reason out something. But in the era of Agile, test cases are being replaced fast with test scenarios. <strong>As usual, we welcome your thoughts and queries in the comments.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bb934759ab7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/difference-between-test-case-and-test-scenario-9bb934759ab7">Difference Between Test Case And Test Scenario</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Not to Write Test Cases? (Most Common Problems in Test Cases)]]></title>
            <link>https://medium.com/bitlogix/how-not-to-write-test-cases-most-common-problems-in-test-cases-8797f657481a?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/8797f657481a</guid>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Wed, 12 Jan 2022 07:14:00 GMT</pubDate>
            <atom:updated>2022-01-12T07:14:00.495Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/404/1*pcsBK0MmLmzipdpyyRvJfw.png" /></figure><p><strong>This is the third article in the series of our articles about test cases. In this article, we are discussing How Not to Write Test Cases? (Most Common Problems in Test Cases).</strong></p><p>Software testers devote most of their time writing, reviewing, executing, or maintaining test cases. Let’s see How NOT to write test cases, a few suggestions that will help to create unique, quality, and effective tests.</p><p><strong>1.</strong> <strong>Combined/Composite Test Steps</strong></p><p>First of all, what is a composite step?</p><p><strong>For Example</strong>, I am writing a test for Amazon.com to place an order for any product.</p><p>The following are my test steps (<strong>Note:</strong> We are only writing the steps and not all the other parts of the test like the expected result etc.)</p><p><strong>i.</strong> Launch Amazon.com</p><p><strong>ii.</strong> Search for a product by entering the product name or code into the “Search” field on the top of the screen.</p><p><strong>iii.</strong> From the search results displayed, choose the first one.</p><p><strong>iv.</strong> Click on Add to Cart on the product details page.</p><p><strong>v.</strong> Checkout and pay.</p><p><strong>vi.</strong> Check the order confirmation page.</p><p>Now, can you identify which of these is a composite step? Right- Step (v)</p><p>Remember, tests are always about “How” to test, so it is important to write the exact steps of “How to check out and pay” in your test.</p><p>Therefore, the above case is more effective when written as below:</p><p><strong>i.</strong> Launch Amazon.com</p><p><strong>ii.</strong> Search for a product by entering the product keyword/name into the “Search” field on the top of the screen.</p><p><strong>iii.</strong> From the search results displayed, choose the first one.</p><p><strong>iv.</strong> Click on Add to Cart on the product details page.</p><p><strong>v.</strong> Click on Checkout on the shopping cart page.</p><p><strong>vi.</strong> Enter the CC information, shipping, and billing information.</p><p><strong>vii.</strong> Click Checkout.</p><p><strong>viii.</strong> Check the order confirmation page.</p><p>Hence, a composite step can be broken down into several individual steps.</p><p><strong>2.</strong> <strong>Application behavior is taken as expected behavior</strong></p><p>Many projects have to deal with this situation these days. Lack of documentation and Rapid development cycles are a few reasons that force us into trusting the application (an older version) to either write the tests or to base the testing itself on. As always, this is a proven bad practice- not always.</p><p>It is harmless as long as you keep an open mind and keep the expectation that the “application under test could be flawed”. It is only when you do not think that it is, things work badly.</p><p>Suppose you are writing the test steps for the shopping site. Consider the following cases:</p><p><strong>Case 1:</strong></p><p><strong>If your test case steps are as below:</strong></p><p><strong>1.</strong> Launch the shopping site.</p><p><strong>2.</strong> Click on Shipping and return</p><p>Expected result: The shipping and returns page is displayed with “Put your information here” and a “Continue” button.</p><p>Then, this is incorrect.</p><p><strong>Case 2:</strong></p><p><strong>1.</strong> Launch the shopping site.</p><p><strong>2.</strong> Click on Shipping and return.</p><p><strong>3.</strong> In the ‘Enter the order no’ text box present on this screen, enter the order no.</p><p><strong>4.</strong> Click Continue- Expected result: The details of the order related to shipping and returns are displayed.</p><p><strong>Case 2<em> </em></strong>is a better test case because even though the reference application behaves incorrectly, we only take it as a guideline, do further research and write the expected behavior as per the expected correct functionality.</p><p><strong>3. Multiple Conditions in one case</strong></p><p>Once again, let’s learn from an Example.</p><p>Look at the underneath test steps: The following are the test steps within one test for login functionality.</p><p><strong>a)</strong> Enter valid details and click Submit.</p><p><strong>b)</strong> Leave the Username field empty. Click Submit.</p><p><strong>c)</strong> Leave the password field empty and click Submit.</p><p><strong>d)</strong> Choose an already logged-in username/password and click Submit.</p><p>We have combined four different cases. You might think, what’s wrong with that? What if one condition fails then we have to mark the entire test as ‘failed’. If you mark the entire case ‘failed’, it means all four conditions are not working, which is not true.</p><p>Tests need to have a flow. From pre-condition to step a) and throughout the steps. If you follow this case, then in step a), if it is successful, you will be logged on the page, where the “login” option is no longer available. So, when you reach step b) where is the tester going to enter the username? The flow is broken.</p><p><strong>We’ve written this article to give you the insight to avoid mistakes in writing test cases. Stay connected with us and check out our series of articles to know more about test cases and share your thoughts in the comments!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8797f657481a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/how-not-to-write-test-cases-most-common-problems-in-test-cases-8797f657481a">How Not to Write Test Cases? (Most Common Problems in Test Cases)</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reasons to Reuse Test Cases & What is a Standard Test in Web Testing?]]></title>
            <link>https://medium.com/bitlogix/reasons-to-reuse-test-cases-what-is-a-standard-test-in-web-testing-c16ef273ced?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/c16ef273ced</guid>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Wed, 12 Jan 2022 07:12:45 GMT</pubDate>
            <atom:updated>2022-01-12T07:12:45.004Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*RfA7_aG7cV7J1Q8cGEumkw.jpeg" /></figure><p><strong>This is the fourth article in the series of our articles about test cases. In this article, we will throw light on Reasons to Reuse Test Cases &amp; What is a Standard Test in Web Testing?</strong></p><p><strong>Reasons to Reuse Test Cases</strong></p><p>Following are a few reasons to reuse test cases:</p><p><strong>1.</strong> Most functional areas of a website are login, registration, add to cart, wish list, checkout, shipping options, payment options, product page content, recently viewed, relevant products, promo code facilities, etc.</p><p><strong>2.</strong> Most of the projects are just enhancements or changes to the existing functionality.</p><p><strong>3.</strong> Content management systems that define the slots for image uploads with static and dynamic ways are also common for all websites.</p><p><strong>4.</strong> Retail websites have CSR (Customer Service) system too.</p><p><strong>5.</strong> The concept of cookies, timeout, and security are common too.</p><p><strong>6.</strong> Web-based projects are frequently prone to requirement changes.</p><p><strong>7.</strong> The types of testing needed are common, like browser compatibility testing, performance testing, and security testing.</p><p>There is plenty that is common and similar. Reusability is the way to go. At times the changes themselves may or may not take more or less time. Sometimes one may feel it is better to start from scratch than to modify so much.</p><p>This can be easily handled by creating a set of standard test cases for each of the common functionality.</p><p><strong>What is a Standard Test in Web Testing?</strong></p><p><strong>1.</strong> Create test cases that are complete in all respects like steps, test data, variables, etc. This will ensure that the divergent data or variable can simply be changed when a similar test case is required.</p><p><strong>2.</strong> The entrance and exit criteria should be well-defined.</p><p><strong>3.</strong> The modifiable steps or the statement in the steps should be highlighted in a different color for quick find and replace.</p><p><strong>4.</strong> The language used for the standard test case creation should be general.</p><p><strong>5.</strong> All the features and areas of each website should be covered in the test cases.</p><p><strong>6.</strong> The name of the test cases should be the name of the functionality or the feature that the test case is covering. This will make the finding of the test case from the test case repository much easier.</p><p><strong>7.</strong> If there is any basic or standard sample or screenshot of the feature, then it should be attached with the relevant steps.</p><p>By using the above guidelines, you can create a set of standard test cases and use them with slight or required modifications for different websites.</p><p>These standard test cases can be automated too, but once again, focusing on reusability is always a plus. Also, if automation is based on a GUI, reusing the test scripts across multiple URLs or sites is something I never found effective.</p><p>Using a standard set of manual test cases for different websites with minor modifications is the best way to carry a website testing. All we need is to create and maintain the test cases with proper standards and use.</p><p><strong>Hope you would have gained a good idea about Reasons to Reuse Test Cases &amp; What is a Standard Test in Web Testing?. Check out our series of articles to know more about test cases and share your views in the comments!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c16ef273ced" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/reasons-to-reuse-test-cases-what-is-a-standard-test-in-web-testing-c16ef273ced">Reasons to Reuse Test Cases &amp; What is a Standard Test in Web Testing?</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Helpful Tips for Writing Effective Test Cases]]></title>
            <link>https://medium.com/bitlogix/helpful-tips-for-writing-effective-test-cases-b40d07a1c262?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/b40d07a1c262</guid>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Fri, 07 Jan 2022 16:25:47 GMT</pubDate>
            <atom:updated>2022-01-07T16:25:47.965Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*rAeLQgrSGLP0lj6NrqJGYQ.png" /><figcaption>Helpful tips for writing effective test cases</figcaption></figure><p><strong><em>This is the second article in the series of our articles about test cases. In this article, we are sharing some Helpful Tips for Writing Effective Test Cases</em></strong></p><p>The main activity of the Software Tester is to write test scenarios and test cases for testing. Few important factors are related to this activity. Let us have a look at those factors first.</p><p><strong>1. Keep the test cases simple</strong></p><p>Keep all the steps of test cases atomic and precise. Produce test cases that are as simple as possible. Test cases should be clear and concise as the writer of the test case may not execute them.</p><p><strong>2.</strong> <strong>Review Test cases after writing</strong></p><p>When you have written all test cases, review at least once critically. Make sure test data specified in test cases is feasible for testers and relates to the real-time environment. Verify that all the references to other test cases and artifacts are exact.</p><p><strong>3.</strong> <strong>Be a Contributor</strong></p><p>Being a software tester, never hesitate to contribute to business and give suggestions if you feel that application needs improvement.</p><p><strong>4.</strong> <strong>Never Forget the End-User</strong></p><p>The most important stakeholder is the ‘End User’ who will finally use the application. So, never forget him at any point of test case writing.</p><p>Page Break</p><p><strong>5.</strong> <strong>Avoid Test Case Repetition</strong></p><p>Do not repeat test cases. When a test case is needed for executing some other test case(s), mention the test case by its test case ID in the pre-condition column.</p><p><strong>6.</strong> <strong>Ensure Maximum Coverage</strong></p><p><strong>7.</strong> Confirm that you write test cases to check all software requirement(s) specified in the specification document. Use Traceability Matrix to make certain no functionality is left unverified.</p><p><strong>8.</strong> <strong>Test Cases must be Classifiable</strong></p><p>Name the test case ID that is easy while tracking defects or classifying a software requirement later.</p><p><strong>9.</strong> <strong>Implement Different Testing Techniques</strong></p><p>It’s very hard to check every possible condition in the application under test. Software Testing techniques help you select a few test cases with the maximum prospect of finding a defect.</p><p>Ø <strong>Boundary Value Analysis (BVA):</strong> This technique defines the testing of boundaries for a specified range of values.</p><p>Ø <strong>Equivalence Class Partition (ECP):</strong> This technique partitions the range into equal parts or groups that are inclined to have the same behavior.</p><p>Ø <strong>State Transition Technique:</strong> This technique is used when software behavior changes from one state to another resulting in a particular action.</p><p>Ø <strong>Error Guessing Technique:</strong> In this technique, you guess the error that may arise while doing manual testing. This is not a recognized method but takes adv of a tester’s experience with the application.</p><p><strong>10.</strong> <strong>Do not forget to Cover the Negative Cases</strong></p><p>A negative case is as important as a positive case. Make sure that you have two test cases for each scenario: Positive &amp; Negative. The positive one should cover the intended or normal flow and the negative one should cover the unintended or exceptional flow.</p><p>Page Break</p><p><strong>11.</strong> <strong>Write Atomic (Small) Test Steps</strong></p><p>Each test step should be an atomic one. There should not be any further sub-steps. The simpler a test step is, the easier it would be to proceed with testing.</p><p><strong>12.</strong> <strong>Prioritize the Tests</strong></p><p>We often have tough timelines to finish up testing for an application. Here, we may miss testing some of the main functionalities and features of the software. To avoid this, add a priority with each test while writing it.</p><p><strong>13.</strong> <strong>Sequence of Test Case Steps Matters</strong></p><p>Confirm whether the sequence of steps in the test case is correct. Preferably, the steps should also define the entire sequence from entering the application until exiting the application for a particular scenario that is being tested.</p><p><strong>14.</strong> <strong>Add Timestamp and Tester’s Name to the Comments</strong></p><p>It is always better to add a timestamp with the tester’s name in the testing comments so that a test result (pass or fail) can be credited to the state of an application at that particular time. Otherwise, you can have an ‘Executed Date’ column added separately to the test case, and this will explicitly identify the timestamp of the test.</p><p><strong>15.</strong> <strong>Add Browser Name and Version</strong></p><p>When you are testing a web application, test results can differ based on the browser on which the test is executed. For the ease of other testers, developers, or whoever is reviewing the test cases, should add the browser name and version to the test case so that the defect can be reproduced easily.</p><p>Page Break</p><p><strong><em>We’ve written this article to give you the foundation and a basis to avoid mistakes in writing test cases. Check out our series of articles to know more about test cases and share your views in the comments!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b40d07a1c262" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/helpful-tips-for-writing-effective-test-cases-b40d07a1c262">Helpful Tips for Writing Effective Test Cases</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a Test Case and How to Write Test Cases?]]></title>
            <link>https://medium.com/bitlogix/what-is-a-test-case-and-how-to-write-test-cases-a19138b31f69?source=rss-899065d51e10------2</link>
            <guid isPermaLink="false">https://medium.com/p/a19138b31f69</guid>
            <category><![CDATA[automated-test-cases]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Sher Hassan]]></dc:creator>
            <pubDate>Wed, 05 Jan 2022 14:11:40 GMT</pubDate>
            <atom:updated>2022-01-05T14:11:40.489Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*eP-pq2oQDsI0ChgPHrxYNg.png" /></figure><h4><strong><em>This hands-on article on What is a Test Case and How to Write Test Cases covers the details of a Test Case, its definition, levels of test case writing process, and why do we write test cases.</em></strong></h4><p><strong>What is a Test case?</strong></p><p>A set of preconditions, inputs, actions (where applicable), expected results, and post-conditions developed based on test conditions.</p><p>Writing good test cases is a skill. You can learn it from the experience and knowledge of the application under test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*eP-pq2oQDsI0ChgPHrxYNg.png" /><figcaption>What is a test case?</figcaption></figure><p><strong>Levels of Test Case writing process:</strong></p><p><strong>1. First Level:</strong> In this level, you will write the fundamental test cases from the available specification and user documentation.</p><p><strong>2. Second Level:</strong> This is the practical stage, in which you will write test cases that depend on the actual functionality and system flow of the application.</p><p><strong>3. Third Level:</strong> In this level, you will combine test cases to write a test procedure. The test procedure is nothing but a group of small test cases.</p><p><strong>4. Fourth Level:</strong> Automation of the project (if required). It will minimize human interaction with the system. Therefore, the tester can focus on the currently updated functionalities to test rather than remain busy with Regression testing.</p><p><strong>Why do we write Test Cases?</strong></p><p>The main goal of writing cases is to validate the test coverage of an application.</p><p>If you work in any CMMI-level organization, these organizations strictly follow test standards. Writing cases brings some standardization and minimizes the ad hoc approach in testing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*6jM52wIAsT7RwPElBrJqZw.png" /><figcaption>Why do we write test cases?</figcaption></figure><p><strong>How to Write Test Cases?</strong></p><p>Writing test cases differs depending on what the test case is determining or testing. And it all starts with knowing how to write a test case effectually and competently. A test case has a few significant parts that should always be present in fields. But, every test case can be broken down into the following basic steps:</p><p>· <strong>Test case ID:</strong> Test cases should have unique IDs to represent them.</p><p>· <strong>Test Case Description: </strong>The test case description should reveal what area, item, feature, or function is being tested or what is being verified.</p><p>· <strong>Priority: </strong>The importance of the test case to the application.</p><p>· <strong>Assumptions &amp; Pre-conditions:</strong> This involves any conditions to be met before test case execution. <strong>One example</strong> would be requiring a valid Email account for login. The actions of the user or the system must have occurred for the functionality to be provided. Preconditions do not include steps in the Test Case Workflow.</p><p>· <strong>Test data:</strong> It is related to the variables and their values in the test case. <strong>For example</strong> in the case of Email login, it would be the username and password for the account.</p><p>· <strong>Steps to be executed: </strong>These are easily repeatable steps as executed from the end user’s perspective. <strong>For example</strong>, a test case for logging into an email server might include the following steps:</p><p>Open email server web page.</p><p>Provide username.</p><p>Provide password.</p><p>Click the “Enter” or “Login” button.</p><p>· <strong>Expected Result:</strong> It shows the result expected after the test case step execution. Upon entering the right login information, the expected result would be a successful login.</p><p>· <strong>Actual result &amp; Post-conditions: </strong>As compared to the expected result, we can determine the status of the test case in the actual result. In the case of the email login, the user would either be successfully logged in or not. The post-condition is what happens as a result of the step execution such as being redirected to the email inbox.</p><p>· <strong>Pass/Fail:</strong> Pass/Fail status depends on how the expected result and the actual result compare to each other.</p><p><strong>Same result</strong> = Pass</p><p><strong>Different results</strong> = Fail</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*rDhhzyFJd7nslDLlXx2-SQ.png" /><figcaption>How to write test cases?</figcaption></figure><p><strong><em>Hope you would have gained a good understanding of the concept of Test Cases. Check out our series of articles to know more about test cases and share your views in the comments!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a19138b31f69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bitlogix/what-is-a-test-case-and-how-to-write-test-cases-a19138b31f69">What is a Test Case and How to Write Test Cases?</a> was originally published in <a href="https://medium.com/bitlogix">BITLogix</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>