<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jackson S</title>
    <description>The latest articles on DEV Community by Jackson S (@jackson94).</description>
    <link>https://dev.to/jackson94</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2460148%2F425be481-925c-4ea6-93e1-cfbfd44f5310.png</url>
      <title>DEV Community: Jackson S</title>
      <link>https://dev.to/jackson94</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jackson94"/>
    <language>en</language>
    <item>
      <title>Test Case Design Questions with Answers</title>
      <dc:creator>Jackson S</dc:creator>
      <pubDate>Fri, 22 Nov 2024 16:50:48 +0000</pubDate>
      <link>https://dev.to/jackson94/test-case-design-questions-with-answers-47ie</link>
      <guid>https://dev.to/jackson94/test-case-design-questions-with-answers-47ie</guid>
      <description>&lt;p&gt;Q1.You are testing a form that allows users to schedule appointments with doctors. The form has the following fields: First name, last name, email, Phone number and appointment date/time. Some more inputs: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; If any field is blank we should display “all fields are required”.&lt;/li&gt;
&lt;li&gt; If the email is invalid, we should display “Please enter a valid email”.&lt;/li&gt;
&lt;li&gt; If the phone number is invalid, we should display “Please enter valid phone number”.&lt;/li&gt;
&lt;li&gt; If the appointment date or time is not available, we should display, “Please choose another date or time”.&lt;/li&gt;
&lt;li&gt; If all fields are correct and appointment is available, we should display, “we should schedule the appointment successfully”.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;List of conditions for Decision Table:&lt;/p&gt;

&lt;p&gt;Test cases  Conditions  Mention                       Pass/Fail&lt;br&gt;
First Name  Empty   All fields are required                     F&lt;br&gt;
First Name  Filled  First name filled successfully              P&lt;br&gt;
Last Name   Empty   All fields are required                     F&lt;br&gt;
Last Name   Filled  Last Name filled successfully               P&lt;br&gt;
Mail id Filled  Mail id filled successfully                     P&lt;br&gt;
Mail id Empty   Please enter valid email                        F&lt;br&gt;
Mail id If there is no @ symbol Please enter valid email        F&lt;br&gt;
Mail id If there is no gmail.com Please enter valid email       F&lt;br&gt;
Phone Number    Empty   Please enter valid phone number             F&lt;br&gt;&lt;br&gt;
Phone Number    &amp;lt;10 numbers Please enter valid phone number     F&lt;br&gt;
Phone Number    =10 numbers Phone Number filled successfully    P&lt;br&gt;
Appointment date Empty  Please choose date                      F&lt;br&gt;
Appointment date &amp;gt;= Current date Appointment date filled successfully P&lt;br&gt;
Appointment date Selected date is fully occupied Please choose another date F&lt;br&gt;
Appointment Time    Empty   Please choose Time              F&lt;br&gt;
Appointment Time &amp;gt;= Current time Appointment time filled successfully   P&lt;br&gt;
Appointment Time    Selected time is occupied   Please choose another time  F&lt;br&gt;
All fields  All fields are correct  All fields are filled successfully  P&lt;br&gt;
All fields  If any field is blank   Please fill the mandatory fields    F&lt;br&gt;
Appointment Appointment is not available    Please select other day/time    F&lt;br&gt;
Appointment Appointment is available Appointment is scheduled successfully  P&lt;/p&gt;

&lt;p&gt;Q2.You are a software Tester and assigned to test a new mobile app that has just been developed. The app has three different user roles. Basic user, premium user and Admin user. The below are following three test scenarios.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Basic users can only access the limited features of the app, while premium users can access all features. Admin users have access to advanced settings and can perform all actions.&lt;/li&gt;
&lt;li&gt; Users should be able to create and delete their accounts successfully. Password must meet the required complexity standards and users should receive a confirmation email on successful account creation.&lt;/li&gt;
&lt;li&gt; Users should be able to navigate through the app seamlessly without any crashes or performance issues. The app should display appropriate error messages when a user attempts to perform an action they are not authorized to perform.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Test Plan for the above Test scenarios:&lt;/p&gt;

