Advantages of Keyword Driven Test Automation Framework

Discussion in 'Programming' started by yogindernath, Apr 10, 2010.

  1. #1
    Brief Introduction to Keyword based Framework:
    Keyword-based software test automation framework can reduce the cost and time of test design, automation and execution. 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.

    Keyword-based test design and test automation is founded on the premise that the discrete functional business events that make up any application can be described using a short text description (keyword) and associated parameter value pairs (arguments). For example, most applications require users to log in; the keyword for this business event could be "Logon User" and the parameters could be "User Id" and "Password". By designing keywords to describe discrete functional business events, testers begin to build up a common library of keywords that can be used to create keyword test cases. This is really a process of creating a language (keywords) to describe a sequence of events within the application (test case).

    When properly implemented and maintained, keywords present a superior return on investment because each business event is designed, automated and maintained as a discrete entity. These keywords can then be used to design keyword test cases, but the design and automation overhead for the keyword has already been paid.

    When a change occurs within any given keyword, the affected test cases can easily be found and updated appropriately. And once again, any design or automation updates to the keyword are performed only once. Compare this to the Record and Playback approach, which captures a particular business event or part of the business event each time a test case traverses it. (If there are 100 test cases that start with logging on, then this event will have automated 100 times and there will be 100 instances to maintain.)


    Read the complete article at
    http://www.softwaretestinggenius.com/articalDetails.php?qry=766
     
    yogindernath, Apr 10, 2010 IP
  2. jamesrocky

    jamesrocky Active Member

    Messages:
    554
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Nice Info thx mate.
     
    jamesrocky, Apr 11, 2010 IP