טכניון מכון טכנולוגי לישראל
הטכניון מכון טכנולוגי לישראל - בית הספר ללימודי מוסמכים  
M.Sc Thesis
M.Sc StudentYurman Goldberg Meytal
SubjectDesign and Implementation of Keyword Driven Automation
Framework for Automated Software Testing
DepartmentDepartment of Quality Assurance and Reliability
Supervisor Dr. Amir Tomer
Full Thesis textFull thesis text - English Version


Abstract


In the increasingly competitive market, speed is essential. The inability to launch products faster leads to loss of sales and hence displacement by competitors who are able to achieve shorter product release cycles.

Automated testing reduces the amount of manual testing, leading to shorten the process schedule, and reduce costs.

Despite the impressive evolution of test automation, there were still a lot of challenges that it had to encounter. Historically, test automation has not met the level of success that it could. Time and again test automation efforts were born, stumbled, and died. Most often this was the result of misconceived perception of the effort and resources necessary to implement a successful, long-lasting automation framework.

This study set out to achieve a solution that responds to the test automation challenges thus far. For this assignment the KDT methodology was chosen.

Keyword Driven Testing (KDT) is the next generation test automation approach that separates the task of automated test case implementation from the automation infrastructure. The approach hands over the responsibility of automation plan, design and execution to the functional testers by using the KDT based solution. It allows members of a testing team to focus on what they do best, but also allows non-technical testers and business analysts to write automated tests.

The purpose of the study was to provide a flexible framework that will allow the manual testers to define the business steps for the application and the test scenarios by pre-defined literal keywords, and then generate automated test scripts from these.

The principle was that keyword-based test design and test automation are founded on the premise that the discrete functional business events that make up any application can be described using a short text description (keyword). It was a process of creating a language to describe a sequence of events within the application.

As part of the study we developed a set of tools that allow design, creation and execution of automated KDT-based test cases. This KDT framework suite allows both manual testers and other subject-matter experts to participate in the automated test creation without any programming knowledge.

The keyword dictionary combined with the automated translation application generated a fast return on investment. This allowed us to position test automation as a basis of our testing strategy rather than just luxury.