Framework Driven Test Automation Position Paper - Collabera
Framework Driven Test Automation Position Paper - Collabera
Framework Driven Test Automation Position Paper - Collabera
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Evolution<br />
<strong>Framework</strong> based test automation has evolved from capture replay approach (one of the earlier<br />
modes) to script based, data driven and keyword driven approaches.<br />
Manual<br />
<strong>Test</strong>ing<br />
Capture<br />
& Replay<br />
Script<br />
Based<br />
Data<br />
<strong>Driven</strong><br />
Keyword<br />
<strong>Driven</strong><br />
Hybrid<br />
Approach<br />
Capture & Replay: An approach wherein the various phases of a test case on execution are<br />
captured and maintained in a repository. The test case can then be replayed with changes in test<br />
data to obtain results. This approach suffers from the disadvantage of being time consuming and<br />
expensive when running complex test cases due to the inability to record such cases and<br />
maintain them.<br />
Script Based: A technique in which a technical expert generates scripts specific to the<br />
automation tool used along with the test data. This approach suffers from the disability of having<br />
to hard code test data into test scripts each time the test script gets executed.<br />
Data <strong>Driven</strong>: A technique where a single test script is used repeatedly with varying input and<br />
response data that comes from a predefined data set (data files such as data pools, ODBC<br />
sources, cvs files, Excel files, DAO objects, ADO objects etc). This approach suffers from the<br />
disability of taking more time to build, track and maintain test scripts.<br />
Keyword <strong>Driven</strong>: This framework requires the development of keywords, each keyword<br />
independent of the test automation tool used to execute them and the test script code that<br />
"drives" the application-under-test and the data. In this approach, discrete functional business<br />
events that make up any application are described using a short text description (Keyword) and<br />
associated parameter value pairs (arguments).<br />
Hybrid Approach: A framework that can be both keyword driven while also providing enhanced<br />
functionality for data driven scripts. This allows data driven scripts to take advantage of the<br />
powerful libraries and utilities that usually accompany a keyword driven architecture. On the other<br />
hand it allows the usage of scripts to perform some tasks that might be too difficult to reimplement<br />
in a pure keyword driven approach, or where the keyword driven capabilities are not<br />
yet in place.<br />
Value. Accelerated.