Searching...
Monday, 5 August 2013

Test Framework-Keyword driven

Let's discuss keyword framework. Keyword framework are very easy to write, so lets discuss them before going to more complex frameworks

Framework Architecture : Architecture of keyword driven framework looks something like the one below



Framework Components

The most important components of a framework are:

Framework

1. Driver Script
2. FunctionLibrary
3. SeleniumFunctions

Abstract Layer

1. Object Repository
2. Keywords

External Data

1. Data Sheets
2. Global Variables

Object Repository

Below is how you can design your object Repository


   Creating the Test Script File:




   Specifying the paths


   

  Control Flow


Reporting


   

35 comments:

  1. Dude..Thanks for posting such really useful info. I never found one place where you can get such basics and details. Thanks for sharing with us. =))

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Thanks for sharing this info. can u please provide us any sample Scripts includes KDF. that should be more helpful for us to get more knowledge in to it

    ReplyDelete
  4. great article diagrams ,
    some sample java code of your keyword framework would be helpful and appreciated

    ReplyDelete
  5. thanks for sharing this usefull info.....but please post related example on keyword driven using java
    so it more helpful to us

    ReplyDelete
  6. Really appreciated article on Test Framework-Keyword driven. Great pictorial representation of flows. People willing to get the indepth knowledge in getting knowledge such as TestNG,jenkins,Maven and POM should get properly get online selenium training in chennai

    ReplyDelete
  7. nice course. thanks for sharing this post this post harried me a lot.
    Selenium Training in Gurgaon

    ReplyDelete
  8. It streamlines test case creation and maintenance. The clear separation of test steps and keywords enables easy updates and scalability. Future Cybersecurity Predictions A commendable approach to efficient and effective test automation.

    ReplyDelete
  9. Great and that i have a neat present: How Often Renovate House hgtv home improvement

    ReplyDelete

 
Back to top!