Test Case 8

Requirement Traceability:

Requirements 29, 30, and 31

Purpose:

  1. Verify the multiplayer Restart Level functionality depending on the other user�s agreement or disagreement.

Procedure:

For the following test case, words in italic refer to the hosting computer and underlined words refer to the client computer.Words in regular type refer to both computers.

Follow the Test Data procedure in Test Case 5 except for the last step (exiting the game) and then follow the steps below:
 

Test Data:
 

Action

Input

Expected Output

Press the DOWN directional button

 

The Moves field now reads 1

 

Player1�s robot moves down one square

Press the DOWN direction button

 

The Moves field now reads 1

 

Player2�s robot moves down one square

Click Level | Restart Level

 

 

Restart Request confirmation box appears.It says that your partner has requested to restart the level and asks if you agree.

 

Click the No button

 

The box closes and the level has not changed

 

The level does not change

Click Level | Restart Level

 

 

Restart Request confirmation box appears.It says that your partner has requested to restart the level and asks if you agree.

 

Click the Yes button

 

One both machines, Level 2 restarts.The Level Name field reads Level 2.The Moves, Pushes, and Crates Incinerated fields are all reset to 0.The Elapsed Time field starts at 0:00 and is continually ticking upward.

Press Game | Exit

 

Press Game | Exit

 

The Sokoban game closes.

 

 

 

The Sokoban game closes.