Learn Manual Testing from the Best Tutors
Search in
_Examples of Sanity Testing and Smoke Testing:_
*Sanity Testing Example:*
Suppose we have an e-commerce application with the following critical functionalities:
1. User login
2. Product search
3. Add to cart
4. Checkout
A sanity test for this application might include:
1. Verify user login with valid credentials
2. Search for a product and verify results
3. Add a product to the cart and verify cart contents
4. Complete the checkout process
This sanity test ensures the application's critical functionalities are working as expected.
*Smoke Testing Example:*
For the same e-commerce application, a smoke test might include:
1. Verify the application launches correctly
2. Check the login page is accessible
3. Verify the search bar is functional
4. Check the cart icon is displayed
This smoke test quickly verifies the application's basic functionality and critical components are working.
Note the difference in scope and depth between sanity and smoke testing:
- Sanity testing covers more functionalities and user journeys
- Smoke testing focuses on basic functionality and critical components
These examples illustrate the distinct purposes and approaches of sanity testing and smoke testing.
read lessView 1 more Answers
Related Questions
Can I learn selenium without manual testing knowledge?
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Top 5 Skills Every Software Developer Must have
Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today. In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...
8 Hottest IT Careers of 2014!
Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...
Make a Career as a BPO Professional
Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...
What is Applications Engineering all about?
Applications engineering is a hot trend in the current IT market. An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...
Looking for Manual Testing Training?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for Manual Testing Classes are on UrbanPro
The best Tutors for Manual Testing Classes are on UrbanPro