&lt;p&gt;1.Test Scenario Description : Verifying the login page of Mobile application of users&lt;br&gt;
1.1Test Case Description : Valid Username and valid Password&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on User&lt;/li&gt;
&lt;li&gt; Enter valid username and valid password&lt;/li&gt;
&lt;li&gt; The user login is successful&lt;/li&gt;
&lt;li&gt; The limited features of the user should be visible.
Test Scenario Description : Verifying the login page of Mobile application of users&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;1.2Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on User&lt;/li&gt;
&lt;li&gt; Enter Invalid username and Invalid password&lt;/li&gt;
&lt;li&gt; The user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.
Test Scenario Description : Verifying the login page of Mobile application of users&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;1.3Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on User&lt;/li&gt;
&lt;li&gt; Enter valid username and Invalid password&lt;/li&gt;
&lt;li&gt; The user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.
Test Scenario Description : Verifying the login page of Mobile application of users&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;1.4Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on User&lt;/li&gt;
&lt;li&gt; Enter Invalid username and valid password&lt;/li&gt;
&lt;li&gt; The user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.Test Scenario Description : Verifying the login page of Mobile application of Pemium users&lt;br&gt;
2.1Test Case Description : Valid Username and valid Password&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Premium User&lt;/li&gt;
&lt;li&gt; Enter valid username and valid password&lt;/li&gt;
&lt;li&gt; The user login is successful&lt;/li&gt;
&lt;li&gt; The all features of the premium user should be visible.
Test Scenario Description : Verifying the login page of Mobile application of premium users&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.2Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Premium User&lt;/li&gt;
&lt;li&gt; Enter Invalid username and Invalid password&lt;/li&gt;
&lt;li&gt; The Premium user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.
Test Scenario Description : Verifying the login page of Mobile application of Premium users&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.3Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Premium User&lt;/li&gt;
&lt;li&gt; Enter valid username and Invalid password&lt;/li&gt;
&lt;li&gt; The Premium user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.
Test Scenario Description : Verifying the login page of Mobile application of Premium users&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.4Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Premium User&lt;/li&gt;
&lt;li&gt; Enter Invalid username and valid password&lt;/li&gt;
&lt;li&gt; The Premium user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;3.Test Scenario Description : Verifying the login page of Mobile application of Admin users&lt;br&gt;
3.1Test Case Description : Valid Username and valid Password&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Admin User&lt;/li&gt;
&lt;li&gt; Enter valid username and valid password&lt;/li&gt;
&lt;li&gt; The Admin user login is successful&lt;/li&gt;
&lt;li&gt; The all advanced features of the Admin user should be visible.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Test Scenario Description : Verifying the login page of Mobile application of Admin users&lt;br&gt;
3.2Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Admin User&lt;/li&gt;
&lt;li&gt; Enter Invalid username and Invalid password&lt;/li&gt;
&lt;li&gt; The Admin user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Test Scenario Description : Verifying the login page of Mobile application of Admin users&lt;br&gt;
3.3Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Admin User&lt;/li&gt;
&lt;li&gt; Enter valid username and Invalid password&lt;/li&gt;
&lt;li&gt; The Admin user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Test Scenario Description : Verifying the login page of Mobile application of Admin users&lt;br&gt;
3.4Test Case Description : Invalid Username and Invalid Password.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click on Admin User&lt;/li&gt;
&lt;li&gt; Enter Invalid username and valid password&lt;/li&gt;
&lt;li&gt; The Admin user login is Unsuccessful&lt;/li&gt;
&lt;li&gt; Give a message “Please enter valid username and valid password”.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;4.Test Scenario Description : Creating a account&lt;br&gt;
Test Case Description : Creating a New user account by filling all mandatory fields.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click New user&lt;/li&gt;
&lt;li&gt; New user form will be visible&lt;/li&gt;
&lt;li&gt; Enter First name and Last Name&lt;/li&gt;
&lt;li&gt; Enter valid mobile Number with 10 digits&lt;/li&gt;
&lt;li&gt; Enter Valid Mail id&lt;/li&gt;
&lt;li&gt; Create Password with minimum 10 letters with special characters.&lt;/li&gt;
&lt;li&gt; Confirm Password&lt;/li&gt;
&lt;li&gt; If any field is blank sent a message “Please fill all the mandatory fields”.&lt;/li&gt;
&lt;li&gt;Once all details all correct New user account is created and confirmation mail will sent to the mailid of the user.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;5.Test Scenario Description : Deleting a account&lt;br&gt;
Test Case Description : Deleting a user account in a mobile application.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click Login&lt;/li&gt;
&lt;li&gt; Enter user name and Password&lt;/li&gt;
&lt;li&gt; Once Login goto settings menu&lt;/li&gt;
&lt;li&gt; Click Delete my Account&lt;/li&gt;
&lt;li&gt; Show a message that “Are you sure you want to delete your account permanently”&lt;/li&gt;
&lt;li&gt; Click yes and proceed.&lt;/li&gt;
&lt;li&gt; Your Account is deleted successfully and Mail confirmation on deletion will sent to the users mailid.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;6.Test Scenario Description : User perform unauthorized actions.&lt;br&gt;
Test Case Description : When a user perform unauthorized action display a message that you are not authorized to perform this action.&lt;br&gt;
Test Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Open the Mobile Application&lt;/li&gt;
&lt;li&gt; Click Login&lt;/li&gt;
&lt;li&gt; Enter user name and Password&lt;/li&gt;
&lt;li&gt; Click main menu&lt;/li&gt;
&lt;li&gt; Copy the content&lt;/li&gt;
&lt;li&gt; Display a message that “You are not authorized to perform this action”.&lt;/li&gt;
&lt;li&gt; Click Ok.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
