Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumSoftware Testing @ OneStopTestingBeginners @ OneStopTesting

Message Icon Topic: Whitebox Testing Interview Questions with Answers!

Post Reply Post New Topic
Author Message
Sangita
Groupie
Groupie
Avatar

Joined: 27Apr2007
Online Status: Offline
Posts: 53
Quote Sangita Replybullet Topic: Whitebox Testing Interview Questions with Answers!
    Posted: 19Jun2007 at 4:35am
Whitebox Testing Interview Questions:

1. What are the tables in testplans and testcases?
   This concept is related to Whitebox?


Test Plan:It is the plan prepared by a QA/Test Manager/Test Lead for scheduling the testing activities for the particular build/version of a project.It Contains almost 15 fields according to IEEE 829-1983 document.

Test Case :It is a document prepared from the Use Case's/SRS/Functional Specifications to test the application/product.It mainly consists of S.No,Steps to perform or Description,Test Data,Expected and Actual.Each step in the steps to perform are executed manually in the application/product,if the result is matching the expected than the test case is pass.If the expected result and actual result are not matching,than verify the test case execution once again,to know that the defect is reproducible again or not.if it is reproducible log the defect.

Test Plan and Test Case can be documented using excel sheet or any test management and defect tracking tool like Test Director.


2. What is merits and demerits of White box and Black box testing?

White box and Black box testing both are dynamic testing techniques.

White box testing: testing based on the paths and internal structure and implementation of the software under test.Here we r checking the code by some coverage processes.

Black box testing:testing based on the behaviur and functionality of the software. this is also called as functional testing..


3. What is cyclomatic complexity?

Cyclomatic complexity is the most widely used member of a class of static software metrics.

Cyclomatic complexity may be considered a broad measure of soundness and confidence for a program. Introduced by Thomas McCabe in 1976, it measures the number of linearly-independent paths through a program module. This measure provides a single ordinal number that can be compared to the complexity of other programs. Cyclomatic complexity is often referred to simply as program complexity, or as McCabe's complexity. It is often used in concert with other software metrics. As one of the more widely-accepted software metrics, it is intended to be independent of language and language format.

Cyclomatic complexity has also been extended to encompass the design and structural complexity of a system.

The cyclomatic complexity of a software module is calculated from a connected graph of the module (that shows the topology of control flow within the program)


4. How do you do path testing?this is related to whitebox testing.

1.Draw the flowgraph corresponding to the procedural design or code

2.Determine the cyclomatic complexity of the flow graph.

V(G) = E-N+2

where, E=No. of edges,N=No. of nodes

3. Determine the basis set of independent paths.(The cyclomatic complexity indicates the no. of paths required.)

4.Prepare test cases tha will force execution of each path.


5. What are the basic stuff you require to begin creating test cases.


the basic stuff required for writing the test cases varies from one organisation to another and from project to project. basically the used case wil be reffered to write the test cases and in case if their is no elaborated srs instead application is itself is ready then we go for the explorating the application and with the help of  the bussiness analyst test cases will be started writting.

6.Which of the following does not come under technical testing?

a) Volume and performance testing
b) Operational testing
c) Deployment testing
d) Integration testing

a) Volume and performance testing


7.who will do white box testing only developers /testers also ?

White Box testing is done by both developers and tester.In case of projects (eg: Railways , aeronautics) there are standards (eg CENELAC)to be which demands testing to be done by a tester in such cases the white box testing is done by tester and not developer. The tester will have a knowledge of the coding language only then is he called a white box testerThe tester does the white box testing using rational tools like Rational Test Real Time (RTRT) .


8. Explain Data Flow Testing? How we will do that? Step by spep procedure?

Data-flow testing looks at the lifecycle of a particular piece of data (i.e. a variable) in an application. By looking for patterns of data usage, risky areas of code can be found and more test cases can be applied.

There are four ways data can be used: defined, used in a predicate, used in a calculation, and killed. Certain patterns, using a piece of data in a calculation after it has been killed, show an anomaly in the code, and therefore the possibility of a bug.


     



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.896 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting