WorksheetsSoftware Testing - Automation
Total questions: 103
Worksheet time: 53mins
These are the common test automation frameworks. Select those that apply.
Behaviour Driven Framework
Keyword Driven Framework
Data Driven Framework
Test Driven Development
Record and play is considered "fully automated". True or False.
True
False
Test Automation can be done by these roles. Select all that applies
Automation Engineer
Software Development Engineer in Test (SDET)
Quality Control
Quality Engineer
Which should not be automated? Select all that applies.
Tests that haven't passed manual test at least once
Features with unstable requirements
Usability tests
Computations
Which of the Test Automation Process identifies which tests to automate?
Tool Selection
Automation Planning
Automation Design
Scope Definition
Which of the Test Automation Process identifies which Tool will support their needs, skills, and budget?
Tool Selection
Automation Planning
Automation Design
Scope Definition
Which of the Test Automation Process identifies the automation approach and framework
Tool Selection
Automation Planning
Automation Design
Scope Definition
Which of the Test Automation Process wherein the members code their test scripts?
Test Reporting
Test Script Development
Test Execution
Automation Planning
Which of the Test Automation Process wherein tool, test management tool integration, test automation framework setup, tool-specific planning happen?
Test Reporting
Test Script Development
Test Execution
Automation Planning
Which of the Test Automation Process wherein test scripts are ran?
Test Reporting
Test Script Development
Test Execution
Automation Planning
Which of the Test Automation Process wherein the result of the test script execution are reported
Test Reporting
Test Script Development
Test Execution
Automation Planning
Which of the Test Automation Process wherein the test scripts are updated as per requirements
Test Reporting
Test Script Development
Test Maintenance
Automation Planning
This is the scaffolding that provides an execution environment for the automation test scripts
Test Automation
Test Automation Framework
Behaviour Driven Framework
Test Pyramid
Which of these is/are not common misconception/s of Test Automation?
It takes time
Does cover everything
It's one-size fits all
Automation is just a strategy
Define effort and schedule.
A developer has wrongly typed a variable name. It comes under which category
error
fault
failure
quality
Which of the following is not a part of the Test Implementation and Execution Phase
Creating test suites from the test cases
Executing test cases either manually or by using test execution tools
Comparing actual results
Designing the Tests
A city field in software accepts 3 to 25 alpha characters only. Using BVA technique what will be the possible number of combinations?
3, 4, 24, 25
2, 3, 25, 26
2, 3, 24, 25
3, 5, 25, 26
How many test case are required to achieve 100% statement coverage?
Switch PC on
Start "outlook"
IF outlook appears THEN
Send an email
Close outlook
1
2
3
4
How many test cases are required for 100% path coverage?
Read P
Read Q
IF P+Q > 100 THEN
Print “Large”
ENDIF
If P > 50 THEN
Print “P Large”
ENDIF
1
2
3
4
Test Conditions are derived from:
Specifications
Test Cases
Test Data
Test Design
Which of the following is not the integration strategy?
Design based
Big-bang
Bottom-up
Top-down
Functional system testing is:
testing that the system functions with other systems
testing that the components that comprise the system function together
testing the end to end functionality of the system as a whole
testing the system performs functions within specified response times
Which of the following activities differentiate a walkthrough from a formal review?
A walkthrough does not follow a defined process
For a walkthrough individual preparation by the reviewers is optional
A walkthrough requires meeting
A walkthrough finds the causes of failures, while formal review finds the failures
Which of the following is true
Testing is the same as quality assurance
Testing is a part of quality assurance
Testing is not a part of quality assurance
Testing is same as debugging
Software testing activities should start
as soon as the code is written
during the design stage
when the requirements have been formally documented
as soon as possible in the development life cycle
Which describes Test Estimation. Check all that applies.
Done by the test manager
Leads to better planning, execution and monitoring
Done just right before testing
Time needed to complete testing activities
What do we estimate? Select all that we estimate.
Resources
Cost
3rd-Party's funds
Skills
Time
Test Estimation allows us to answer the following
How long will this testing take?
How much will it cost?
Do we have enough resources or time?
Who's going to pay for it?
This Test Estimation Technique estimates method based on statistical data
Work Breakdown Structure
Work-phase based estimation
3-Point Software Testing Estimation
Functional Point / Testing Point Analysis
This Test Estimation Technique breaks down test project into small pieces
Work Breakdown Structure
Work-phase based estimation
3-Point Software Testing Estimation
Functional Point / Testing Point Analysis
This Test Estimation Technique measures size and give weightage to each function point
Work Breakdown Structure
Work-phase based estimation
3-Point Software Testing Estimation
Functional Point / Testing Point Analysis
This test estimation technique categories functional points based on its complexity
3-Point Software Testing Estimation
Work Breakdown Structure
Work-phase based estimation
Functional Point / Testing Point Analysis
This is the Total modules of the application
Estimate defined per Function Point
Total Effort
Total Function Points
Time Estimate
This is the effort to completely test all the functions of the application
Estimate defined per Function Point
Total Effort
Total Function Points
Time Estimate
This is the test management phase wherein it allows Tester to evaluate testing efforts and communicates test results to other parties
Test Planning
Test Authoring
Test Execution
Test Tracking
Test Reporting
This is the test management phase answers how to test
Test Planning
Test Authoring
Test Execution
Test Tracking
Test Reporting
This is the test management phase sets the overall direction and purpose of the test phase
Test Planning
Test Authoring
Test Execution
Test Tracking
Test Reporting
This is the test management phase is when Test cases are executed in sets called Test Suite
Test Planning
Test Authoring
Test Execution
Test Tracking
Test Reporting
In the Gantt chart, besides listing all the software testing activities, what else should be included?
Code
Task owner for assigned activity
Documentation
Testing tool
Why SDLC is important for software tester in doing testing work?
to show tester knowledge on software development
to challenge software developer on their chosen SDLC model
easy for tester to plan their schedule, and follow up with the developer work progress
to check if software developer is doing their work correctly
When do we say that a test case has passed?
When the test case executes without any error.
When the test case executes and an output is produced.
When the test case executes and output produced matches the expected output.
When the test case executes and output produced can be traced to a requirement.
The order in which test levels are performed is:
Unit, Integration, Acceptance, System
Unit, System, Integration, Acceptance
Unit, Integration, System, Acceptance
Beta Testing is done at:
Developer’s end
User’s end
User’s & Developer’s end
Testing need to performed at each level of Software development life cycle
True
False
What are the various Testing Levels?
Unit Testing
System Testing
Integration Testing
All of the mentioned
Unit testing is done by
Users
Developers
Customers
None of the mentioned
A Type of Functional Testing, which investigates the functions relating to the detection of threats, such as viruses from malicious outsiders.
Security Testing
Recovery Testing
Performance Testing
Functionality Testing
White-Box Testing is also known as ________ .
Structural testing
Code-Based Testing
Clear box testing
All of the above
Which granularity level of testing checks the behavior of module cooperation?
Unit Testing
Integration Testing
System testing
Acceptance testing
Which of the following is true
Testing is the same as quality assurance
Testing is a part of quality assurance
Testing is not a part of quality assurance
Testing is same as debugging
Why is testing necessary?
Because testing is good method to make there are not defects in the software
Because verification and validation are not enough to get to know the quality of the software
Because testing measures the quality of the software system and helps to increase the quality
Because testing finds more defects than reviews and inspections
Which set of metrics can be used for monitoring of the test execution?
Number of detected defects, testing cost
Number of residual defects in the test object
Percentage of completed tasks in the preparation of test environment; test cases prepared
Number of test cases run / not run; test cases passed / failed
What makes an inspection different from other review types?
It is led by a trained leader, uses formal entry and exit criteria and checklists
It is led by the author of the document to be inspected
It can only be used for reviewing design and code
It is led by the author, uses checklists, and collects data for improvement
Why can be tester dependent on configuration management?
Because configuration management assures that we know the exact version of the testware and the test object
Because test execution is not allowed to proceed without the consent of the change control board
Because changes in the test object are always subject to configuration management
Because configuration management assures the right configuration of the test tools
Maintenance testing is:
Testing management
Synonym of testing the quality of service
Triggered by modifications, migration or retirement of existing software
Testing the level of maintenance by the vendor
Why is it necessary to define a Test Strategy?
As there are many different ways to test software, thought must be given to decide what will be the most effective way to test the project on hand
Starting testing without prior planning leads to chaotic and inefficient test project
A strategy is needed to inform the project management how the test team will schedule the test-cycles
Software failure may cause loss of money, time, business reputation, and in extreme cases injury and death. It is therefore critical to have a proper test strategy in place
If a problem occurs in a system 6 months after it completely goes live, what will be the approach for fixing that problem on very urgent basis?
Do not involve testers
Just go for retest
Always go for full regression test
Go for retest and then use risk assessment to decide reasonable subset of regression test suit that will be executed
Which things are measured by Software Test Effectiveness?
How many customer requirements are implemented in system?
How well the customer specifications are achieved by the system?
How much effort is put in developing the system?
All of the above
Verifying that whether software components are functioning correctly and identifying the defects in them is objective of which level of testing?
Integration Testing
Acceptance Testing
Unit Testing
System Testing
If a company decides to migrate from Windows XP to Windows 7, which type of testing is done to ensure that whether your software works on new platform?
Interoperability Testing
Portability Testing
Usability Testing
Performance Testing
Which of the following type of testing is done without Planning and Documentation?
Unit Testing
Retesting
Ad hoc Testing
Regression Testing
What is the example of Load Testing?
Downloading large contents from the internet.
Running multiple applications on a computer or server simultaneously.
Printing large document using printer in a queue.
Generating a large amount of traffic on particalr page.
All the above
Which of the followings is/are characteristic/s of Stress Testing?
It is a type of Non Functional Testing
It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results.
It is used to determine the stability of a given system.
It put greatemphasis on robustness, availability, and error handling under a heavy load, rather than on what would be considered correct behavior under normal circumstances.
All of these
Configuration Testing deals with hardware while compatibility testing deals with Software.
True
False
This Testing Technique examines the basic program structure and it derives the test data from the program logic; Ensuring that all statements and conditions executed at least once. It is called as
Block box Testing
White box Testing
Grey box Testing
None of these
Defects generally fall into the following categories?
WRONG
MISSING
EXTRA
All of these
TQM represents
Tool Quality Management
Test Quality Manager
Total Quality Management
Total Quality Manager
A Plan to overcome the risk called as
Migration Plan
Master plan
Maintenance plan
Mitigation Plan
Quality Assurance methods are usually considered
Detective
Corrective
Preventive
Proactive
If an expected result is not specified then:
We cannot run the test
It may be difficult to repeat the test
It may be difficult to determine if the test has passed or failed
We cannot automate the user inputs
Management and Measurement, It will come under
CMM Level 1
CMM Level 3
CMM Level 4
CMM Level 2
The path segment for which every node is visited atmost once is said to be
DU path
Simple path segment
loop free path
defination clear path segment
Every defination of every variables is covered in
AD Stratergy
APU Stratergy
AU Stratergy
ADUP Stratergy
What is an advantage of using independent testers?
Independent test teams are responsible for ensuring timely completion of the test execution period
Independent testers are often more effective at finding defects
You don't need people with technical or business domain knowledge on an independent test team
Independent testing relieves developers of any responsibility for quality
What is the purpose of exit criteria?
To know when a specific test has finished its execution
To ensure that the test case specification is complete
To set the criteria used in generating test inputs
To determine when to stop testing
Which of the following would NOT normally form part of a test plan?
Features to be tested
Quality plans
Risks
Schedules and deadlines
Test environment properties
Enough testing has been performed when:
Time runs out
The required level of confidence has been achieved
No more faults are found
The users won’t find any serious faults
We split testing into distinct stages primarily because:
Each test stage has a different purpose
It is easier to manage testing in stages
We can run different tests in different environments
The more stages we have, the better the testing
In prioritising what to test, the most important objective is to:
Find as many faults as possible
Test high risk areas
Obtain good test coverage
Test whatever is easiest to test
IEEE 829 test plan documentation standard contains all of the following except
Test Items
Test deliverables
Test tasks
Test specifications
Which of the following belongs in the incident description section of an IEEE 829 standard-compliant incident report?
The item pass/fail criteria
The expected results and the actual results of a test
All project risks
The degree to which a system or component accomplishes its designated functions within given constraints regarding processing time and throughput rate
What is an incident?
A flaw in a component or system that can cause the component or system to fail to perform its required function
Any event occurring that requires investigation
Deviation of the component or system from its expected delivery, service or result
The physical or functional manifestation of a failure Learning objective: IEEE 829 standard
There are eight document types in the IEEE 829 standard except:
Software Design Specification
Test Case Specification
Test Log
Test Incident Report
Test Summary Report
Whether reviews or inspections are part of testing and why?
Yes, because both help in detecting the faults and improve quality.
Yes, because testing includes all non-constructive activities.
No, because they are normally applied before testing.
No, because they apply to development documentation.
Identify the roles of tester
tester has to design test cases
tester has to correct the errors present
tester needs to design test procedures
tester needs to create new versions of software
A test harness is a
A high level document describing the principles, approach and major objectives of the organization regarding testing
A distance set of test activities collected into a manageable phase of a project
A test environment comprised of stubs and drives needed to conduct a test
A set of several test cases for a component or system under test
Defect Repository supports which of the following TMM maturity goals
Controlling and monitoring of tests
fault model generation
test planning
defect avoidance
Read P
Read Q
If p+q > 100
then Print “Large”
End if
If p > 50
then Print “pLarge”
End if
What is the minimum Tests Required for Statement Coverage and Branch Coverage?
Statement coverage is 2, Branch Coverage is 2
Statement coverage is 3 and branch coverage is 2
Statement coverage is 1 and branch coverage is 2
Statement Coverage is 4 and Branch coverage is 2
Consider the following statements:
i. 100% statement coverage guarantees 100% branch coverage.
ii. 100% branch coverage guarantees 100% statement coverage.
iii. 100% branch coverage guarantees 100% decision coverage.
iv. 100% decision coverage guarantees 100% branch coverage.
v. 100% statement coverage guarantees 100% decision coverage.
ii is True; i, iii, iv & v are False
i & v are True; ii, iii & iv are False
ii & iii are True; i, iv & v are False
ii, iii & iv are True; i & v are False
Error guessing ..
supplements formal test design techniques
can only be used in component, integration and system testing
is only performed in user acceptance testing
is not repeatable and should not be used
Which of the following types of testing would take place towards the END of the development process?
Acceptance Testing
White Box Testing
Integration Testing
Black Box Testing
Which of the following correctly identifies the stages of testing that a developer would carry out?
White Box > Alpha > Black Box > Beta
Black Box > White Box > Alpha > Beta
Alpha > Beta > White Box > Black Box
White Box > Black Box > Alpha > Beta
A software company is producing software for a local city council.
The software calculates the cost of parking at the city council’s car parking based on the following rules
5am – 8am : Parking is free
8am – 5pm : Parking costs £3 per hour or part of an hour
5pm – midnight : Parking is free
Midnight – 5am : No parking
Which of the following WOULD be suitable tests to carry out? [Choose as many as appropriate]
Check Start/Finish time with values of 6AM/8AM
Check Start/Finish times to see if parking is prevented with values of 11AM/3AM
Check to see if £12 is charged for parking between 9AM and 12:15AM
Check to see that a charge of £0 is applied for parking between 8PM and 11PM
Test case development involves
Code writing
Analysis stage
This phase involves creations, verification & re-work of test cases & test scripts, Review & baseline. Test cases & scripts,
Create test data
Non of the above
Outcome of test environment set up is
Database access
ERD design
Environment ready for testing,
Smoke test result
Non of the above
Why is it necessary to check if the source code adheres to industry coding standards?
All programming languages follow only one syntax
Testers are thrown into jail for not following coding standards
It makes the code easier to understand
None of the above
Which of the following is NOT a disadvantage of White Box Testing?
It can be quite complex and expensive
It demands a detailed understanding of programming and implementation
It is more thorough as all code paths are usually covered
It is time-consuming
Which of the following is / are not a characteristic of Regression Testing?
Regression Testing can be performed on each level.
It is done to illustrate that software is not changed intentionally.
It is done to illustrate that new defects are not introduced after adding a new functionality or correcting previous one.
It is best candidate for automation.
Is a strategy in which the lower level modules are tested first.
Bottom-up Integration Testing.
Top-down Integration Testing.
Sandwich Testing.
Is a strategy in which top level modules are tested with lower level modules at the same time lower modules are integrated with top modules and tested as a system.
Bottom-up Integration Testing.
Sandwich Testing.
Top-down Integration Testing.
