Software test initiative

Published:

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

9.1 TEST PLAN

A test plan is a document presenting all of the information pertaining to a software test initiative. Some of the main components of a test plan include:

  • Overview of the project.
  • Description of the scope of the testing effort, including for example, requirement or features to be tested and not to be tested.
  • Documented test strategy.

A test strategy is a document approach to testing where the test effort, test domain, test configurations, and test tools employed to verify and validate a set of functionality are defined. It also includes information on schedules, resource allocations, and staff utilization. This information is circuit to allow the test team (Test) to be as organized and effective as possible.

A test strategy is not the same as a test plan, which is a document that collects and organizes test cases by functional areas and /or types of testing in a form that can be presented to other teams and/or customer.

Both are important pieces of the Quality Assurance process since they help communicate the test approach scope and ensure test coverage while improving the efficiency of the testing effort.

  • Document defect tracking process.
  • Test case format.
  • Project plan for the effort.

PURPOSE

The purpose of developing and maintaining a test plan is to guide a testing effort, ensuring all aspects of a test are planned and covered. A test plan also ensures everyone on a team is clear on all of the specifics of a testing effort.

INTRODUCTION

Testing is one of the most important phases in the software development activity. In software development life cycle (SDLC), the main aim of testing process is the quality; the developed software is tested against attaining the required functionality and performance.

During the testing process the software is worked with some particular test cases and the output of the test cases are analyzed whether the software is working according to the expectations or not.

The success of the testing process in determining the errors is mostly depends upon the test case criteria, for testing any software we need to have a description of the expected behavior of the system and method of determining whether the observed behavior confirmed to the expected behavior.

LEVELS OF TESTING

Since the errors in the software can be injured at any stage. So, we have to carry out the testing process at different levels during the development. The basic levels of testing are

  • Unit testing
  • Integration testing
  • System testing
  • Acceptance Testing.

1. Unit Testing

Unit testing is done on individual modules as they are completed and become executable. It is confined only to the deswogner's requirements.

Each module can be tested using the following two strategies

  1. Black Boxing Testing
  2. White Box Testing

In Block Box Testing some test cases are generated as per input conditions that fully execute all functional requirements for the program. This testing has been used to find errors in the following categories

  1. Incorrect or missing functions
  2. Interface errors
  3. Errors in data structure or external database access
  4. Performance errors
  5. Initialization and termination errors

In this testing only the output is checked for correctness. The logical flow of the data is not checked.

In white Box Testing the test cases are generated on the logical of each module by drawing flow graphs of that module and logical decision are tested on all the cases. It has been uses to generate the test cases in the following cases:

  1. Guarantee that all independent paths have been executed.
  2. Execute all logical decisions on their true and false sides.
  3. Execute all loops at their boundaries and with in their operational bounds.
  4. Execute internal data structure to ensure their validity.

2. Integration Testing:

Integration Testing ensures that s/w and subsystems word together as a whole. It tests the interface of all modules to male sure that the modules behave properly when integrated together.

3. System Testing

Involves in-house testing of the entire system before deliver to the user. Its aim is to satisfy the user the system meets all requirements of the client's specifications.

4. Acceptance Testing

It is a pre- delivery testing in which entire system is tested at client's site on real world data to find errors.

Test Approach

Testing can done in two ways

  1. Bottom up approach
  2. Top Down approach

In Bottom up approach Testing can be performed starting from smallest and lowest level modules and proceeding one at time. For each module in bottom up testing a short program executer the module and provides the needed data so that the module is asked to perform the way it will when embedded with in the larger system.

When bottom level modules ate tested attention turns to those on the next level that use the lower level ones they are tested individually and then linked with the previously examined lower level modules.

In Top Down approach testing starts from upper level modules. Since the detailed activities usually performed in the lower level routines are not provided stubs ate written. A stub is a module shell called by upper level module and that when reached properly will return a message to the calling module indicating that proper interaction occurred. No attempt is made to verify the correctness of the lower module.

Validation

The system has been tested and implemented successfully and thus ensure that all the requirements as listed in the s/w requirements are completely fulfilled. In case of erroneous input corresponding error messages are displayed.

TESTING PROCESS

A number of activities must be performed for testing software. Testing starts with test plan. Test plan identifies all testing related activities that need to be performed along with the schedule and guide lines for testing. The plan also specifies the levels of testing that need to be done, by identifying the different testing units. For each unit specified in the plan first the test cases and reports are produced. These reports are analyzed.

Test Plan:

Test plan is a general document for entire project, which defines the scope, approach to be taken and the personal responsible for different activities of testing. The inputs for forming test plane are

Project plan

Requirements document

System design

TEST CASE SPECIFICATION

Although there is one test plan for entire project test cases have to be specified separately for each test case. Test case specification gives for each item to be tested. All test cases and outputs expected for those test cases.

