Sunday, 24/9/2017 | 7:30 UTC+0
You are here:  / Software / The Best Software Testing Tutorial You Will Ever Get

The Best Software Testing Tutorial You Will Ever Get

 

Software testing is an quintessential part of Software Development Life Cycle. Get to realize the key concepts of software trying out and the diverse steps involved in the equation.
TAGGED UNDER: Software Testing

Image result for software

Software Development Life Cycle (SDLC) is a procedural technique within the development of a software product. This procedure is achieved in a series of steps and is the reason the complete idea in the back of the development of a software product.

The type of the Software Development Life Cycle method is as follows:

1. Planning
2. Analysis
three. Design
4. Software Development
five. Implementation
6. Software Testing
7. Deployment
eight. Maintenance

Software trying out is an critical step in a product’s existence cycle because it will determine whether a product works efficaciously and efficaciously in line with the necessities of clients.
Introduction to Software Testing
Before we go ahead and take a detailed look at software program trying out, it’s miles vital to recognize a few concepts so that it will simplify the definition of software program testing.

Error: Error or mistake is a human motion that produces the incorrect or incorrect end result.
Defect (Bug, Fault): A flaw in the machine or a product that may reason the component to fail or malfunction.
Failure: It is the variance among the real and anticipated end result.
Risk: Risk is a factor that would bring about negativity or a risk of loss or harm.

Thus, software program testing is the process of finding defects/insects in a system, that arise due to blunders within the software, that may result in failure of the resultant product. In quick, software program checking out has one-of-a-kind desires and objectives, which frequently consist of:

1. Finding defects
2. Gaining confidence and offering records about the level of nice
three. Preventing defects
Scope of Software Testing
The number one feature of software program trying out is to come across insects that allow you to find and hit upon it. The scope consists of execution of that code in numerous surroundings and also to observe the elements of the code – does the software program do what it is meant to do and feature in line with the specs? As we move further we stumble upon a few questions which includes, “When to begin checking out?” and “When to stop testing?” It is usually recommended to start trying out from the preliminary ranges of the software program development. This no longer most effective enablers in rectifying the errors earlier than the remaining stage but also reduces the remodel of finding insects in the initial tiers every so often. It saves time and is value-effective. Software checking out is an ongoing system, which is potentially infinite but must be stopped somewhere, because of the shortage of time and price range. It is needed to attain maximum profit with the properly high-quality product, in the obstacles of money and time. The tester has to follow some procedural way thru which he can judge if he covered all the points required for checking out or neglected out any. To assist testers to perform these day-to-day activities, a baseline has to be set, that is achieved within the shape of checklists.
Key Concepts
Defects and Failures: As we discussed earlier, defects are not caused best due to coding errors, but most usually because of the requirement gaps inside the non-useful requirement, inclusive of usability, testability, scalability, maintainability, overall performance and security. A failure is caused due to the deviation between an real and an predicted result. But no longer all defects bring about screw ups. A defect can turn into a failure because of a change in the surroundings or an alternate inside the configuration of the machine requirements.

Input Combination and Preconditions: Testing all aggregate of inputs and initial kingdom (preconditions), isn’t viable. This method locating a massive variety of rare defects is difficult.

Static and Dynamic Analysis: Static checking out does not require execution of the code for locating defects, whereas in dynamic trying out, software code is performed to illustrate the effects of the tests.

Verification and Validation: Software testing is carried out considering those elements.
1. Verification: This verifies whether the product has been designed in step with the specification.
2. Validation: This checks whether the product meets the necessities of clients.

Software Quality Assurance: Software trying out is an important part of great assurance. Quality guarantee is an pastime, which proves the suitability of the product by way of looking after the quality of the product and making sure that the client necessities are met.
Software Testing Types
Software check kind is a collection of check sports that are geared toward testing an aspect or device targeted on a particular test objective; a non-useful requirement such as usability, testability or reliability. Various types of checking out are used with the not unusual objective of finding defects in that particular factor.
Software checking out is classified into basic sorts: Manual Scripted Testing and Automated Testing.
Manual Scripted Testing
– Black Box Testing
– White Box Testing
– Gray Box Testing

The levels of software trying out existence cycle encompass:
Unit Testing
Integration Testing
System Testing
Acceptance Testing (Alpha Testing & Beta Testing)
Other styles of software checking out are:
– Functional Testing
– Performance Testing (Load Testing & Stress Testing)
– Smoke Testing
– Sanity Testing
– Regression Testing
– Recovery Testing
– Usability Testing
– Compatibility Testing
– Configuration Testing
– Exploratory Testing
Automated Testing
Manual testing is a time-eating procedure. Automation trying out involves automating a guide system. Test automation is a procedure of writing a computer software inside the form of scripts to do a checking out which is in any other case carried out manually. Some of the popular automation tools are WinRunner, Quick Test Professional (QTP), LoadRunner, SilkTest, Rational Robot, and so on. Automation gear category additionally includes upkeep tools which include TestDirector and plenty of others.
Software Testing Methodologies
There are various checking out methodologies available for developing and testing a software product. These models are as follows:

