Sei sulla pagina 1di 5

SOFTWARE TESTING

Name : VO MINH TAN


Student ID: 1921126507
HOMEWORK
Exercise #1: Finding Defects
- The Title is not spelled incorrectly, it should be "New Registration".
- The title color mismatch.
- User Id vs User ID not consistency.
- User Id field should not include special characters.
- Confirm Password should be in encrypted form.
- Name field should not include special characters and number.
- Drop down box is little bit bigger than all the text boxes. All boxes should have
same size.
- Captcha can't readable
- Register button has wrong display text.
- Form have no refresh button of captcha to generate new captcha
- Form have no refill button to clear all field.

Exercise #2: Writting test scenarios


- The scanners should scan all five items correctly.
- All items scanned successfully.
- Pay with cash - not enough money.
- Pay with credit card - limited balances.
- Pay wih debit card - successful.
- Pay with voucher - successful.
- Check all these items again.
- Get the invoices.

Exercise #3: Writting test cases and test ideas for Login Screen
Scenarios
Test cases
Test
Case
1

Check Item

Username

Username

Password

Password

Enter invalid
Password

Password

Enter valid
Password

Log-in
button

Incorrect inputs

Click Log-in

Log-in
button
Remember
Me
checkbox
Remember
Me
checkbox

Correct inputs

Click Log-in

Checking
checked symbol
on checkbox
Checking
cookies

Click
Remember
Me
Click
Remember
me to

Remember
Me
checkbox

Checking
cookies

Click
Remember
me to

10

11

Log in

Test case
Objective
Leave all fields
as blank and
click Log-in
button
Enter invalid
Username
Enter valid
Username
Enter random
characters

Steps to
Excute
Click Log-in

Test
Data/Input

Username:
tan@!r
Username:
tan
Password:
3#rAsrT3r
AS
Username:
****
Password:
***********
*

Expected Result
The mandatory symbol
should appear in front
of Username and
Password fields
Message "Please enter
valid username"
Allow the user to
proceed
Password field should
be in encrypted form
(like ******* )
Not enough length.
Password should more
than 6 characters.
Allow the user to
proceed
Message "Please check
your username &
password again!"
Lead the user to
respect page
If we click on
checkbox, its should
be display or
If checkbox display
they will not have to
login each time they
visit website.
If checkbox display
They need to re-enter
username and
password to log-in

Test Ideas
Check what is the maximum size set for the input.
Check what kind of characters does it allow.
Check if the database is vulnerable to SQL Injection.
Check if there is any way that you can know the credentials from the code.
Check if the URL shows the entries of the inputs in encrypted or normal way.
Check what happens when you give different combinations of the inputs.
Check if there is any cookie that is going to be stored during login.
Check if "Remember Me" feature is fuctioning properly.

Exercise #4 CFG

6-7

9
h

11
1

10

12

Basic Path:
No of edges - no of nodes + 2 = 13-11+2=4
=> We got 4 basics path.

Potrebbero piacerti anche