Introduction to Application Testing
Application Testing is an activity that is performed frequently by almost every software tester in his career. These two words are extremely broad in practical aspects.
However, only the core and most important areas will be discussed here. The purpose of this tutorial is to touch all the primary areas so that the readers will get all the basic briefings in a single place.
In a nutshell, Application testing is a process through which the functionality, usability, and consistency of the entire application is tested.
Table of Contents:
Application Testing: Explaining the Basics of Software Testing
Categories of Applications
Whether it is a small calculator software with only basic arithmetic operations or an online enterprise solution; there are three categories of applications:
For desktop applications, testing should consider UI, business logic, databases, reports, roles and rights, integrity, usability, functionality, performance, security, hardware & software compatibility, and data flow.
For web applications, testers should give sufficient importance to the performance, load, and security of the application.
The other main testing types covered under web application testing are functional testing, cross-browser testing, UAT, Beta testing, regression testing, compatibility testing, smoke testing, exploratory testing, compatibility & Multilanguage support testing, and stress testing.
For mobile applications, the main types of testing that should be done are UI testing, Rule-based testing, regression, and functional and security testing.
So AUT (application under test) is either a desktop software or a website or a mobile app.
Application Testing Methodologies
It is a well-known and well-discussed aspect that there are only 3 universally accepted testing methodologies:
#1) Black Box: In black-box testing, the AUT is validated against its requirements considering the inputs and expected outputs, regardless of how the inputs are transformed into outputs. Testers are least concerned with the internal structure or code that implements the business logic of the application.
There are four primary techniques to design test cases for Black box Testing:
- BVA (Boundary Value Analysis)
- EP (Equivalence Partitioning)
- Decision Tables
- State Transition Tables (and diagrams)
Black box testing is commonly employed for functional, non-functional and regression testing.
#2) White Box: The primary focus of this methodology is to validate how the business logic of the application is implemented by the code/program.
The internal structure of the application is tested here and the techniques available to do so are:
- Code Coverage
- Path Coverage
Both of the above-listed techniques contain several other strategies that may be discussed in some other article. Some techniques are discussed in the ‘Test Case Design Techniques’ topic.
#3) Grey Box: Practically speaking, this is a mixture of the black box and white box.
In this methodology, the tester mainly tests the application with the Black-box approach. However, for some business-critical or vulnerable modules of an application, testing is done through a white box.
Application Testing Tools
There are a lot of Application testing tools available in the market today. This includes both paid and open-source tools. Moreover, some tools are purpose-specific.
For example, UI testing, Functional Testing, DB Testing, Load Testing, Performance, Security Testing, and Link validation testing. However, some tools are strong enough to provide the facility for testing several major aspects of an application.
The most important concept in ‘Application Testing’ is functional testing. Our focus will be on functional testing tools.
Here is a list of some of the most important and fundamental features that are provided by almost all of the ‘Functional Testing’ tools.
- Record and Play
- Parametrize the Values
- Script Editor
- Run (test or script with debug and update modes)
- Report on Run session
Different vendors provide specific features that make their products unique when compared to the other competitor products. However, the five features listed above are the most common ones and can be found in almost all functional testing tools.
Given below is a list of a few widely used Functional Testing tools.
1) HP QTP (Quick Test Professional)
2) Selenium
3) IBM Rational Robot
4) Test Complete
5) Push to Test
6) Telerik
Software Test Plan (STP)
Planning is always required for any activity and the same is applicable for software testing as well. Without a proper plan, there is always a high risk of getting distracted during the testing. If this risk becomes a fact, then the results could be horrible.
5 Main Parts of a Good Test Plan
#1) Scope
- Overview of AUT
- Features (or areas) to be tested.
- Exclusions (features or areas not to be tested) with reason.
- Dependencies (of testing activities on each other, if any).
#2) Objectives: This section describes the goals of testing activity e.g. validation of bug fixes, new features added or revamp of AUT, etc.
#3) Focus: This section describes what aspect of the application will be included in the testing e.g. security, functionality, usability, reliability, performance or efficiency, etc.
#4) Approach: This section describes what testing methodology will be adopted for which areas of AUT. For example, in the STP of an ERP application; the approach section may contain the information that black box testing will be the approach for payroll. However, for reports, the approach will be grey box testing.
#5) Schedule: This section describes who will be doing what, where, when, and how on the AUT. The schedule section is a ‘4Ws and 1H’ of the STP. Normally, the schedule is prepared as a simple table, but every organization may have its own customized format according to their needs.
Once the test plan is ready and the application is under development, the testers will design and document the test cases. In the “Application Testing – Methodologies” section above, the TC design techniques are listed.
Application Testing Cycles
Once the AUT is ready for testing, the practical phase of the testing cycle starts in which testers execute the test cases on AUT. Keep in mind that here the testing cycle is discussed regardless of Testing Levels (Unit, Module, Integration, System, and User Acceptance) and Testing Environments (Dev, QA, Client’s Replica, Live).
#1) Smoke Testing: This is the very first testing cycle. The purpose of smoke testing is to verify that there are no crashes in the application and it is suitable for further testing. This step is wide and shallow.
#2) Sanity Testing: This is the second testing cycle. Its purpose is to verify that a specific module is working properly and is suitable for complete testing. This step is narrow and deep.
#3) Functional Testing: A proper and full-fledged testing of the application is performed in this application test cycle. The primary focus of this activity is to verify that the business logic of the application is working as expected.
#4) Regression Testing: This is the final application cycle. Here, the bug fixes and/or updates are verified. Moreover, regression testing also ensures that there is no malfunctioning in the other areas of AUT due to fixes and changes.
Bugs are logged in every testing cycle. There is no distinct borderline between the testing cycles. For example, in Regression, the Functionality is also verified and it may also require smoke, sanity, or their merger first.
We have discussed the above in four different application testing cycles. We also need to understand here that each application test cycle has certain steps involved in it. Generally, any testing cycle has the steps as presented in the image below.
Application Testing – Best Practices
There are hundreds of articles available on the internet about this. Every article suggests a different number of best practices ranging from 7 to 30 (that I have seen so far). However, we only have 5 tips for our readers.
- Plan Properly
- Test Keenly
- Log the bug Clearly
- Do the Regression Test Efficiently
- Improve the above four skills Continuously
Furthermore, you should prioritize the test cases well and cover the main business flows first.
Conclusion
Application Testing is a vast subject and it is the primary activity for almost all software testers.
In this tutorial, we have provided an overview of the most fundamental and necessary areas that fall under application testing.
It involves strategies, phenomena, approaches, tools, technologies, and guidelines. We have addressed the conceptual and practical insight of application testing along with its most prominent areas of concern.
Feel free to share your thoughts on this article in the comments section below.
Software testing methodologies are
1)Agile
2)spiral
3)waterfall
4)scrum
5)V model
Do let me know if I misunderstood
Clearly focused on basics. Nice article.
Client got a very big defect in the production. But the tester is confident that all the test cases what he has written is very aligned to the client requirements. There is no requirement which is missing in the test cases. still he cannot say to the client that the defect came is not in the requirement.
So what should be the action from the tester’s side to the client.
If any body knows the answer of this, please share..
When a developer is not accepting the tester’s defect. Then what should be the action from the tester’s side.
Can any one please let me the proper answer for this?
Very helpful Article for all the Freshers
Thanks a lot guys to have prepared this site. 🙂
Hi All
I m looking for Software Testing institute in Noida or Delhi..
Can anybody help me on this?
Thanx
Pratap
Very useful articles and manuals in this site..
very helful side for all tester
Can anyone tell me which is among the best software testing institutes in Bangalore ? And how about job placements with the same ?
Very Usefull for fresher.
Hi,
Can any body provide some basic idea of any project in brief where smoke and salanity testing is done
Thanks,
Manish
Very helpful site for all Tester
I want to know what is the difference between RAD and prototype model.
What is business functions
Hi All,
I need to write Test Scenarios of an ATM Machine Cache withdrawal program.
Where the Test Cases would be written to test out the multiplication logic of each “Currency note” i.e. 100Rs, 500Rs, 1000Rs when a user is withdrawing a particular amount from the ATM, and Machine should give the money based on the Currency available in the ATM.
e.g. If an ATM is having an amount “N” in the machine in multiplication of 100Rs*X, 500*Y and 1000*Z and a User needs to withdraw an amount “n”.
What would be the logic of calculation made by ATM program.
Positive and Negative scenarios will be appreciated.
Thanks all for your help.
@ Van
AUT means Application Under Test, the application for which you want to write and execute test cases.
Highly rich and precise resource for beginners
I have 15+ years in the QA TESTer field in Silicon Valley, CA, and should tell you all, that the written articles here describe all meanings of testing so clear and precise! These articles can be used to create a Test Plan for any kind with the editing, of course, to make it shorter!
Thanks a lot for the article
right
really, need to sit back and take a coffee to read all the topics linked herewith.. 🙂
very usefull…… site
the resources linked in the article along with the app testing topic .. that’s loads of information.
usefull.
hi I am diploma holder looking for manual testing job will i get it?
Can you please tell me some thing effective in qa testing.
if so please send it to my mail i am a mca professional
prashantgupta_241@rediffmail.com
i am working as a tester but every one saying that development has a huge scope some please answer me
A very good combination of material used.
Very helpful for beginners.
good, systematic and highly informative
@Van Nguyen: (AUT = Application Under Testing)
A good, precised and well focused article, must read for all beginners. All the major and mostly asked basic points of Software Testing, covered by the author in a good precise manner. Best part is that the article is quite absorbing and not like the typical boring stuff available today.
Good work Author, keep it up!
Many thanks for the information on all concepts of software testing….every article is provided very nice and simple…
is qspiders in bangalore a good institute with good teaching and placement services.. as i have no % in puc.. i have 45% in puc.. where as 65 % in 10th and degree.. can anyone help.. whether having such low % i wil get placed..
can i know the author name!! because we are making an article so i have to include the author name in the references
Good introductory!
Well good,useful documentation for freshers and for professionalist will be a good reference guide.
Regards
manikandan
Nice article cover the basics, just wondering if you could share some web-based bug tracking tools that you’d recommend from your experience?
hi thanks for writing that article.
This is best site of testing…..
Hi all
Can anybody tell me how to test a website in which
“iFrames” plays a very important role.
i mean few things that i must remember while testing
these kind of site ?
plz help me guys
@van
AUT ( application under test)
the application for which you want to write and execute test cases (test object).
Sorry, I still don’t understand AUT. What does it stand for?
grt writing …rEally helps
I found nice automation tools:
for functional testing: IBM RFT
for performance testing: IBM RPT
These are really nice tools…
Back to the basics!!
hi i am a graphics designer in mobile application but i want to know about testing . what i do ? plz help me
hi friends any freshers jobs for testing
pls tell inform me
my mail id :: nageswararao23@gmail.com
nageswararao23@hotmail.com
this is the best article i have ever read..thanx pradeep…really really helpful ..u the best 🙂
Thanks a lot..
I got to know some important concepts on testing
Thanks
nice one, its really helpfull for me
Great article!
thanks very much
very useful content
Good job………….
Thanks so much. Articles on softwaretestinghelp.com are always good and valuable
Thanks a lot for the article….
can i know the author name!! because we making an article so i have to include the author name in the references
it is the very good articles and provided with very good basics knowledge of application testing. thanks
Nice article it will help for beginners…
Nice and brief wrote
When a tester can tell that his testing is completed for the application.
Can any one please let me know the proper answer for this?
very useful article …really helpful
nice one but it can be in detail