– Waterfall Model
– V Model
– Spiral Model
– Rational Unified Process (RUP)
– Agile Model
– Rapid Application Development (RAD)
Software Testing Artifacts
Software testing technique can produce diverse artifacts which include:

Test Plan: A check specification is referred to as a test plan. A check plan is documented so that it may be used to affirm and make certain that a product or machine meets its design specification.

Traceability matrix: This is a desk that correlates or designs documents to test files. This verifies that the take a look at outcomes are accurate and is likewise used to change assessments whilst the supply files is changed.

Test Case: Test cases and techniques are used to check the functionality of person components that are integrated to offer the consequent product. These test cases are developed with the goal of judging the software for its functionality or function.

Test Data: When more than one units of values or information are used to check the identical capability of a particular feature within the take a look at the case, the take a look at values and changeable environmental additives are gathered in separate documents and saved as take a look at facts.

Test Script: The take a look at the script is the mixture of a check case, take a look at the system and take a look at records.
Test Suite: Test suite is a collection of test instances.
Software Testing Process
Software trying out system is completed in the following sequence, with a view to locating faults inside the software program machine:

1. Create Test Plan
2. Design Test Case
three. Write Test Case
4. Review Test Case
five. Execute Test Case
6. Examine Test Results
7. Perform Post-mortem Reviews
eight. Budget after Experience
Here is a sample Test Case for you:
Software Test Case for Login Page:

Purpose: The consumer ought to be able to visit the Home page.

Pre-needful:
1. S/w have to be well matched with the Operating device.
2. Login web page has to seem.
Three. User Id and Password text bins must be available with suitable labels.
4. Submit and Cancel buttons with appropriate captions must be to be had.
Test Case 1
Test Case Name: Checking User Interface requirements.
Steps/Action: User perspectives the page to test whether it includes User Id and Password textual content packing containers with suitable labels. Also, the Submit and Cancel buttons need to be to be had with appropriate captions.
Expected Results: Screen displays consumer interface necessities in keeping with the consumer.
Test Case 2
Test Case Name: Text field for User Id ought to: i) Allow only alphanumeric characters a-z, A-Z, ii) Not allow unique characters like ‘$’,’#’,’!’,’~’,’*’,…, iii) Not allow numeric characters like 0-9
Steps/Action: i) User types numbers into the text box.
Ii) User kinds alphanumeric statistics within the textual content field.
Expected Results: i) Error message is displayed for numeric facts. Ii) Text is every day whilst user enters alphanumeric data into the text box.
Test Case 3
Test Case Name: Checking the capability of the Password text box: i) Text container for Password must take delivery of six or extra characters. Ii) Data need to be displayed in the encrypted layout.
Steps/Action: i) User enters most effective two characters inside the password textual content container. Ii) User enters extra than six characters in the password text field. Ii) User checks whether or not the data is displayed within the encrypted layout.
Expected Results: ) Error message is displayed when a person enters much less than six characters inside the password textual content box. The system accepts data while consumer enters more than six characters into the password text box. The system accepts facts in the encrypted format else presentations an blunders message.
Test Case four
Test Case Name: Checking the functionality of ‘SUBMIT’ button.
Steps/Action: i) User tests whether or not ‘SUBMIT’ button is enabled or disabled. Ii) User clicks on the ‘SUBMIT’ button and expects to view the ‘Home web page’ of the utility.
Expected Results: i) System displays ‘SUBMIT’ button as enabled ii) System is redirected to the ‘Homepage’ of the application as quickly as he clicks on the ‘SUBMIT’ button.
Test Case 5
Test Case Name: Checking the capability of ‘CANCEL’ button.
Steps/Action: i) User tests whether ‘CANCEL’ button is enabled or disabled. Ii) User assessments whether the text containers for User Id and Password are reset to blank by means of clicking on the ‘CANCEL’ button.
Expected Results: i) System presentations ‘CANCEL’ button as enabled. Ii) System clears the statistics available in the User Id and Password textual content field while consumer clicks at the ‘CANCEL’ button.

About Us

Get the top general news from the world on MyGeneral.org

Calender

September 2017
MTWTFSS
« Jul  
 123
45678910
11121314151617
18192021222324
252627282930 

Ride With us