4000310515center10/1/2018
330009500010/1/2018
420003263900175001760220 450000
28860767867650Submitted to: Ma’am Najam un nisaZaniab Amin Malik
FA15-BSE-062
BSE-7B
00Submitted to: Ma’am Najam un nisaZaniab Amin Malik
FA15-BSE-062
BSE-7B
2313940181610SOFTWARE TESTING
ASSINGMENT-01
00SOFTWARE TESTING
ASSINGMENT-01
Question1: Discuss faults and failures with respect to software programming? Explain it with the help of valid examples.
Answer:
Fault is an incorrect action, process or an incorrect input due to which the software shows an abnormal and unexpected behavior. Fault originates from error which is deviation of the software from the actual path due to any reason. The fault may originate in the development or testing phase and may also originate at the original use of the product.
A failure unable a software to perform its required functions under the specified requirements. Failure results from the fault. The failure comes when the product reaches to the customer.
For example:
For an online billboard booking application, if the user presses “Book Board” button and app displays other pages to user rather than booking the billboards. This will be an example of Fault because the application is showing unintended behavior.
Now, if the user opens the app and see no billboards to book any of them even with an active internet connection and supported location, then this will take to failure. It is because application is not doing what it was intended to do.
Question 2: In fundamental test process why test strategy is important? Is test intensity and test coverage relates to test strategy, if yes, give examples.
Answer:
In fundamental test process, test strategy is of much importance. A test strategy defines how the testing will be done. Test strategy defines the testing approach that is going to be used for the system. Test designs and testing rules and regulations are finalized in the test strategy.
Yes, test intensity and test coverage relates to test strategy because test strategy deals with the testing approach and testing type that is going to use in the testing process. The criteria of test coverage and intensity differs with the each testing type that is being performed.
For example:
If the testing type is unit testing, then the test coverage will be the whole code which may not be possible some time. For system testing coverage will be different.
Question3: Write a short note on the following software bug reporting tools.
Bugzilla
Basic Intro:
Bugzilla is a bug tracker and a testing tool used to manage software development as it can be easily linked with other Test Case management tools like Quality Center, Testlink etc.
Latest version information:
The latest stable release of Bugzilla is 5.0.4.
Purpose:
Bugzilla is designed as a bug tracking system. It is used in order to keep track of the bugs or defects of a software for the developers.
Environment:
The Bugzilla can operate on windows, Linus and MAC OS.
Cost factor/Open Source:
The Bugzilla is an open source software.
Advantages:
Bugzilla allows companies to keep a record of the issues that are recorded, who fixed them, and even how long it took to fix the issue for some types of programs
Bugzilla is open source and free to use.
Bugzilla promotes accountability which is important in improving productivity.
When best to use it:
Bugzilla should be used when developers have to keep record of bugs with a free and open source software.
Screenshots:
Conclusion:
Bugzilla is a high-quality product, developed to exact standards, and will remain that way for the foreseeable future.
Selenium
Basic Intro:
Selenium is open-source tool used for automating web-based applications. It supports testing on various number of browsers e.g. firebox,chrome e.t.c. Whereas, tests can be perfomed on on different operating systems like: Windows, Mac, Linux e.tc.
Latest version information:
The latest stable release of selenium is 3.14.0.
Purpose:
Selenium is used for automation testing. Selenium has tools like selenium IDE and selenium Grid. Selenium tools is used to generate test scripts. Whereas selenium grid is used to perform test automation and create test suites.
Environment:
The Selenium can operate on windows, Linus and MAC OS.
Cost factor/Open Source:
The Bugzilla is an open source software.
Advantages:
The rate regression testing is very low in this tool.
Selenium provides support to agile and extreme programming development method.
Manual testing can also be done in order to find more defects.
When best to use it:
Selenium is best to use when the tests should be automated. The speed of the execution of tests is much faster than other tools.
Screenshots:
Conclusion:
There are a number of commercial and open source tools available for helping with the development of test automation. But, Selenium is possibly the most widely-used open source solution. As, it supports the execution of tests on multiple browser platforms. Also, it allows to use 7 major languages for test scripting.
JUnit
Basic Intro:
JUnit is a basically a unit-testing framework mainly used for test-driven development. It is an instance of the xUnit architecture for unit testing frameworks.
Latest version information:
The latest stable release of selenium is 4.12
Purpose:
The purpose of Junit is to perform unit testing on the Java Virtual Machine (JVM).
Environment:
The JUnit can operate on windows, Linus and MAC OS.
Cost factor/Open Source:
The Bugzilla is an open source software.
Advantages:
Simple framework for writing automated, self-verifying tests in Java
Test suits can be developed in Junit.
When best to use it:
Junit is best to use in test driven development and in unit testing.
Screenshots:
Conclusion:
Junit is an open source framework which is widely adopted by organizations around the world for performing unit testing i.e. writing and running unit test cases in Java programming language.