Test case (scenario method)

First, applications

1, suitable for use scenario method software interface features: The interface has very little (or no) to fill in entry, all operations are by mouse click, double click, drag and drop, etc. complete

  (The game is ideal for test scenarios method)

2, regard themselves as end-user, as realistic as possible a comprehensive simulation of a user's operation, design the appropriate test point, generally include two categories:

(1) simulated users correct operation, the main business logic operation is completed - if the verification of software to realize the main functions

(2) simulated user erroneous operation - validation software error handling

3, Scene method is mainly based on:

(1) Business (demand) level: the important function of the measured software, business logic, depth understanding of the industry background

(2) the technical aspects: Based equivalence partitioning, the effective equivalence classes - the correct operation of simulated users; invalid equivalence class - simulated error operation

 

Second, the core concept

1, the base stream (stream correctly, the effective flow)

Simulated users of the correct process

 

2, alternative streams (stream errors, invalid stream)

Simulate user error operation flow

 

Third, use the steps

1, according to the needs, and alternative lists elementary stream stream

  E.g. ATM machine operation

(1) the base stream - correct withdrawal

(2) alternative streams - mainly errors in the process of withdrawal

 

This step is entirely based on business understanding

 

2. Alternatively, the base stream and stream generated scene (Skilled directly do this step)

 

3, depending on the scene, written cases

Not a one to one relationship scenarios and use cases

 

 

Exercise 1: ATM machine withdrawals

1. List the main scenario, demand analysis to identify elementary streams (correct operation) and alternative flow (operating error)

   .1) to enter a password, select the amount and click OK, take away money, success

   .2) wrong password prompt!

2, perform the test, the tested scenarios leaving trace evidence (screenshots)

Guess you like

Origin www.cnblogs.com/eric88/p/10967791.html