1. Understanding of Automation Testing and Automation Framework What is Automation Testing? Automation Testing is a process where software or an Automation Tool is used to execute test scripts in a controlled and desired manner to compare the expected result with the actual result. In general terms Automation Testing involves automating a manual process which is already in place in the testing process. Automation Fundamental Concepts Prepared By: Priya Trivedi
2.
3.
4.
5. Automation Tools? WATIR TestPartner TestComplete SilkTest Selenium IBM Rational Functional Tester HP QTP Tool Name Open Source Tool Micro Focus Automated QA Micro Focus Open Source Tool IBM Rational HP Company Name 1.6.5 6.3 7.52 2009 1.0.1 8.1.0.0 10.5 Latest Version
6.
7.
8.
9.
10.
11.
12.
13.
14. Keyword-driven testing is a Software testing technique that separates much of the programming work from the actual test steps so that the test steps can be developed earlier and can often be maintained with only minor updates, even when the application or testing needs change significantly. The Keyword Driven framework consists of the basic components given below 1. Control File 2. Test Case File 3. Startup Script 4. Driver Script 5. Utility Script Keyword Driven Automation Framework
15.
16.
17.
18.
19.
20.
21. How to Implement Test Automation Framework Methodology? 10 Steps to Implement Automation Framework Approach
22.
23.
24.
Editor's Notes
Framework 1: Test Script Modularity The test script modularity framework is the most basic of the frameworks. It's a well-known programming strategy to build an abstraction layer in front of a component to hide the component from the rest of the application. This insulates the application from modifications in the component and provides modularity in the application design. When working with test scripts (in any language or proprietary environment) this can be achieved by creating small, independent scripts that represent modules, sections, and functions of the application-under-test. Then these small scripts are taken and combined them in a hierarchical fashion to construct larger tests. The use of this framework will yield a higher degree of modularization and add to the overall maintainability of the test scripts Framework 2 : Test Library Architecture The test library architecture framework is very similar to the test script modularity framework and offers the same advantages, but it divides the application-under-test into procedures and functions (or objects and methods depending on the implementation language) instead of scripts. This framework requires the creation of library files (SQABasic libraries, APIs, DLLs, and such) that represent modules, sections, and functions of the application-under-test. These library files are then called directly from the test case script. Much like script modularization this framework also yields a high degree of modularization and adds to the overall maintainability of the tests.