Skip to main content

HOW TO PERFORM WHITE BOX TESTING


  In our previous posts, we discussed white box testing, black box testing and also did a comparison between them on the basis of some key terms. As far as today’s blog is concerned  we will discuss the process or you can say steps in which we can perform white box testing. But before discussing such an interesting and important topic let us take a quick look on what is a white box testing.

WHAT IS A WHITE BOX TESTING???

A White box testing is a type of testing in which we can able to test the internal structure or working of any application. It can also be defined as a testing technique,  that examines the program structure and derives test data from program code.

White box testing is also called as structural testing, clear testing or transparent testing, open box testing or logic driven testing.

Let us now discuss the main steps to implement a white box testing
STEP 1
First thing is to understand the functionality of the particular application by understanding its source code. And in order to understand the source code, the tester should fully aware of the programming languages like java, c etc. and also he/she should  be well versed of other tools  and techniques used in software developing.

STEP2
           Design test cases as per requirements and execute them.

The general process of white box testing includes 3 key points that is:

1. Input  (Requirements)
In this phase we actually need some sorts of the requirement in order to accomplish our tasks such as Functional specification, Proper source code should be there and also, the design of the required documents should be in a detailed manner.

2. Processing unit (Analysing and internal structure)
In processing, we simply need to design the test cases as per the requirement of project or client and execute them

3. Output (Final results)
In Output phase, we have to extract the final results of the whole task.

It is actually the basic working process of white box testing which can really help a novel tester to perform white box testing easily and efficiently. Let us take a look on the below diagram regarding this basic working process of white box testing.



The term coverage has also its own importance in white box testing which really need to be discussed if you want to learn more and more about structural testing. But we will update you with that topic in our next blog.
Don’t forget to go through it. Till then study this and keep visiting our website http://www.precisetestingsolution.com/



Comments

Popular posts from this blog

Why Driven Testing Important for every Software Tester

Context driven testing, Tester have to set their own path to complete their testing objectives, Test product, test documentation and test deliverable. The meaning of context-driven testing is project capture application of skill and opinion. Tester start testing with context driven testing it is very easy to understand and test application, therefore testing is a human activity that involves a great deal of skill to do well. The context-driven software testing methodological analysis indicates for continuous and creative valuation of testing opportunities. A tester always wants to do testing with context driven testing. It’s a very good practice to hands of explore and able to be proud of that work.   Why we need context driven testing- Context driven methodology like as agile process. Agile methodology generally depends on all-inclusive of unit tests. But in context driven testing, tester have to knowledge on unit testing as well testers will change, In context driven te...

Want to know about Mobile Application Testing? Came to right place

What is Mobile Application Testing ? Mobile Application Testing is a phenomenon of testing functionality, usability and consistency of application software designed for mobiles. It is done in two ways: Automated and Manually. When you buy a new mobile, various applications came pre-installed and some you install as per your need from mobile software distribution platforms such as Google Play, Nokia Store etc. In the recent years, mobile devices had shown a rapid growth rate .  Factors that give an open challenge to Mobile application Testing : 1. Mobile devices models : Different models have different hardware configurations, input methods (some are QWERTY, some are touch while others are normal). 2. Several different operating systems (OS) : Market  is full of availability of different operating  systems  (   Android , IOS, BREW, BREWMP, Symbian,   Windows Phone , and   BlackBerry   (RIM)).Each operating system is unique in ...

SELENIUM TESTING: SELENIUM IDE (& its installation)

In our previous post of selenium testing, we discussed selenium testing briefly. But it was just an introduction about that. And the selenium is much wider in its own. In today’s article, we are going to discuss the selenium, IDE Tool. What is Selenium IDE?? In selenium testing, selenium IDE (Selenium Integrated Development Environment) is a simple tool present in selenium suite Selenium IDE has an inbuilt record and playback functionality that allow us to create tests very quickly, easily and efficiently. Selenium IDE is very easy to install and use. As selenium IDE is a Firefox plugin, it aims to support Firefox browser only. Therefore, we can execute our created test scripts on Firefox only. Selenium IDE supports auto complete mode which allows the user to: * Enter commands more quickly *Restricts the user to enter invalid commands. The most impressive thing about the Selenium IDE in selenium testing that the user need not to have any prior knowledge of pr...