questionbankans
questionbankans
questionbankans
Unit 1.
2 Marks Questions
4 Marks Questions
Disadvantages
Very rigid and least flexible.
Not a good for a complex project.
Software is developed during the implementation stage, so no early prototypes of the
software are produced.
If any changes happen in the midway, then the test documents along with the required
documents, has to be updated.
Disadvantages
Very rigid and least flexible.
Not a good for a complex project.
Software is developed during the implementation stage, so no early prototypes of the
software are produced.
If any changes happen in the midway, then the test documents along with the required
documents, has to be updated.
6. Differentiate between Static and Dynamic Testing. (A) [any 4 for four marks/ any 6 for 6
marks]
Static Testing Dynamic Testing
It is performed in the early stage of the It is performed at the later stage of the software
software development. development.
Static testing prevents the defects. Dynamic testing finds and fixes the defects.
Static testing is performed before code Dynamic testing is performed after code
deployment. deployment.
Static Testing involves checklist for Dynamic Testing involves test cases for testing
testing process. process.
It does not include the execution of the It always includes the execution of the
program. program.
The aim of quality assurance is to prevent The aim of quality control is to identify and
defects. improve the defects.
All team members of the project are Generally, the testing team of the project is
involved. involved.
Unit 2
2 Marks Question
4 Marks Question
Test all links in your webpages are working correctly and make sure
there are no broken links. Links to be checked will include –
Outgoing links
Internal links
Anchor Links
Mail To Links
Unit 3
2 Marks Question
4 Marks Question
Unit 4
Low: The Defect is an irritant but repair can be done once the more serious Defect has
been fixed
Medium: During the normal course of the development activities defect should be
resolved. It can wait until a new version is created
High: The defect must be resolved as soon as possible as it affects the system severely
and cannot be used until it is fixed
2. Classify the defects on the basis of Severity. (4 Marks Level A)
Critical: This defect indicates complete shut-down of the process, nothing can proceed
further
Major: It is a highly severe defect and collapses the system. However, certain parts of
the system remain functional
Medium: It causes some undesirable behavior, but the system is still functional
2) Priority : Priority is defined as the order in which a defect should be fixed. Higher
the priority the sooner the defect should be resolved.
A Bug Report in Software Testing is a detailed document about bugs found in the software
application. Bug report contains each detail about bugs like description, date when bug was
found, name of tester who found it, name of developer who fixed it, etc. Bug report helps to
identify similar bugs in future so it can be avoided.
Defect Description – Detailed description of the Defect including information about the
module in which Defect was found.
Version – Version of the application in which defect was found.
Steps – Detailed steps along with screenshots with which the developer can reproduce the
defects.
Reference– where in you Provide reference to the documents like . requirements, design,
architecture or maybe even screenshots of the error to help understand the defect
ii. The GUI of the website does not display correctly on mobile devices.
iii. The website could not remember the user login session.
Assigned - Assigned against a development team to address it but not yet resolved.
Active - The Defect is being addressed by the developer and investigation is under progress. At
this stage there are two possible outcomes; viz - Deferred or Rejected.
Test - The Defect is fixed and ready for testing.
Verified - The Defect that is retested and the test has been verified by QA.
Closed - The final state of the defect that can be closed after the QA retesting or can be closed if
the defect is duplicate or considered as NOT a defect.
Deferred - When a defect cannot be addressed in that particular cycle it is deferred to future
release.
Rejected - A defect can be rejected for any of the 3 reasons; viz - duplicate defect, NOT a
Defect, Non-Reproducible.
Once the critical risks are identified, the financial impact of each risk should be
estimated.
This can be done by assessing the impact, in dollars, if the risk does become a problem combined
with the probability that the risk will become a problem.
The product of these two numbers is the expected impact of the risk.
E = P * I,
a) Quick Attacks:
The quick-attacks technique allows you to perform a cursory analysis of a system in a very compressed
timeframe.
Even without a specification, you know a little bit about the software, so the time spent is also time invested in
developing expertise.
Boundaries and equivalence class es give us a technique to reduce an infinite test set into something
manageable.
They also provide a mechanism for us to show that the requirements are "covered".
The heart of this method is to figure out what failures are common for the platform, the project, or the team;
then try that test again on this build.
If your team is new, or you haven't previously tracked bugs, you can still write down defects that "feel"
recurring as they occur—and start checking for them.
The more your team stretches itself (using a new database, new programming language, new team members,
etc.), riskier the project will be—and, at the same time, the less valuable this technique will be.
Customer-level coverage tools are expensive, programmer-level tools that tend to assume the team is doing
automated unit testing and has a continuous-integration server and a fair bit of discipline.
After installing the tool, most people tend to focus on statement coverage—the least powerful of the measures.
d) Use Cases:
Use cases and scenarios focus on software in its role to enable a human being to do something.
Use cases and scenarios tend to resonate with business customers, and if done as part of the requirement
process, they sort of magically generate test cases from the requirements.
It allows them to attach a number— an actual, hard, real number, such as 75%—to the performance of their unit
tests, and they can challenge themselves to improve the score.
People spend a lot of money on regression testing, taking the old test ideas described above and rerunning them
over and over.
This is generally done with either expensive users or very expensive programmers spending a lot of time
writing and later maintaining those automated tests.
11. Draw defect management process. State the working of each phase. (4 Marks A)
Defect Management Process (DMP) is basically defined as a process where identification and
resolution of defect take place. Software development is not an easy process. It is very complex
process so constant occurring of defects is normal. DMP usually takes place at stage of testing
products. It is also not possible to remove all defects from software. We can only minimize
number of defects and their impact on software development. DMP mainly focuses on
preventing defects, identifying defects as soon as possible, and reducing impact of defects.
Stages of DMP :
There are different stages of DMP that takes place as given below :
Defect Prevention :
Defect elimination at early stage is one of the best ways to reduce its impact. At early stage,
fixing or resolving defects required less cost, and impact can also be minimized. But at a later
stage, finding defects and then fixing it requires very high cost and impact of defect can also be
increased. It’s not possible to remove all defects but at least we can try to reduce its effects and
cost required to fix the same. This process simply improves quality of software by removing
defects at early stage and also increases productivity by simply preventing injection of defects
into software product.
Deliverable Baseline :
When deliverable such product or document reaches its pre-defined milestone then deliverable is
considered as baseline. Pre-defined milestone generally defines what the project or software is
supposed to achieve. If there is any failure to reach or meet pre-defined milestone, it simply
means that project is not proceeding towards plan and generally triggers corrective action to be
taken by management. When a deliverable is baselines, further changes are controlled.
Defect Discovery :
Defect discovery at early stage is very important. Afterword’s, it might cause greater damage. A
defect is only considered ‘discovered” if developers have acknowledged it to be valid one.
Defect Resolution :
Defect is being resolved and fixed by developers and then places it in the same place from where
the defect was initially identified.
Process Improvement :
All defects that are identified are critical and cause some impact on system. It doesn’t mean that
defects that have a low impact on system are not critical. For process improvement, each and
every defect that is identified are needed to fixed. Identification and analysis of process should
be done in which defect was occurred so that we can determine different ways to improve
process to prevent any future occurrence of similar defects.
12. Prepare Defect report Template for Student information system which contains
modules Student registration ,Course Registration, Exam ,Result. (4 Marks A)
Unit 5
Automation Testing : Automation Testing uses automation tools to execute test cases.
Manual Testing : In manual testing, test cases are executed by a human tester and software.
1. Less reliable testing method because it’s conducted by a human. Therefore, it is always
prone to mistakes & errors.
2. The manual testing process can’t be recorded, so it is not possible to reuse the manual
test.
3. In this testing method, certain tasks are difficult to perform manually which may require
an additional time of the software testing phase.
1. Automated testing helps you to find more bugs compare to a human tester
2. As most of the part of the testing process is automated, you can have a speedy and
efficient process
3. Automation process can be recorded. This allows you to reuse and execute the same kind
of testing operations
4. Automated testing is conducted using software tools, so it works without tiring and
fatigue unlike humans in manual testing
5. It can easily increase productivity because it provides fast & accurate testing result
6. Automated testing support various applications
7. Testing coverage can be increased because of automation testing tool never forget to
check even the smallest unit
1. Without human element, it’s difficult to get insight into visual aspects of your UI like
colors, font, sizes, contrast or button sizes.
2. The tools to run automation testing can be expensive, which may increase the cost of the
testing project.
3. Automation testing tool is not yet foolproof. Every automation tool has their limitations
which reduces the scope of automation.
4. Debugging the test script is another major issue in the automated testing. Test
maintenance is costly.
11. Describe Product and Process metrics with suitable example. (4 Marks U)
12. Describe a procedure for selecting testing tool when you are asked to test college
Website? (4 Marks U)
13. Describe factors considered for selecting a testing tool for test automation. (4 Marks U)
Unit 6
1. Recall the term Selenium Webdriver. (2 Marks R)
7. Design Selenium script for login form of gpamravati.ac.in/gpa/ using Java. (4 Marks A)
13. Identify the process of reporting a bug issue with the help of mantis bug tracker.
(4 Marks A)
14. Create a Teat Plan for library management application with the help of Test link. (4 Marks
A)
15. Create a Teat Plan for banking application with the help of Test link. (4 Marks A)