Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Stubs and drivers we use in integration testing mostly but
under what kind of testing approch it comes means Black box
White box grey box ? Please help to get answer for it

Answer Posted / mayank juyal

I am not sure whether you can directly equate Stubs and
Drivers with a Black box or White box or Gray box testing.

But according to me Stubs and Drivers are concepts which
can be part of both of the testing approaches.

As we know that:
Stub is dummy Procedure (Function/Component), which we use
as a replacement of the actual Procedure, when the actual
procedure is not fully developed while testing.

And

Driver is a main Program/Skeleton, whose purpose is to call
a Procedure/Function/Component that is being tested.
Now both of them can be used in Black Box or White Box
testing.

Example:
Black Box:
You are testing usability of a website. There is a web
page, on which clicking ‘Submit’ button navigates to next
web page.
Here in the current web page you have functionality for
inputting a ‘Unique Email ID ‘by clicking ‘Generate’
button, which is a mandatory field and only after
generating it, you will be able to click Submit Button.
Now, developers have not yet written the code for
generating Unique Email ID, so they have created a Stub,
for same functionality which puts a hard coded Email ID for
the same field, when Generate Button is clicked.
So if you take above example you have been using a Stub in
your Back Box testing approach while doing a usability
testing.

Alternatively –

WhiteBox:
If you are a developer/tester, who debug code or do unit
testing, for the same example mentioned above – Here sub
will be function/lines of code written to create that stub.

Regards,
Mayank Juyal

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What r all the security problems u r facing & the measures taken to solve.

2380


Hi, Anybody knows about Hexaware company..

2101


When the GUI Testing will be held on the V model ?

2207


What makes a good software qa engineer?

1152


When should you opt for manual testing over automation testing?

1227


How do you go about testing a project?

2019


what is mean by Performance Related Testing in data base?

2178


what is test scenario and test condition?

2041


If date field is a text field write test cases to validate it?

2473


I want to know about satyam manual testing questions

1841


Why do we need different environments and different data? What is the other name for environment? Justify your explanation ? real time experts pls xplain?

2843


How many bugs occured will be considerd appropriate over 1000 steps when inspecting software? Describle an approriate Bug value.

2117


Our software designers use UML for modeling applications. Based on their use cases, we would like to plan a test strategy. Do you agree with this approach or would this mean more effort for the testers.

2156


I have cleared written test and one Technical round in one company? now i have to face an Client Round through telephony? Any body have faced client round, how will it be , wil they ask technical or is it only formality round? im nervous, plz let me know wat all they may ask? i have this round on monday?

2935


whta is compile module?

2150