Testing of ICT-related solutions AQA INFO 1 Section 9 TC@TGSG based on material from Mott,Leeming,Williams What you need to do Draw up a test plan that will test all aspects of your solution Create a testing table that will show the outcomes of your testing Include screen shot evidence in the testing table TC@TGSG based on material from Mott,Leeming,Williams Test Strategy You need to plan what testing you are going to carry out as there are different types. 1. Functional testing – each function as it is developed using normal, erroneous or boundary 2. Navigational testing – each making sure hyperlinks or macros work using test data (clicking on mouse) 3. 4. System testing – system works as a whole User testing – allows the user to give feedback that the system works appropriately to their needs. TC@TGSG based on material from Mott,Leeming,Williams Test Data It is important to specify what data is going to be tested. There are three types of test data: Normal Erroneous Boundary TC@TGSG based on material from Mott,Leeming,Williams Test Data cont. NORMAL ERRONEOUS BOUNDARY You should have at least 5 tests that use normal data You should have at least 3 tests that use erroneous data You should have at least 3 boundary tests Should show that your solution accepted that data Should specify if the data is just outside the boundary or is the wrong type completely. Should specify that the data is just inside the boundary that is accepted by your solution DEFINITION: Test that the system working under normal conditions, is providing the correct data DEFINITION: That the system will reject values outside of the acceptable limits. DEFINITION: To test that the system accepts both extreme ranges of test data TC@TGSG based on material from Mott,Leeming,Williams Test Data Example: A field in a database is designed to accept examination marks between 0 and 90. Validation rules have been set up for this. Normal Boundary Erroneous Should not break any rules Should let values reach the boundary Any other values should be rejected. For example: A value of 63 would be fine For example: data 0 For example: data or 90 should be “smith” or “92” accepted should be rejected TC@TGSG based on material from Mott,Leeming,Williams Test Plan Test plan needs to include tests that ensure: Output is 100% accurate Output is clear Data input is validated Printed output is as expected Solution meets client requirements Solution is user friendly TC@TGSG based on material from Mott,Leeming,Williams What should a test plan show? 1. 2. 3. 4. 5. 6. Validity of data input Accuracy of the output Presentation of the output That the solution meets the client requirements That the solution is useable by the end user Incorporates the test data to be used with the expected results TC@TGSG based on material from Mott,Leeming,Williams Test Plan cont. Test Number Purpose of Test Test Data Type Data Value TC@TGSG based on material from Mott,Leeming,Williams Expected Outcome Testing against the website plan Your test plan should include: Testing the pages offline Uploading pages and images to the Internet Testing the web pages online YOU ARE NOT JUST TESTING HYPERLINKS Pages are readable All images are present Images are not pixelated Load times are acceptable Any rollovers work That a user can edit details etc etc TC@TGSG based on material from Mott,Leeming,Williams Example - website Offline test Test All text is readable Expected outcome Text is big enough to read check that all Every image mouseovers goes darker work when the cursor moves over it. Online test Test Expected outcome Test that all hyperlinks work All hyperlinks work ok User testing with Jodie Users able to edit pages TC@TGSG based on material from Mott,Leeming,Williams Example - spreadsheet Test Expected outcome Test that all macro buttons work All macro buttons work Text that all images are clear Logo and company name is clear Test VLOOKUP Choose A4 colour 2 sides Price per 1000 should be £32.00 TC@TGSG based on material from Mott,Leeming,Williams Testing Table - example Test Expected outcome Actual Outcome Evidence Test Total cost 318.00 318.00 Testing screen shot 1 Test validation of formulas 1000 [extreme value] – OK 990 [erroneous value] rejected Error message Testing screen only appears on shot 2 erroneous test TC@TGSG based on material from Mott,Leeming,Williams Remember Do make sure your screen shots are not too small If you crop any screen shots, do not cut off any part that may be useful (formula tool bar) Get a witness statement sighed by your teacher to show that everything works. TC@TGSG based on material from Mott,Leeming,Williams Summary Designing a Test strategy is necessary Choosing the right type of data Testing validation rules Involving other users in the testing is useful Documenting test results and corrective action is necessary TC@TGSG based on material from Mott,Leeming,Williams
© Copyright 2024