9.2 TEST CRITERIA & TEST CASES

A specific set of steps and data along with expected results for a particular test objective. A test case should only test one limited subset of a feature or functionality. A test case does the following:

Details of test setup.

Details of test procedure (steps).

Describes testing environment.

Specifies the pass/fail criteria.

References results of test.

TEST CASES

TEST CASE ID

INPUT

EXPECTED BEHAVIOR

OBSERVED BEHAVIOR

RESULT

1

Enter the invalid admin name and invalid password

It clears the text fields and focuses on the admin text field

It clears the text fields and focuses on the admin text field

Pass

2

Enter valid admin name and invalid password

It clears the text fields and focuses on the admin text field

It clears the text fields and focuses on the admin text field

Pass

3

Enter valid admin name and valid password

Main form should be displayed with 4 hyper links

Main form should be displayed with 4 hyper links

Pass

4

Click on application assessment hyperlink(do the same procedure for every hyper link)

Personal information details form should be displayed

Personal information details form should be displayed

Pass

5

In personal information details form enter the string in sno

It clears the text field and focuses on the same text field

It clears the text field and focuses on the same text field

Pass

6

In personal information details form enter the negative value(ex: -10)

It clears the text field and focuses on the same text field

It clears the text field and focuses on the same text field

Pass

7

Fill the personal information details form correctly.

The add button should be enabled

The add button should be enabled

Pass

8

Fill the personal information details form incorrectly and click on reset

It clears the all text fields and focuses on the sno text field

It clears the all text fields and focuses on the sno text field

Pass

TEST CASE ID

INPUT

EXPECTED BEHAVIOR

OBSERVED BEHAVIOR

REULT

9

In personal information details form click on add button

The education form should be displayed with sno and sname

The education form should be displayed with sno and sname

Pass

10

Enter the string in date field

It clears the text field and focuses on the same text field

It clears the text field and focuses on the same text field

Pass

11

Enter the date in dd-mm-yyyy and click on tab

It should focus on the next text field

It should focus on the next text field

Pass

12

Enter the date other than dd-mm-yyyy and click on tab

It clears the text field and focuses on the same text field

It clears the text field and focuses on the same text field

Pass

13

Enter invalid e-mail id in address details form and click on tab

It clears the text field and shows the message invalid e-mail id

It clears the text field and shows the message invalid e-mail id

Pass

14

By clicking on interview assessment junior level management hyper link

Interview assessment junior form should be displayed with some default values

Interview assessment junior form should be displayed with some default values

Pass

15

By clicking on interview assessment junior level management hyper link

Sno, sname, written test date, position code, interviewer and written test marks text fields should be blank

Sno, sname, written test date, position code, interviewer and written test marks text fields should be blank

Pass

TEST CASE ID

INPUT

EXPECTED BEHAVIOR

OBSERVED BEHAVIOR

RESULT

16

In Interview assessment junior form click on add button

Interview result form should be displayed

Interview result form should be displayed

Pass

17

In interview result form click on add button

A reports form should be displayed with 4 hyper links

A reports form should be displayed with 4 hyper links

Pass

18

In reports form clicking on selection list report hyper link

A form should be displayed with two buttons

A form should be displayed with two buttons

Pass

19

Click on selection list for written test button

Selected candidates for interview through written test list should be shown

Selected candidates for interview through written test list should be shown

Pass

20

Click on selection list for interview test button(do the same procedure for every report)

Selected candidates in interview should be shown

Selected candidates in interview should be shown

Pass

Writing Services

Essay Writing
Service

Find out how the very best essay writing service can help you accomplish more and achieve higher marks today.

Assignment Writing Service

From complicated assignments to tricky tasks, our experts can tackle virtually any question thrown at them.

Dissertation Writing Service

A dissertation (also known as a thesis or research project) is probably the most important piece of work for any student! From full dissertations to individual chapters, we’re on hand to support you.

Coursework Writing Service

Our expert qualified writers can help you get your coursework right first time, every time.

Dissertation Proposal Service

The first step to completing a dissertation is to create a proposal that talks about what you wish to do. Our experts can design suitable methodologies - perfect to help you get started with a dissertation.

Report Writing
Service

Reports for any audience. Perfectly structured, professionally written, and tailored to suit your exact requirements.

Essay Skeleton Answer Service

If you’re just looking for some help to get started on an essay, our outline service provides you with a perfect essay plan.

Marking & Proofreading Service

Not sure if your work is hitting the mark? Struggling to get feedback from your lecturer? Our premium marking service was created just for you - get the feedback you deserve now.

Exam Revision
Service

Exams can be one of the most stressful experiences you’ll ever have! Revision is key, and we’re here to help. With custom created revision notes and exam answers, you’ll never feel underprepared again.