Friday, 30 November 2012

Diffrence between Black Box , white box and grey box testing



White Box Testing Vs. Black Box Testing
    >  Black box testing is easy to use, as the tester does not have to be bothered about the internal workings of the software. The test cases have to be written around the application, exactly the way the end user would use the application.
    > However, with white box testing, the tester has to look inside the application and design the test cases.
    > Since the tester is only concerned about the interface, the task of designing test cases in black box testing does not take very long, as the internal paths do not have to be identified as is the case with white box testing. The task of testing is simplified, as the focus of attention is only the valid and invalid inputs and the outputs received.
    > However, in white box testing digging into the application helps in thorough testing of the application, which is not possible with black box.

 The other difference between white box and black box testing is that :
> black box testing a script is used to test the application. When the interface changes, the valid and invalid input and the output also changes, due to which it becomes very difficult to maintain a script.
> However, with white box testing, the objects to be tested are identified programmatically, which proves to be useful in changing interface scenarios

Gray box testing

When we talk about gray box testing, we're talking about testing a system while having at least some knowledge of the internals of a system. This knowledge is usually constrained to detailed design documents and architecture diagrams. Example : Data Encryption of credit card  no.
Gray box testing allows security analysts to run automated and manual penetration tests against a target application. And it allows those analysts to focus and prioritize their efforts based on superior knowledge of the target system. This increased knowledge can result in more significant vulnerabilities being identified with a significantly lower degree of effort and can be a sensible way for analysts to better approximate certain advantages attackers have versus security professionals when assessing applications.

7 comments:


  1. Testing an application is become essential for any product to get an effective result. Your post helps you to gain more info on Testing domain
    Software training institutes in Chennai | Software testing training institutes in Chennai

    ReplyDelete
  2. LoadRunner is the best Performance testing tool to ensure the maximum stress of the system. QTP also a plays a vital role in functional testing, these both simulation is the major testing tool in the software industry.
    Regards:
    Loadrunner course in Chennai | Qtp training institutes in chennai

    ReplyDelete
  3. contribution from other ones on this subject while our own child is truly discovering a great deal. Have fun with the remaining portion of the year.
    safety course in chennai

    ReplyDelete
  4. Thanks for giving great kind of information. So useful and practical for me. Thanks for your excellent blog, nice work keep it up thanks for sharing the knowledge.
    AWS Training in Chennai | AWS Training Institute in Chennai

    ReplyDelete
  5. This is very great thinks. It was very comprehensive post and powerful concept. Thanks for your sharing with us. Keep it up..
    Oracle Training in Chennai | Oracle Training Institutes in Chennai

    ReplyDelete
  6. Much obliged for composing such a decent article, I faltered onto your blog and read a couple of post. I like your style of composing...
    open source risk

    ReplyDelete