wt is grey box testing

Answer Posted / saurabh

Grey box testing is the combination of black box and white
box testing. Intention of this testing is to find out
defects related to bad design or bad implementation of the
system.
In gray box testing, test engineer is equipped with the
knowledge of system and designs test cases or test data
based on system knowledge.
For example, consider a hypothetical case wherein you have
to test a web application. Functionality of this web
application is very simple, you just need to enter your
personal details like email and field of interest on the
web form and submit this form. Server will get this
details, and based on the field of interest pick some
articles and mail it to the given email. Email validation
is happening at the client side using Java Scripts.

In this case, in the absence of implementation detail, you
might test web form with valid/invalid mail IDs and
different field of interests to make sure that
functionality is intact.

But, if you know the implementation detail, you know that
system is making following assumptions
• Server will never get invalid mail ID
• Server will never send mail to invalid ID
• Server will never receive failure notification for
this mail.

So as part of gray box testing, in the above example you
will have a test case on clients where Java Scripts are
disabled. It could happen due to any reason and if it
happens, validation can not happen at the client site. In
this case, assumptions made by the system are violated and
• Server will get invalid mail ID
• Server will send mail to invalid mail ID
• Server will receive failure notification
Hope you understood the concept of gray box testing and how
it can be used to create different test cases or data
points based on the implementation details of the system.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you deal with environments that are hostile to quality change efforts?

3669


Where I can get ITB/ISTQB sample question paper?

2613


Tell me in which of the software testing phase is qa involved & qc not involved?

618


Explain the types of documents in software quality assurance?

540


How to design test cases?

605






What is branch testing and what is boundary testing?

841


Please, list many things You’ll do (effort) as a SQA Tester, in this Company software project from the idea making of the specification, till that software released!

1447


iq test

1373


What is extreme programming and what is it got to do with testing?

577


What the first thing You’ll do as a SQA Tester if I hired You?

1628


What are verification and validation and difference between these two?

614


What actually a SQA Tester do in His/ Her first (entry level) Job?

1698


How the build and release differ from one another, write down the difference between build and release?

570


Automation testing regarding with qtp, explain the process of testiing the application with qtp????

1843


What are the tables in testplans and testcases?

587