Questions tagged [black-box-testing]

"Black box" testing tests a device, program, application, etc., as a whole. Inputs are provided and the results monitored. The internal workings of the tested item are not relevant and may be unknown. "Functional testing" is a type of "Black box testing", but not all "black box" tests have to be "functional".

Black box testing tests a device, program, application, etc., as a whole.

Inputs are provided and the output results monitored. The internal workings of the tested item are not relevant and may be unknown.

Black box testing and Functional testing are sometimes used synonymously, but Functional testing is really a subset. "Non functional" tests, like Stress testing are often done in a "black box" manner.

Compare and contrast to Unit testing and White box testing.

References:

  1. Black-box testing on Wikipedia
114 questions
0
votes
1 answer

Android APK test - blackbox

I have an apk file and I want to develop and run some tests on it (I just have the apk file, I don't have access to source code). I found a tutorial about this here and I found a video here but both are for Eclipse and I can't make this work with…
TFC
  • 151
  • 7
0
votes
1 answer

Can black box testing alone catch all errors that white box testing catches?

Is possible to find an error with white box testing that cannot be found with black box testing? If it is, then why? As I understand it, this is not possible, but I'd like to know for sure.
0
votes
0 answers

Issues receiving results of network operation in list using Robotium

I'm trying to get automated blackbox testing of my Android application working. What is happening is that I run a network operation in an asynctask every x minutes. Once it is finished, the results are put into a list. Without robotium running,…
Dave
  • 3,178
  • 5
  • 28
  • 44
0
votes
2 answers

Robotium - How can we find the exact index of an element in activity

I ask this question in case we are working in Black box testing. I have researched about Robotium for few day. I learn by myself from Internet. I also wrote some simple testcase and run it successfully. But when I search the index element (ex: an…
thienkhoi tran
  • 341
  • 2
  • 9
0
votes
1 answer

Errors caught by WBT, but not BBT and vice versa

Can you think of one type of error that might be found using White-Box testing, and one type using Black-Box testing. i.e. an error that would be found by one and not the other. For WBT there would null else statements, but what would you catch with…
Robben_Ford_Fan_boy
  • 8,494
  • 11
  • 64
  • 85
0
votes
1 answer

Which techniques for unit tests with poor functional requirements and no design specifications?

In my understanding, design specifications help to formulate unit test cases which make use of internal knowledge (white-box techniques), while if we only have functional requirements, the black-box techniques are more suited. What happens if we…
0
votes
2 answers

JUnit blackbox/ whitebox to test Selection Sort?

I am attempting to understand and impliment blackbox / whitebox JUnit techniques on a SelectionSort class, but Im having trouble understanding what direction to take.. One of my failed attempts I have below..I try to test the size of the Array from…
0
votes
1 answer

Running android test project from launcher

I have some requirements where I should run the test project anytime on my device, without connecting it to system and running through eclipse. I added some intent-filter to my AndroidManifest.xml to make the test project visible on the launcher,…
roger_that
  • 9,493
  • 18
  • 66
  • 102
0
votes
2 answers

conditional statement for getting TextView

I have to get a EditText object which is nothing but a search bar in app with text visible as Current Location, however if I've already made a search query with myText, there is no Current Location text visible and search bar shows myText. I am…
roger_that
  • 9,493
  • 18
  • 66
  • 102
0
votes
1 answer

Solving a category partition task in producing tests

I am struggling with a problem for a long time and I just cannot manage to find the right way to solve a category partition problem. I would be very happy and grateful if someone manage to explain how to proceed. OK... here is the…
0
votes
1 answer

Black-box testing for IOS devices

I am looking for some tools that would enable an IOS app to be tested in an automated way without necessarily having access to the code (essentially black box testing). Currently I am exploring something like robotium to do just that in Android,…
Farlan
  • 1,860
  • 2
  • 28
  • 37
0
votes
1 answer

Detect whether a directory is currently opened

For a UI black box test I need to verify a certain UI interaction which results the opening of a certain directory via Process.Start("Some Folder"); The implementation of the code is already unit tested. While performing unit tests I mocked and…
Samuel
  • 6,126
  • 35
  • 70
0
votes
1 answer

How test-cases should look like

Let us say I want to make a boundary-value test case, I prepare and do the testing but how do I write the test-cases in a nice way? Is there any standardized way of doing this?
Eri.
  • 465
  • 2
  • 6
  • 14
0
votes
1 answer

Constraints in MATLAB Genetic Algorithm - Not Just Input Constraints

Good day I'm working with Genetic Algorithms in MATLAB using the Global Optimization Toolbox. I'm quite experienced in this area. My question is as follows: How do I specify constraints that are not just reliant on the input variable. I.e. a…
0
votes
1 answer

Black box testing in java null value tests

If I had the following code public static int count(List list, T elem) { int count = 0; // the result for (int i=0; i < list.size(); i++) { if (list.get(i).equals(elem)) count++; } return count; } Lets say I need to run a black…
Jim
  • 482
  • 1
  • 5
  • 20