Published on

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  1. 1. Introduction to testing tools
  2. 2. What are testing tools? <ul><li>Automated testing is executing a test through automated means. </li></ul><ul><li>Usually, it refers to a test that is fully automated and has no human involvement. </li></ul><ul><li>Applications to help you create and deliver tests, quizzes and surveys on intranets, the Internet or using Windows PCs. </li></ul><ul><li>Also all kind of analysis and reporting options are included. </li></ul>
  3. 3. Justifying testing tools <ul><li>Should be considered based on test objectives </li></ul><ul><li>Not enough knowledge </li></ul>
  4. 4. Advantages <ul><li>Automated testing brings a new sigh of relief to developers everywhere. </li></ul><ul><li>Manual testing can be very time consuming with errors still slipping through the system. </li></ul><ul><li>Running automated systems for application testing will require less manpower, and less room for error. </li></ul><ul><li>With automated testing comes a greatly improved audit trail to help you identify and correct the bugs you find </li></ul>
  5. 5. Disadvantages <ul><li>Cost </li></ul><ul><li>Requires programming </li></ul><ul><li>Requires additional training </li></ul><ul><li>Difficult to justified their use </li></ul>
  6. 6. Using testing tools <ul><li>A regression testing tool might be needed under the following circumstances </li></ul><ul><ul><li>Test need to be run at every build </li></ul></ul><ul><ul><li>Test are required using multiple data values for the same actions </li></ul></ul><ul><ul><li>Test require detailed information such as systems internals (memory, CPU) </li></ul></ul>
  7. 7. Types of testing tools <ul><li>Year 200 tools </li></ul><ul><li>Web site management tools – helps webmasters to detect and repair defects in the structural integrity of a web site. (bad links, download problems) </li></ul><ul><li>Requirements based testing tools – identify functional variations and logical inconsistencies </li></ul>
  8. 8. Types of testing tools (cont.) <ul><li>Test management tools – keeps track of all testing assets </li></ul><ul><li>Regression testing tools – helps automate the testing process by using reusable scripts </li></ul><ul><li>Coverage analysis test – monitors the system while dynamic testing tools are executing. It is like a white-box automatic testing. </li></ul>
  9. 9. Types of testing tools (cont.) <ul><li>Dynamic testing tools – execute specific sequence of instructions. It tests the system behavior and performance. </li></ul><ul><li>Static testing tools – examines the software itself rather than executing the program. Load testing tools – simulates production environment. </li></ul><ul><li>Comparators – compares different versions of the same program </li></ul>
  10. 10. The main types of automated testing are: <ul><li>Capture playback </li></ul><ul><li>Automated test scripts </li></ul><ul><li>Random input testing </li></ul><ul><li>Model-based testing </li></ul>
  11. 11. Capture playback <ul><li>This type of test automation records the inputs and outputs of a manually-executed test. </li></ul><ul><li>The test can now be automatically rerun on any subsequent occasion. </li></ul><ul><li>The capture/playback mechanism will insert the same inputs and compare the outputs to the original results. </li></ul>
  12. 12. Capture playback (cont) <ul><li>Advantages </li></ul><ul><ul><li>Once captured and the results are verified, the test can be rerun easily and cheaply an infinite number of times. </li></ul></ul><ul><li>Disadvantages </li></ul><ul><ul><li>Test maintenance can be costly. </li></ul></ul><ul><ul><li>Presuming the unit under test has changed since the capture, usually some of the captured tests have become invalid </li></ul></ul>
  13. 13. Automated test scripts <ul><li>Test scripts are used to drive an automated test. </li></ul><ul><li>The script provides input to the unit under test and records the output. </li></ul><ul><li>Test engineers employ a variety of languages to express test scripts. </li></ul>
  14. 14. Automated test scripts (cont.) <ul><li>Advantages </li></ul><ul><ul><li>Once the test script is debugged and verified, it can be rerun easily and cheaply an infinite number of times. </li></ul></ul><ul><li>Disadvantages </li></ul><ul><ul><li>Debugging the test script to ensure its accuracy is a significant effort. </li></ul></ul><ul><ul><li>Every subsequent change to the unit under test entails effort to identify impacted test scripts, modify them, rerun, and reconfirm them. </li></ul></ul>
  15. 15. Random input testing <ul><li>Test scripts are generated automatically that randomly cover the input space of the unit under test. </li></ul><ul><li>The outputs are ignored because analyzing them would cost an enormous amount. </li></ul><ul><li>The goal is to crash the unit under test, not to test that it is behaving correctly </li></ul>
  16. 16. Random input testing (cont.) <ul><li>Advantages </li></ul><ul><ul><li>Random input testing is relatively easy and cheap to perform. This approach may be the most cost-effective for finding some types of defect. </li></ul></ul><ul><li>Disadvantages </li></ul><ul><ul><li>Random input testing is a very limited form of testing. It finds only the defects that crash the unit under test, not the majority of defects that are simply the unit under test behaving incorrectly. </li></ul></ul>
  17. 17. Model-based testing <ul><li>The tester models the behavior of the unit under test . </li></ul><ul><li>The tester uses the model to generate tests (ideally via an automated tool) that adequately cover the state space described by the model. </li></ul>
  18. 18. Model-based testing (cont.) <ul><li>Advantages </li></ul><ul><ul><li>This practice usually provides a high return on investment. </li></ul></ul><ul><ul><li>The principle costs are developing a model of the behavior of the unit under test and the initial costs of a tool or specialized software for test generation from the model. In return, the following can be automated: </li></ul></ul><ul><ul><ul><li>Generate an effective test suite </li></ul></ul></ul><ul><ul><ul><li>Execute the test suite against the unit under test </li></ul></ul></ul><ul><ul><ul><li>Compare expected to actual results, flagging unexpected results </li></ul></ul></ul>
  19. 19. Model-based testing (cont.) <ul><li>Disadvantages </li></ul><ul><ul><li>Model-based testing is not the norm in most testing organizations. Introducing this practice is likely to meet with some resistance, as with the introduction of any unfamiliar technique or technology. </li></ul></ul><ul><ul><li>There are techniques to help ease the necessary changes in the existing process and/or culture, but the transformation is often a difficult one nonetheless </li></ul></ul>