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
Explain paradigms for interfacing module?
What are the responsibilities of a qa analyst?
-What do you think about unit testing? -How do you assure quality of the code you release? -How do you release software?
Define the role of qa in software development?
In case you have any doubts regarding your project, how do you approach?
Explain insurance project modules,and what we need to test on which functionality?
Give me example of automate the regression test suite ........Thanks...
hi guys ! tel me the adress of the ordian solutions..?whr it is ..?
What are the different verification techniques you know?
What is Defect Density ? What is the formula? Explain with example
What is breadth testing?
What is context driven testing?
Hai Friends I am working as a Software Test Engineer in Bangalore. I am taking Classes at weekends on Testing Concepts. I will teach will all the real time examples and writing the Test cases, Document Management and also about what are all the duties of a real time Test Engineer at a company. Course Fee is very minimal and only in week ends. For who attended the class any time support through phone and job guidence. Intrested Friends mail me at vinodhanandhan@gmail.com
Explain what is traceability matrix?
Any Automation tool in the market to help quality test team members communicate with each other? While server startup or restart Which Will inform each member .