Smoke Test Deck Flashcards
What is a Good Smoke Test ?
The goal of a smoke test is to see if developers achieved a degree of stability.
test of major functionality and shows product is ready for further test like functional testing
This saves time, faster bug resolution, enables quality improvement
What are the critical scenarios that need to be included in a smoke test?
Build Verification
Account Creation - try to create new user , new creds
Login/Logout
Business Critical Features - most commonly used funcs
Integration scenarios - make sure system doesn’t break in any integration points
Add/Edit/Delete - do an entry for these 3 to ensure proper database connectivity
Overall Navigation - touch frequently used funcs and pages
What would you do to limit smoke tests?
I would focus on the critical scenarios but if that is too much of a starting point, I would reach out to Product Owner and ask what they would want most
Can you give an example of a Smoke Test?
DESCRIPTION
To check video launch functionality
STEPS
- Go to the video page
- Click the video
EXPECTED RESULT = Smooth playback of the video
ACTUAL RESULT = Video player not popping up
STATUS - fail
What are 5 types of Severity ?
Critical, Major, Moderate, Minor, Cosmetic
- Critical – User clicks forget password, enters OTP(correct or incorrect) and a loader continues to spin indefinitely , user can login to access functionalities
- Major- User can log in without validating password which is unauthorized access
- Minor – User logs in with correct username and password but is shown “Login unsuccessful, please try again later” , still has access to functionalities
- Cosmetic – password field is placed above username field or spelling error
What are the levels of Priority ?
Immediate - Misspellings that could lead to losses in business
High - E-Commerce site crashes when item added to cart
Medium - Make a purchase, item shows as added but it says Payment Unsuccessful
Low - navigation bar is misaligned or misspelling in body
What are examples of the following :
High Severity, High Priority
Low Severity, High Priority
High Severity, Low Priority
HS, HP = Login button not clickable
LS, HP = company name has misspelling
HS, LP = app is not loaded properly or completely on old version of Internet Explorer but there is so few users
How would you decide what to prioritize in terms of testing to make mini regression test suite?
- Select test cases with frequent defects // look at past releases & sprints
- importance of the usability of the feature in app
- chooses tests with critical funcs like login, edit, add
- frequent code changes
- end to end test flows - the entire process for adding new payment for a mobile bank app
- field validation test cases - inputting details in a mandatory field , does it show error message or continues
What is the difference between Smoke and Sanity testing ?
Sanity is for minor areas and funcs
It is a subset of regression testing
It is done by software testers
if the build has 3 modules: Login, Admin, Employee, they test the main funcs without going deeper, thats sanity.
What are components that are necessary for a Test Plan ?
Introduction - includes the purpose and scope of the project
Features to Be Tested:
features to be tested are Login Page, Dashboard, Reports
Deliverables - list of docs need to be delivered at each phase of testing life cycle
EX: test cases, bug report
Pass/Fail Criteria:
Ex: all major func of the app should work as intended and the pass percentage of test cases should be more than 95% and there should not be any critical bugs