



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Testing in Software Engineering. Mainly White Box
Typology: Exercises
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Test Case A TEST CASE is a set of actions executed to verify a particular feature or functionality of your software application. A Test Case contains test steps, test data, precondition, postcondition developed for specific test scenario to verify any requirement. The test case includes specific variables or conditions, using which a testing engineer can compare expected and actual results to determine whether a software product is functioning as per the requirements of the customer. Test Scenario vs Test Case Test Scenarios are rather vague and cover wide range of possibilities. Testing is all about being very specific. There may be many test cases under one scenario. Test Scenario: Test the Login Functionality To test login functionality, there may be following test cases: Test Case-1:See result of entering valid user name and password Test Case -2: See Result of entering invalid username and password Test Case -3: See Result of leaving blank username and password and click Login Button << See the Excel File>> Test Scenario: Test Signup Functionality Test Cases:
1. Verify all the required mandatory field are typed by user before submitting data to server. 2. Perform e-mail and Phone number validation before confirming user registration. 3. Verify the desired username with existing username name for duplication checking. 4. Verify the length of characters for username and password and verify password strength
5. Verify whether username field contains some special characters. 6. Check captcha characters before submitting registration data. 7. Check Age group 8. Verify registration confirmation message after registration process is completed. Test Scenario: Google Search Test Cases
Verify the battery requirement of the mobile Verify the total time taken to charge the mobile completely Verify the total time for mobile to get completely discharged when left idle Verify the total talk for mobile to get completely discharged when continuously used in conversation Verify the length of charger wire Verify that mobile can be switched off and ON Verify that user can store contact details on the phone book directory Verify that user can delete and update contact details in the phonebook directory Verify that Call logs are maintained in the Call Logs Verify that received and Sent SMSs are saved in mobile Verify that user can silent the phone during an incoming call Verify the auto-reject option can be applied and removed on particular numbers Test Cases: Notepad Verify that on launching the notepad application, the notepad editor should open with its default size. Verify that user can write/type alphabets from a standard keyboard. Verify that user can type numerics from a standard keybaord Verify that user can type special characters and symbols on notepad editor window. Verify that by default the font size is normal or as per the specifications. Verify that user can set the font size and family. Verify that user can save the text in a file. Verify that user can open any exiting file in notepad. Verify that file formats not permitted by notepad are not loaded and doesn’t corrupt the application. Verify that user can append text to any file and again save the file. Verify that user can select, copy and paste text. Verify that user can select, cut and paste text. Verify that user can select and delete a text.
Verify that user can delete a text using backspace and delete buttons. Verify that user can navigate through the text in file using the arrow keys. Verify that user can navigate through the text in file using mouse pointer. Verify that user can edit and delete data in between the text file. Verify that user can undo any latest change done in file. Verify that user can redo any change undone by undo option. Verify that user can search for single or multiple characters and words through the file. Verify that user can search and replace single or multiple characters and words through the file. Verify that user can resize the notepad window. Verify that user can minimize the notepad editor window. Verify that user can maximize the notepad editor window. Verify that user can close the editor window by clicking the cross icon. Develop Test Cases for Following Application: