LP4 - STQA Manual
LP4 - STQA Manual
Theory:
3. Verify that Enter/Tab key works as a substitute for the Sign-in button
5. Verify that the User is not able to Login with an invalid Username and invalid Password
6. Verify that the User is not able to Login with a Valid Username and invalid Password
7. Verify that the User is not able to log in with an invalid Username and Valid Password
8. Verify that the User is not able to log in with a blank Username or Password
9. Verify that the User is not able to Login with inactive credentials
10. Verify that the reset button clears the data from all the text boxes in the login form
11. Verify that the login credentials, mainly password stores in a database in an encrypted
format
12. Verify that clicking on the browser back button after successful login should not take the
User to log out mode.
13. Verify that validation message is displayed in the case when User leaves Username or
Password as blank
14. Verify that validation message is displayed in case of exceeding the character limit of the
Username and Password fields
15. Verify that validation message is displayed in case of entering special character in the
Username and password fields
16. Verify that the ―Keep me logged in‖ checkbox is unselected by default (depends on
business logic, it may be selected or unselected)
17. Verify that the timeout of the login session (Session Timeout)
19. Verify that User is redirected to appropriate page after successful login
20. Verify that the User is redirected to the Forgot password page when clicking on the Forgot
Password link
21. Verify that the User is redirected to the Create an account page when clicking on the
Signup / Create an account link
22. Verify that the User should be able to login with the new password after changing the
password
23. Verify that the user should not be able to login with the old password after changing the
password
24. Verify that spaces should not be allowed before any password characters attempted
25. Verify whether the user is still logged in after a series of actions such as sign-in, close the
browser, and reopen the application.
26. Verify that the ways to retrieve the password if the user forgets the password
4. Verify the password can be copy-pasted. System shouldn‘t allow users to copy paste
password.
5. Verify that encrypted characters in the ―Password‖ field should not allow deciphering if
copied
7. Verify whether the login form is revealing any security information by viewing the page
source
9. Verify whether Cross-site scripting (XSS ) vulnerability works on a login page. XSS
vulnerability may be used by hackers to bypass access controls.
Test Cases for CAPTCHA & Cookies (If there is a captcha on the login page)
1. Verify that whether there is a client-side validation when the User doesn‘t enter the
CAPTCHA
2. Verify that the refresh link of CAPTCHA is generating the new CAPTCHA
5. Verify whether virtual keyboard is available and working properly to enter login
credentials incase of banking applications.
6. Verify two-way authentication through OTP is working properly incase of banking
applications.
8. Verify that the user is able to login when the browser cookies are cleared. When the
cookies are cleared, system should not allow user to login automatically.
9. Verify the login functionality when the browser cookies are turned off.
Conclusion: Hence We have learned to write the test cases for Gmail login page.
Checked by :- Marks:-
Date:
Assignment No: 2
Problem statement:-
Write Test cases in excel sheet for Social Media application or website .
Objectives:
To Write Test cases in excel sheet for Social Media application or website .
Theory:
Test cases are maintained in test management tools like Jira, HP QC, and others. Let‘s look at
the main components of test cases.
Test Case ID
Test Case Description
Assumptions
Test Data
Pre-Condition
Test Steps
Expected Test Result
Actual Test Result
Status Pass/Fail
Comments
Usability Test Cases are executed to evaluate how user-friendly is our application. Database
test cases are mostly SQL or No SQL-based testing. Unit test cases are written by developers
to test their code effectively.
How to Write Test Cases in an Excel Sheet
For writing test cases in excel you need to make an excel sheet. There is no specific template
for writing test cases that have 10 different columns – Test Case ID, Test Case Description,
Assumptions, Test Data. Pre-Condition, Test Steps, Expected Result, Actual Result, Status,
and Comments. Suppose you want to write a test case to test a login functionality.
Test Case ID: Test Case ID will be the test case number of story number in JIRA.
Test Case Description: The description will be a short description of the functionality.
Test Data: Test Data is the data with which you are performing the testing.
Pre-condition: Pre-condition should be anything that is done before the execution of the test case.
Test Steps: In Test Steps, you must mention steps like Login to application, Enter Username, and
password, click the login button, Verify the page redirects to splash page.
Expected Result: The expected Result should indicate the behavior of the application after the
execution of the test case. For successful Login expected Result would be a redirection to the splash
page.
Actual Result: The actual Result indicates the actual behaviour of the application on the execution
of the test case.
Status: Status can be marked as passed or fail depending on the actual Result.
Example
⚫ Link : https://www.softwaretestinghelp.com/test-case-template-examples/
Conclusion: we have studied how to Write Test cases in excel sheet for Social Media
application.
Checked by :- Marks:-
Date:
Assignment No: 3
Objectives:
To Create Defect Report for bug
application.
Theory:
How to distinguish between a good and bad Bug Report? It‘s very simple, apply the following
characteristics and techniques to report a bug.
#1) Having a clearly specified Bug Number: Always assign a unique number to each bug report.
This, in turn, will help you identify the bug record. If you are using any automated bug-reporting
tool then this unique number will be generated automatically each time you report a bug.
Note the number and a brief description of each bug that you reported.
#2) Reproducible: If your bug is not reproducible, then it will never get fixed.
You should clearly mention the steps to reproduce the bug. Do not assume or skip any reproducing
steps. The bug which is described Step by step is easy to reproduce and fix.
Types of Severity:
Blocker: No further testing work can be done.
Critical: Application crash, Loss of data.
Major: Major loss of function.
Minor: Minor loss of function.
Trivial: Some UI enhancements.
Enhancement: Request for a new feature or some enhancement in the existing one.
Now you entered into your application by logging in and navigate to USERS menu > New
user, entered all the information and clicked on SAVE button and now the application
crashed and you can see one error page on the screen, now you would like to report this
BUG.
⚫ Bug Name: Application crash on clicking the SAVE button while creating a new user.
Bug ID: The BUG Tracking tool will automatically create it once you save this.
Area Path:
USERS menu > New Users
Build Number:/Version Number 5.0.1
Severity: HIGH (High/Medium/Low)
Priority: HIGH (High/Medium/Low)
⚫ Description:
Application crash on clicking the SAVE button while creating a new user, hence unable to create a
new user in the application.
Steps To Reproduce:
1. Logon into the application
2. Navigate to the Users Menu > New User
3. Filled all the fields
4. Clicked on ‗Save‘ button
5. Seen an error page ―ORA109 Exception: Insert values Error…‖
6. See the attache 0 more information
d logs for
7. And also see the attached screenshot of the error page.
Checked by :- Marks:-
Date:
Assignment No: 4
Problem Statement: Installation of Selenium grid and selenium Web driver java eclipse (automation tools).
Objectives: To Install Selenium grid and selenium Web driver java eclipse (automation tools).
Theory:
Selenium Grid is a part of the Selenium Suite that specializes in running multiple tests across different
browsers, operating systems, and machines in parallel. It is achieved by routing the commands of remote
browser instances where
a server acts as a hub. A user needs to configure the remote server in order to execute the tests.
Selenium Grid has 2 versions – the older Grid 1 and the newer Grid 2. We will only focus on Grid 2
because Grid 1 is gradually being deprecated by the Selenium Team.
Selenium Grid uses a hub-node concept where you only run the test on a single machine called a hub, but the
execution will be done by different machines called nodes.
Run your tests against different browsers, operating systems, and machines all at the same time
This will ensure that the application you are Testing is fully compatible with a wide range
of browser-O.S combinations.
Save time in the execution of your test suites.
If you set up Selenium Grid to run, say, 4 tests at a time, then you would be able to finish
Selenium WebDriver allowed you to directly interact with the browsers through your automation test scripts.
Java, PHP, C#, Python, Ruby, Perl, and Javascript are some of the programming languages it supports.
The browsers it supports include Mozilla Firefox, Google Chrome version 12.0.712.0 and above,
Internet Explorer, Safari, Opera version 11.5 and above, and HtmlUnit version 2.9 and above.
As for operating systems, Selenium WebDriver supports Windows, Linux, Mac OS, and Solaris. Selenium
Selenium WebDriver does not handle window component, but this limitation can be overcome by
using external tools such as AUTO IT tool, Sikuli etc. It has different location strategies as well such as
ID, Name, Link text, Partial link text, Class name, CSS selector and Xpath. It also has better support
dynamic web pages like Ajax, where elements of the web page may change without the page itself being
reloaded.
By using different jar files, we can also test API, Database Test etc. using Selenium WebDriver.
Link : https://www.browserstack.com/guide/how-to-setup-selenium-in-eclipse
command:
⚫ jdk.exe /s
Install Eclipse IDE
Install Selenium
⚫ Download and Install Selenium to be set up in Eclipse.
⚫ Install Browser Driver
⚫ For Cross Browser Testing, download the relevant Browser Driver – Chrome Driver (for Chrome),
⚫ Gecko Driver (for Firefox), Safari Driver(for Safari), and Internet Explorer Driver and MS Edge Driver
⚫ IE and Edge respectively
⚫ Place these Browser Driver files in a directory that is part of the environment PATH. This
will allow a command-line call to the programs to execute them irrespective of the working
directory.
⚫ Install Java Language Bindings
Version 3.141.59 (2018)
Changelog
API Docs
Checked by :- Marks:-
Date:
T.E. (Computer) Sinhgad Institute of Technology, Lonavala Lab Practices-I
Assignment No: 5
Problem Statement: Prepare Software requirement specification for online education portal
Objectives:
Theory:
A software requirements specification (SRS) is a document that describes what the software will do and how
it will be expected to perform. It also describes the functionality the product needs to fulfill all stakeholders
(business, users) needs.
We want to DEFINE the purpose of our product, DESCRIBE what we are building, DETAIL the individual
requirements, and DELIVER it for approval. A good SRS document will define everything from how
software
will interact when embedded in hardware to the expectations when connected to other software. An even
better SRS documents also account for real-life users and human interaction.
The best SRS documents define how the software will interact when embedded in hardware — or when
connected to other software. Good SRS documents also account for real-life users.
An SRS gives you a complete picture of your entire project. It provides a single source of truth that every team
involved in development will follow. It is your plan of action and keeps all your teams — from development to
maintenance — on the same page (no pun intended).
18 Error! No text of specified style in document. | Department Computer Engineering, SIT, Lonavala
T.E. (Computer) Sinhgad Institute of Technology, Lonavala Lab Practices-I
This layout not only keeps your teams in sync but it also ensures that each requirement is hit. It can ultimately
help you make vital decisions on your product‘s lifecycle, such as when to retire an obsolete feature.
The time it takes to write an SRS is given back in the development phase. It allows for better understanding or
that will be developed. A system requirements specification (SyRS) collects information on the
>> Need to prove compliance? Here's how to create a traceability matrix >>
easy to do. Here are five steps you can follow to write an
specification. This may be something you create yourself. Or you may use
an existing SRS template. If you‘re creating this yourself, here‘s what your
1. Introduction
1.1 Purpose
1.4 Scope
2. Overall Description
This is a basic outline and yours may contain more (or fewer) items. Now that you have an
Define who in your organization will have access to the SRS and how they should use it. This
may include developers, testers, and project managers. It could also include stakeholders in other
departments, including leadership teams, sales, and marketing. Defining this now will lead to
less work in the future.
Product Scope
20 Error! No text of specified style in document. | Department Computer Engineering, SIT, Lonavala
T.E. (Computer) Sinhgad Institute of Technology, Lonavala Lab Practices-I
What are the benefits, objectives, and goals we intend to have for this product? This should
relate to overall business goals, especially if teams outside of development will have access to
the SRS.
It‘s important to define the risks in the project. What could go wrong? How do me mitigate these
Taking into account the occurrence level and the severity, we can come up with a strategy to mitigate this
risk.
Your next step is to give a description of what you‘re going to build. Is it a new product? Is it an
add-on to a product you‘ve already created? Is this going to integrate with another product?
Who is it for?
Understanding these questions on the front end makes creating the product much easier for all involved.
User Needs
Describe who will use the product and how. Understanding the user of the product and their
Who will be using the product? Are they a primary or secondary user? Do you need to know
about the purchaser of the product as well as the end user? In medical devices, you will also
What are we assuming will be true? Understating and laying out these assumptions ahead of time will help
with headaches later. Are we assuming current technology? Are we basing this on a Windows framework?
21 Error! No text of specified style in document. | Department Computer Engineering, SIT, Lonavala
T.E. (Computer) Sinhgad Institute of Technology, Lonavala Lab Practices-I
We need to take stock of these assumptions to better understand when our product would fail or not
operate perfectly.
Finally, you should note if your project is dependent on any external factors. Are we
reusing a bit of software from a previous project? This new project would then depend on
In order for your development team to meet the requirements properly, we MUST include
as much detail as possible. This can feel overwhelming but becomes easier as you break
Functional Requirements
Functional requirements are essential to your product because, as they state, they provide some
sort of functionality. Asking yourself the question ―does this add to my tool‘s functionality?‖ Or
―What function does this provide?‖ can help with this process. Within Medical devices
especially, these functional requirements may have a subset of risks and requirements.
You may also have requirements that outline how your software will interact with other
External interface requirements are specific types of functional requirements. These are
especially important when working with embedded systems. They outline how your product
There are several types of interfaces you may have requirements for, including:
User
Hardware
Software
Communications
System Features
22 Error! No text of specified style in document. | Department Computer Engineering, SIT, Lonavala
T.E. (Computer) Sinhgad Institute of Technology, Lonavala Lab Practices-I
System features are types of functional requirements. These are features that are required in
Performance
Safety
Security
Quality
The importance of this type of requirement may vary depending on your industry.
In the medical device industry, there are often regulations that require the tracking and accounting of
safety. IEEE
also provides guidance for writing software requirements specifications, if you‘re a member.
We made it! After completing the SRS, you‘ll need to get it approved by key
stakeholders. This will require everyone to review the latest version of the document.
Link : https://impressit.io/blog/software-requirements-specification-guide
Mtc cozz<epa: Cmd-ine educac en portal i" Rueiao 7eazners oF Etzg1 sh.
la q>e liars: ht tn' //www enp;Iishdcsn cxxn. hctn' / english-tiatal i cu2y szt-slce
• Alsi Ity to same inFatmation about classes: teachw, stuctenL, copse, sza-rUend cla€e aod
tsme. r¥u¥rk. commevtt
23 Error! No text of specified style in document. | Department Computer Engineering, SIT, Lonavala
T.E. (Computer) Sinhgad Institute of Technology, Lonavala Lab Practices-I
• Paymevtt system
• Lesson booking actd li-aks to paint syszetts
4) Garment sysfeas. wyr»e fix I‹sams znd courses onIiix• (siindar la ifiis:
http?/www cngli com/cn/a›st}.
5) OaBac test fhncMoaallLy. kdzractivc exercises in its form of oxiltiplc chalet questions (simibr to Ihis!
24 Error! No text of specified style in document. | Department Computer Engineering, SIT, Lonavala
T.E. (Computer) Sinhgad Institute of Technology, Lonavala Lab Practices-I
Group-2
Assignment No-06
Mini Project: Software Testing and Quality Assurance Mini Project Dynamic website of
covid-19 information using HTML, CSS, JAVASCRIPT And PHP, MySQL database used
to store user account, comment, and registration form details. Regular Expression test
cases for testing purpose
Link : https://phpgurukul.com/covid19-testing-management-system-using-php-and-mysql/
⚫How to run the Online COVID Testing Management System Using PHP and MySQL
⚫ Download the zip file
⚫ Extract the file and copy covid-tms folder
⚫ Paste inside root directory(for xampp xampp/htdocs, for wamp wamp/www, for lamp
var/www/html)
⚫ Open PHPMyAdmin (http://localhost/phpmyadmin)
⚫ Create a database with name covidtmsdb
⚫ Import covidtmsdb.sql file(given inside the zip package in SQL file folder)
⚫ Run the script http://localhost/covid-tms
⚫ Admin Credential
Username:ad
min Password:
Test@123
Checked by :- Marks:-
Date:
(Solve & Write a one University Exam Question paper along with or questions. )
25 Error! No text of specified style in document. | Department Computer Engineering, SIT, Lonavala