Test script (Coursework Sample)
A test specification provides designers with what needs to be known in order to perform a specific test, and to validate and verify the requirement to be tested. The test script is divided into the test script, which is the generic condition to be tested, and one or more test cases within the test script. Provide a test script and test case for at least 3 of your requirements identified in your requirements specification. Provide the following format: •Test script: ◦Test script ID ◦Test description (generic condition being tested) ◦System or subsystem being tested ◦Type of test (functional, security, performance) ◦Input data sources ◦Expected results ◦Priority (mandatory or critical; important; desirable) ◦Pass/Fail criteria (allowable delta between degree of mismatch between actual and expected results) ◦Traceability (ties back to functions, modules, data structures) •Test Case: ◦Test Case ID and test script number (which script this test case is exercising) ◦Input test transaction data values ◦Initial environment and configuration, initial state of system required for this test ◦Test driver ID (if a real driver is needed) ◦Expected results (output test data values) Ensure that the Word document follows this format and that actual SRSs you identified in your original SRS specification are being identified in the test script/case.
source..Name
Institution
Instructor
Date
Test script
Test Specification First Part
Designed by
(Insert your Full Name)Screen or Module
(User Input Screen)Test Data Source:
User entryObjectives:
Test basic functionality
The test scripts below are meant to test the functionalities of an aircraft booking system. The system conforms to the SRS document with which the login details and the customer details are stored in a database. In a normal situation, the data is entered directly either by the user, admin or the customer and directly recorded in the database of the aircraft system. This will also be used to provide with the sign up information for the customer.
Actual test Script for basic functionality.
Test Case Number/ ID
Description
Test StepsPriority Expected ResultsActual
ResultsPerformed by / Date1-1This is a test done for rudimentary functionality of an aircraft system data entry of a customerEnter a trouble ticket with the following fields:
FIRST NAME: Test
LAST NAME: Ticket
USER NAME: T-ticket number
PHONE NUMBER: XXXX-XXX-XXX
Flight Number: T-ticket number-dateTimeYear(Number of Travel times)
Personal Computer: Laptop
NUMBER OF DAYS: 1
Software application used: MS Mail
General problem: Can’t access mail. Forgot my password.
The last action is:
(Press the SUBMIT key.)
High All the data that is provided, is instantly added to the database<>
<>
<>
<< T-ticket number-dateTimeYear(Number of Travel times)
>>
<>
<<1>>
<>
<>
<> DATE \@ "dddd, MMMM dd, yyyy" Friday, August 08, 2014
A test script for basic performance of the system
Test Case Number/ ID
Description
Test StepsPriority Expected ResultsActual
ResultsPerformed by / Date1-2This is a rest done for rudimentary performance of the database. This is specific on measuring the buffer cache hit ratioGet initial Buffer Hit Ratio reading.
SELECT ROUND((1-(phy.value / (cur.value + con.value)))*100,2) "Cache Hit Ratio"
FROM v$sysstat cur, v$sysstat con, v$sysstat phy
WHERE cur.name = 'db block gets'
AND con.name = 'consistent gets'
AND phy.name = 'physical reads'
/
Second attempt
(Increasing the buffer hit ratio)
DECLARE
v_dummy dual.dummy%TYPE;
BEGIN
FOR I IN 1..1000 LOOP
SELECT dummy INTO v_dummy FROM dual;
END LOOP;
END;
/
(Repeating the measurement)
SELECT ROUND((1-(phy.value / (cur.value + con.value)))*100,2) "Cache Hit Ratio"
FROM v$sysstat cur, v$sysstat con, v$sysstat phy
WHERE cur.name = 'db block gets'
AND con.name = 'consistent gets'
AND phy.name = 'physical reads'High An initial buffer hit ratio is tested and repeate...
Other Topics:
- Introduction to java programmingDescription: Define method headers for computeAverageSales() and computeShipping Charges() according to the following requirements...2 pages/≈550 words| APA | Technology | Coursework |
- Computer scienceDescription: Computer science Technology Coursework...2 pages/≈550 words| APA | Technology | Coursework |
- Security Risk ManagementDescription: This paper is about threats posed by Denial of Service (DoS) and Distributed Denial of Service (DDoS) attacks Technology Coursework...2 pages/≈550 words| APA | Technology | Coursework |