Software testing is the process of checking the quality, completeness, correctness and security of the software. In software testing, we will check the software if there are any errors or bugs on it. Although, the software testing is not a easy task for anyone. You can start your career as a software tester if you have a great desire on it, for that you have to know about software testing and its types along with the common software testing techniques or methods. Hence, in this post we will describe the most common techniques along with the examples.
Most Common Software Testing Techniques
Here are the most common software testing techniques with examples for functional testing, GUI and usability testing, boundary value testing, compatibility testing, negative testing and security testing.
1. Functional Testing
In functional testing, we test thoroughly every function with looking for bugs. In order to perform functional testing, you have to check for the following functionalities against the software.
- Check the functionalities of all the menu items or the links.
- Test whether all the buttons included on each window or popup window works or not.
- Check the form submit functionality with filling required fields fully or partially.
- If it is a web application test for all the internal and external links.
- Check the validation of each fields on a form.
- Check for all the options of the form such as Add New, Edit, View, Delete etc.
2. GUI and Usability Testing
In this type of testing, we will scan and check the appearance of the software. Following are the most common techniques for GUI testing.
- Go through all of the pages and observe the appearance of all the elements.
- Check for any broken images exists.
- Observe the buttons, links and pages carefully after any action performed on it.
- Check for any spelling mistakes o
3. Boundary Value Testing
Boundary value testing also called extreme value testing. Here we will check the software whether it throws an error when we supplied extreme values to the variables. Here are most common techniques that can be used to check the software with boundary values.
- Try to submit the form with empty fields.
- Place the value in the input field just above the upper bound.
- Place the value in the input field just below the lower bound.
- Try to place text value in the numeric fields.
- Test with placing any special characters.
- Test with placing leading zero or negative number.
4. Compatibility Testing
Here we will check the compatibility of any application on different environments. Some of the most commonly used compatibility testing techniques are browser compatibility testing, mobile testing and printing compatibility testing. For all of the web applications browser compatibility testing is the most important.
- If your testing application is the web application, you have to test it on different web browsers like Internet Explorer, Firefox, Netscape Navigator, Google Chrome, Safari, Opera browsers etc. You can also test with different mobile browsers using different devices.
- Some functionality of the application may not work on all OS, so test your application on different operating system like different version of Windows, UNIX, MAC, Linux, Solaris etc.
- Test the application on different screen resolution option with changing it.
- If you are testing mobile application, test it with installing on different mobile devices having different software versions.
- You can also check the printing functionality of the application on different devices and browsers.
5. Negative Testing
Negative testing is the type of testing in which the tester is intended to break the functionality of testing software. Following are the most common techniques for negative testing.
- Try to submit the form with entering invalid data such as entering text in the place of numeric field like phone number. The other example may be entering email address on incorrect format, entering negative number on the filed such as item price, entering any value that is not possible for those fields.
- Try to register again using already registered email address or username.
- Request for password clicking on forget password link with providing email or username that was not registered.
- Try to login with providing invalid login details.
- If any field limits the form with entering more than 15 character, try to submit the form with entering more than 15 characters.
6. Security Testing
It is the type of testing where we determine the security of the software product. Here the testing is done to check how the software or application is secure from internal or external attack. Following are the some techniques that can be used to perform security testing.
- Check whether the user can access the account after logged out using browser back button.
- Check whether any one can access web applications internal URL directly into the browser address bar without login.
- Test whether unregistered user can ask for reset password and login with providing new password.
- If there a CAPTCHA used, try to submit form without entering CAPTCHA.
- If you are logging in with one user account, try to go another user account with directly changing the URL.
- Check whether web directories or files are accessible directly with adding or removing some parts on the web address.