Black-Box vs. White-Box

Black-box testing or behavioral testing is testing based upon the requirements and, just as the name implies, the system is treated as a "black box." That is, the internal workings of the system are unknown. In black-box testing the system is given a stimulus (input) and if the result (output) is what was expected, then the test passes. No consideration is given to how the process was completed.
In white-box testing, an input must still produce the correct result in order to pass, but now we're also concerned with whether or not the process worked correctly. White-box testing is also called structural testing because it's based upon the object's structure.
The creation and execution of tests is best be done by the people who understand the environment associated with that level of test.
Creating automated test scripts can often take more expertise and time than creating manual tests. Some test groups use the strategy of creating all tests manually, and then automating the ones that will be repeated many times. In some organizations, this automation may even be done by an entirely separate group. If you're working in an environment where it takes longer to write an automated script than a manual one, you should determine how much time is saved in the execution of the automated scripts. Then, you can use this estimate to predict how many times each script will have to be executed to make it worthwhile to automate. This rule of thumb will help you decide which scripts to automate. Unless there is very little cost in automating the script (perhaps using capture-replay, but don't forget the learning curve), it's almost always more efficient to execute the test manually if it's intended to be run only once.


Anonymous said...

Its very good explanation for Black-Box vs White-Box Testing. I got even more about both Black-Box & White-Box Testing in Macrotesting www.macrotesting.com its really a good source. Thank you for this post....

SoftwareQATestings.com said...

Popular Posts:
9 Common Myths about Performance Testing
How to write a good test case?
Five common misunderstandings about Software Testing tools
Answers To Common Job Interview Questions
Behavioral Questions In Interviews

Lydia Justin said...

Thanks for sharing, like that Indium software is one of the best Independent software testing company! Established in 1999, Offshore & In-Housing Software testing services Provider Company. Indium has its registered office in California, Georgia and also has multiple offshore delivery centers in India.
Services like Mobile application testing services, Game software testing services, Software Testing services, QA services, Software verification and validation, Offshore Software testing, QA Validation services, Test consulting services, automated software testing, quality assurance software testing, web based application testing .

Manikanta Sandeep said...

The more anyone try to apply WebDriver, the more you'll increase your knowledge within the language.Thanks for that info. Clear and clear to see.

Are you able to plz inform myself just how to deploy selenium collection?We'd be so-on discussing lessons on WebDriver as we protect the fundamentals of Selenium IDE
. For more info on this try this

Jason Borne said...

We are a third party technical support service. Avast Customer Support is here to help you out with the whole procedure to Download Avast Antivirus online, We not only fix your Avast Support related issues but will guide with how to get started with your new Avast product once it gets installed successfully.We at Avast Tech Support provides service to protect your PC from potential online threats and external attacks like viruses, Trojans, malwares, spywares and phishing scams. And Avast Refund. Call on our Avast Phone Number.

Gmail Customer service is a third party technical support service for Gmail users when they face any technical issue or error in their Gmail account. Our Gmail Customer Support team solves issues like forgot Gmail account password, Gmail configuration or Sync issues, recover deleted emails and many more. Toll Free number (800) 986-9271
How you install or reinstall Office 365 or Office 2016 depends on whether your Office product is part of an Office for home or Office for business plan. If you're not sure what you have, see what office com setup products are included in each plan and then follow the steps for your product. The steps below also apply if you're installing a single, stand-alone Office application such as Access 2016 or Visio 2016. Need Help with office setup Enter Product Key? Call 1-800-000-0000 Toll Free
Norton Tech Support is a third party service provider and not in any way associated with Norton or any of its partner companies. We offer support for Norton products and sell subscription based additional warranty on computer and other peripheral devices. Call our Toll Free number 1 855 966 3855
Other Services
Norton Toll Free , Office-Setup , office.com/setup.

nortoncom setups said...

NortonComSetup is an Independent technical support service provider for a large variety of THIRD PARTY PRODUCTS, brands and services. If the product is under warranty, the repair or replacement service may be avaliable free from the Brand or vendor.read more:Norton Setup