Professional Documents
Culture Documents
1- Loop testing: Loop Testing is defined as a software testing type, that completely focuses on the
validity of the loop constructs
2-Validation: It is a dynamic mechanism of testing and validating the actual product. It can find bugs
that the verification process cannot catch
3- Verification: The verifying process includes checking documents, design, code, and program. It
finds bugs early in the development cycle
4-Traceability matrix: It is a high-level document to map and trace user requirements with test cases
to ensure that for each and every requirement adequate level of testing is being achieved
5- Boundary value testing: Boundary value testing is focused on the values at boundaries. This
technique determines whether a certain range of values are acceptable by the system or not. It is
very useful in reducing the number of test cases. It is most suitable for the systems where an input is
within certain ranges.
6- Cause-effect graph: Cause Effect Graphing based technique is a technique in which a graph is used
to represent the situations of combinations of input conditions.
8- Grey box testing: is a software testing technique which is a combination of Black Box Testing
technique and White Box Testing technique
9- boundary value analysis: The basic idea in normal boundary value testing So these extreme ends
like Start- End, Lower- Upper, Maximum-Minimum, Just Inside-Just Outside values are called
boundary values and the testing is called "boundary testing".
10- Gray box testing process: 1-Identify inputs -2- Identify the outputs -3- Identify the major paths -
4- Identify Subfunctions -5- Develop inputs for Subfunctions -6- Develop outputs for Subfunctions -7-
Execute test case for Subfunctions -8- Verify the correct result for Subfunctions-9- Repeat steps 4 &
8 for other Subfunctions -10- Repeat steps 7 & 8 for other Subfunctions
4MARKS
1- types of loop test and why do loop testing?
Types of loop Test:
a. Simple loop
b. Nested loop
c. Concatenated loop
d. Unstructured loop
Loop Testing is done for the following reasons:
a. Testing can fix the loop repetition issues
b. Loops testing can reveal performance/capacity bottlenecks
c. By testing loops, the uninitialized variables in the loop can be determined
d. It helps to identify loops initialization problems
2- Reasons for Operational risks
These risks occur due to failed system, external risks due to events and lack of process
implementation. Causes of Operational risks: Priority conflicts are not resolved properly.
Responsibilities have not been resolved properly.
6MARKS
1- explain about resource planning and its types
******//////
- The basic idea in normal boundary value testing So these extreme ends like Start-
End, Lower- Upper, Maximum-Minimum, Just Inside-Just Outside values are called
boundary values and the testing is called "boundary testing".
- to select input variable values at their:
• Minimum
• Just above the minimum
• A nominal value
• Just below the maximum
• Maximum
-
6- List out the methods to calculate the test metric
- Process Metrics: It can be used to improve the process efficiency of the SDLC
(Software Development Life Cycle)
- Product Metrics: It deals with the quality of the software product
- Project Metrics: It can be used to measure the efficiency of a project team or any
testing tools being used by the team members
- Manual test metrics are classified into two classes
1- Base Metrics
2- Calculated Metrics
- Base metrics is the raw data collected by Test Analyst during the test case
development and execution (# of test cases executed, # of test cases). While
calculated metrics are derived from the data collected in base metrics.
- Calculated metrics is usually followed by the test manager for test reporting purpose
(% Complete, % Test Coverage)
7- Statement coverage with example
Statement Coverage, as the name itself suggests, it is the method of validating whether
each and every line of the code is executed at least once.
Statement Coverage is a white box testing technique in which all the executable
statements in the source code are executed at least once.
It is used for calculation of the number of statements in source code which have
been executed. The main purpose of Statement Coverage is to cover all the possible
paths, lines and statements in source code.
Statement coverage is used to derive scenario based upon the structure of the code
under test.
For Statement Coverage – we would only need one test case to check all the lines of
the code.
That means:
If I consider TestCase_01 to be (A=40 and B=70), then all the lines of code will be
executed
Number of executed statements = 6
Total number of statements = 7
But overall if you see, all the statements are being covered by 2nd scenarios
considered. So, we can conclude that overall statement coverage is 100%
Example:
- For the above expression, we have 4 possible combinations
TT
FF
TF
FT
- Consider the following input
X=3
(x<y) TRUE
Y=4
Condition Coverage is
¼ = 25%
A=3
(a>b) FALSE
B=4
8MARKS
1- What is cookie? cookie testing?
A cookie:
is small information stored in a text file on the user’s hard drive by a web server.
This information is later used by the web browser to retrieve information from that
machine.
Cookies are nothing but the user’s identity and are used to track where the user navigated
throughout the website pages
Software Testing type that checks Cookie created in your web browser.
A cookie is a small piece of information that is stored in a text file on user's (client) hard
drive by the web server. This piece of information is then sent back to the server each time
the browser requests a page from the server.
Cookie contains personalized user data or information that is used to communicate between
different web pages.
The purpose of a cookie is to make rapid interaction between users and websites
to do Cookies Testing:
- Disabling cookies: Disable all cookies and attempt to use the site's major functions
- Corrupting cookies: Manually edit the cookie in notepad and change the parameters
with some random values
- Cookie’s encryption: Sensitive information like passwords and usernames should be
encrypted before it is sent to our computer
- Cookie testing with multiple browsers: Check your website page is writing the
cookies properly on a different browser as expected
- Checking the deletion from your web application page
- Selectively rejecting cookies: Delete all the cookies for the websites and see how the
website reacts to it
- Access to cookies: Cookies written by one website should not be accessible by others
- No overuse of cookies: If the application under test is a public website, there should
not be overuse of cookies
- Testing with the different setting: Testing should be done properly to check that
website is working well with different cookie setting
- Categorize cookies separately: Cookies should not be kept in the same category of
the viruses, spam or spyware
3- What are the roles and responsibilities of the software testing team? Explain it briefly!
QA Leader:
- Acts as a point of contact for inter and intra departmental interaction
- Represents the software testing team as well as enables customer relationship
- Deciding the test budget and schedule
- Identifying the testing activities for other team members like testers or test
engineers
- Planning the entire testing process
- Checking the availability of the resources to execute testing activities
- Identifying if the process of testing is going in sync with the software development
- Preparing the status report of testing activities
- Sharing updates on testing with the project manager
- Planning pre and post-test meetings
Test Lead:
- The Major Role and Responsibilities of a Test Lead include the following:
- Technical expertise related to the test program and approach.
- Provides support for customer interface, staff planning, and supervision, as well as
progress status reporting.
- Validating the quality of the testing requirements such as testability, test design, and
script, test automation, etc.
- Staying updated about the latest test approaches and tools
- Assisting the software testing team to be aware of the latest trends in the world of
software testing.
- Arranging walk-through for test design and procedure.
- Implementing the test process.
- Ensuring that test-product documentation is complete
Test Engineer:
- The role of a test engineer is to determine the best way to create a process that can
enable one to test a particular product in the best possible manner.
- Test engineers can have different expertise based on which they are assigned a role
in a company.
a- Usability Test Engineer
b- Manual Test Engineer
c- Automated Test Engineer
d- Network Test Engineer
e- Test Library and Configuration Specialist
f- Tester