Saturday, December 17, 2011

How to write a Manual Test Script in Quality Center

Software Testers need to add manual test scripts in Quality Center so that the jotted down steps can be followed in the mentioned order and the specific test can be performed.

To add a manual test script in Quality Center, we need to go to the "Test Plan" module. Here, we can add new folders as per our requirement from Tests --> New Folder. We can name the new folder as required. Once the new folder is created, we need to select the folder and create a new Test from Tests --> New Test. Now we need to name the New Test as per our requirement.

A Test Script has different sections namely: Details, Design Steps, Test Script, Test Parameters, Attachments, Req Coverage, Linked Defects, Dependencies, History.

The first step to write a manual test script is to enter all the mandatory values in the Details section. Quality Center administrators (mostly some senior members from the project) set up some fields in the Details section as mandatory. When we go the Details section, we can find these mandatory fields that are marked in Red color and they have (*) sign indicating that these are mandatory fields. A tester needs to fill in all such mandatory fields before he/she can proceed with writing the test script.

The next step is the Design Steps section. The tester can add new steps by clicking on the New Step icon or by pressing Alt+N. Each step comes with a Step Number. The tester needs to frame the steps sequentially so that even a person who is not accustomed with the functionality of the AUT can carry out the testing referring the test steps.

Each step has two sections -- (a) Description (b) Expected
In the description part we need to write what actually needs to be done in that step. For example: Navigate to ABC --> XYZ --> PQR
In the expected part we need to write what would be end result when the actions in the description part is performed. For example: The PQR page should be displayed.

In this way, we need to keep adding the steps till all the steps in the specific test has been jotted down. Once this is done, we can Save the test (Ctrl+S).
Thus we have created the manual test script successfully.

Sample step:
The Step 1 is normally the Login step.
Description:
Login to the application using the below mentioned credentials:
UserId: XXXXXX
Pwd: xxxxxx
Expected:
The user should be successfully logged into the application.

No comments:

Post a Comment