Functional testing of blogging system

The blog system has: user login function, blog publishing function, view article details function, view article list function, delete article function, and exit function.

1. Login function:

1.1 Test object: user login

1.2 Test cases

Method: Determination table

Example

serial number

Steps expected outcome actual results screenshot
1

1. The username is correct

2. The password is correct

3. Click "Login"

login successful,

Jump to blog list page

login successful,

Jump to blog list page

2

1. The username is correct

2.The password is incorrect

3. Click "Login"

Prompt that the username and password are incorrect Prompt that the username and password are incorrect
3

1.The username is incorrect

2. The password is correct

3. Click "Login"

Prompt that the username and password are incorrect Prompt that the username and password are incorrect
4

1.The username is incorrect

2.The password is incorrect

3. Click "Login"

Prompt that the username and password are incorrect Prompt that the username and password are incorrect
5

1. The username is empty

2. The password is correct

3. Click "Login"

Username can not be empty Username can not be empty
6

1. The username is empty

2.The password is incorrect

3. Click "Login"

Username can not be empty Username can not be empty
7

1. The username is correct

2.Password is empty

3. Click "Login"

Please enter password Please enter password
8

1.The username is incorrect

2.Password is empty

3. Click "Login"

Please enter password Please enter password
9

1. The username is empty

2.Password is empty

3. Click "Login"

Username can not be empty Username can not be empty

2. Publish blog function:

2.1 Test object: publish a blog

2.2 Test cases

cause and effect diagram

E1 is an effect and C1 and C2 are causes. If both C1 and C2 are true, then effect E1 will be true

Use case number

C1、C2

expected outcome

actual results

screenshot

1

Write article title

Write article content

Published successfully

Published successfully

2

Don’t write the article title

Write article content

Please enter the article title

Please enter the article title

3

Write article title

Don’t write article content

Please enter the article content

Please enter the article content

4

Don’t write the article title

Don’t write article content

Please enter the article title Please enter the article title

 

3. View article details function

 

4. View article list function

5. Delete article function

 

6.Exit function

Click Logout to exit to the login page

 

 

Guess you like

Origin blog.csdn.net/qq_59561046/article/details/132368273