Before the system can be installed and used by hatch end cars it is necessary to ensure that the system is perfect and suites their needs. This can be done through the use of various tests to the end system

Authors Avatar
SOFTWARE DEVELOPMENT AND TESTING

(iii)Before the system can be installed and used by hatch end cars it is necessary to ensure that the system is perfect and suites their needs. This can be done through the use of various tests to the end system. The tests have been categorised in different sections. These are:

* Normal data- this is data that is correct and no faults during data entry. For example, entering the correct date.

* Extreme data- this is data that is also correct but tests the boundaries of tolerance. For example, entering an extremely long name.

* Erroneous data- this is data that is wrong and does not comply with the validation rules. For example, entering the wrong county.

There are various tests that can be carried out. These are:

* Integration testing- this is testing more than one aspect of the system. For example, testing if the macro to delete records work.

* Unit testing- this is when a particular aspect of the solution is tested. For example testing if the formula to charge a fine works.

Testing the system:

The whole system will be tested following the test plan, which uses the different types of tests to ensure that the system works as intended, allowing HECs to carry out their daily activities with no errors as the tests that were carried out were mainly aimed at satisfying the clients requirements. Evidence of the system being tested is shown overleaf.

Test No.

Function To Be Tested

Type of test

Data Used

Expected Results

Pass/Fail

Action Taken

All fields in Members form.

Normal data and unit testing.

James Brown,15/03/1985, 59,Drive Close, Pinner, Middlesex, HA5 ,5UB, 02084256944, 07985895468

Information provided about the customer is added to the system.

Pass

None needed.

2

Validation in the county field, located in the members form.

Erroneous data and unit testing.

Midlesex

Error Message: The county has been wrongly entered. The county has to be "Middlesex".

Pass

None needed; advice given in user guide.

3

Members form.

Normal data and unit testing.

Click on Member Details in the main menu.

A Member form should be displayed that is legible.

Pass

None needed.

4

Validation in the model field, located in the cars form.

Erroneous data and unit testing.

PL

Error message: The model of car has been wrongly entered. It should be either "CL" Or "B Class" Or "318 CI SE" Or "S" Or "A4" Or "Avensis" Or "cooper" Or "Tourneo" Or "Sharan"

Pass

None needed; advice given in user guide.

5

All fields in cars form.

Normal data and unit testing.

B Class, Petrol, 75482, BMW, £50.00, Dark Green.

Information provided about the car is added to the system.

Pass

None needed.

6

Old rentals append query, Old rentals delete query, Over three months delete query and Rentals delete macro.

Normal data and integration testing.

Click on Delete Rentals button on the Functionalities screen.

Message box: Rentals have been deleted successfully.

Pass

None needed.

7

Validation in the Date of Rental field.

Erroneous data and unit testing.

Enter 09/11/2008on the date of rental on the Rentals screen section.

Error message: Wrong date entered in the Date of Rental field. The date of rental must be the same date as today.

Pass

None needed; advice given in user guide.

8

Delete function in the Members form.

Normal data and unit testing.

Click on members then click on the delete button. A dialogue box appears to confirm the action, then click OK.

The member information is successfully deleted.

Pass

None needed.

9

Find Member field in the Members form.

Normal data and unit testing.

Use the drop down menu in the Find Member field to select the member ID 3 or type it in manually.

All details of that particular member should be displayed, with 3 shown in the member ID field.

Pass

None needed.

Test No.

Function To Be Tested

Type of test

Data Used

Expected Results

Pass/Fail

Action Taken

0

No data macro

Erroneous data and integration testing.

Click on Print Member Details in the Reports menu and enter '0' as the parameter.

Error message: There is no data matching your search criterion. Please close the report and try a correct search criterion.

Pass.

None needed.

1

Member card report and Member details query.

Normal data and integration testing.

Click on Issue Member Card in the Reports menu and enter '7' as the parameter.

A membership card should be printed for the member with the member ID 7 in the correct format as designed.

Pass.

None needed.

2

Member details query and Member details report.

Normal data and integration testing.

Click on Print Member Details in the Reports menu and enter '11' as the parameter.

Details of member ID 11 should be printed with all his/her details clearly shown.

Pass.

None needed.

3

Yes exit macro and No exit macro.

Normal data and integration testing.

Click on Exit button on main menu:

* Select YES

* Select NO

. The system shuts down.

2. It returns to the main menu.

Pass.

None needed.

4

Close start up screen macro.

Normal data and unit testing.

Click in Hatch End cars in My Documents.

The start up screen should appear and the main menu should also appear after 2 seconds.

Pass.

None needed.

5

Surname field in the Members form.

Extreme data and unit testing.

lalalalolololelele

The data should be successfully accepted as this is within the boundaries.

Pass

None needed.

6

Telephone number field in the Members form.

Normal data and unit testing.

Enter 02084256897 in member ID 22 telephone field.

The telephone number of the member should be successfully changed in Member ID 22 details.

Pass.

None needed.

7

Price update query for cars macro.

Normal data and integration testing.

Click on the 'Update Cars Prices' button in the Functionalities form.

"Prices for cars have been successfully updated"

Pass.

None needed.

8

Password.

Normal data and unit testing.

Enter 'pakiza' when the user is prompted for a password in the process of opening the system.

The system should successfully open.

Pass.

None needed.

RESULTS AND EVIDENCE OF TESTS

Evidence of the tests that are described above has been shown below. To confirm that the system works as expected with no errors.

Test 1- Adding a member:

Input: James Brown, 15/03/1985, 59, Drive Close, Pinner, Middlesex, HA5, 5UB, 02084256944, 07985895468

Test 2- Entering the County of a member:

Input: Middesx

Actual output: "The County has been wrongly entered. The county has to be "Middlesex"."

Test 3- Viewing member details:

Input: Click on Member Details in the main menu.

Actual output: A detail of a member was displayed, which was easy to read.

Task 4- Entering the model of car :

Input- PL

Actual output: "The model of car has been wrongly entered. It should be either "CL" Or "B Class" Or "318 CI SE" Or "S" Or "A4" Or "Avensis" Or "cooper" Or "Tourneo" Or "Sharan".

Task 5- Adding a new car:

Input- B Class, Petrol, 75482, BMW, £50.00, Dark Green.

Actual output- The new car was successfully added to the system.

Task 6- Deleting cars that have already been returned:

Input- Click on the Delete Rentals button on the Functionalities screen.

Actual output- All rentals that were over three months were deleted.

The image below shows that member ID 5 has rentals that have been returned and are over three months old. This is before the test was done.

When the over three months old rentals are deleted the massage appears.

When the button was clicked on, it deleted all the rentals that were over three months old. This therefore deleted member ID 1's rentals that were more than three months and were returned as shown above.
Join now!


Task 7- Entering the rental date of a car

Input- 09/11/2008

Actual output- Wrong date entered in the Date of Rental field. The date of rental must be the same date as today.

Test 8- Deleting members:

Input- Click on members then clicks on the delete button. A dialogue box appears to confirm the action, then click OK.

Actual output- The member with Member ID 3 was deleted.

As you can see below in member's table the member is not exist anymore.

Test 9- Searching for member details:

Input- Use ...

This is a preview of the whole essay