Author Topic: Difference between Data Driven Framework and Keyword driven framework  (Read 4406 times)

Offline vandana

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Hi ,

Please explain what is exactly difference between Data driven framework and Keyword driven framework with example?

Regards
Vandana
"Quality is never an accident; it is always the result of intelligent effort."

Offline Boobalan

  • Jr. Member
  • **
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Difference between Data Driven Framework and Keyword driven framework
« Reply #1 on: August 09, 2010, 10:34:38 PM »
A) QuickTest’s Keyword Driven approach, test automation experts
have full access to the underlying test and object properties, via an
integrated scripting and debugging environment that is round-trip
synchronized with the Keyword View.
Advanced testers can view and edit their tests in the Expert View,
which reveals the underlying industry-standard VBScript that
QuickTest Professional automatically generates. Any changes
made in the Expert View are automatically synchronized with the
Keyword View.

Read the above Description and let me know you got a correct answers or not.
ok bye vandana,

advertisement

Offline daljeetnagpal

  • Jr. Member
  • **
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Difference between Data Driven Framework and Keyword driven framework
« Reply #2 on: August 11, 2010, 01:40:23 AM »
I did not get what you meant to say.
The question asked here is the difference between the data driven FRAMEWORk and the Keyword driven FRAMEWORK.
Can you please elaborate a bit more

Offline mnagaraju

  • Jr. Member
  • **
  • Posts: 1
  • Karma: +0/-0
  • Don't Be a Man of Success, But Be a Man of Value
    • View Profile
Re: Difference between Data Driven Framework and Keyword driven framework
« Reply #3 on: August 18, 2010, 12:05:20 AM »
As per my knowledge, Data Driven is recording in QTP and we may write some loop, or coditions in the same window/screen in QTP

When it comes to Keyword driven, we have the function libraries written and attached. these functions are called for the specific purpose frop QTP -> Excelsheet -> Function library

for example, if we have a text box in our application to insert some value from datatable

In QTP,
Create  object for that textbox
Attach function libraries (in this we have the functionality to be performed for webedit object i.e text box)

Import script file(C:\\.............xls)
call keyword_driver from QTP screen


In Script File
Script file will have the textbox;fieldname(i.e Object name) and set:value or dt_datatable field name

This is what i am learning now, Please collect me if i am wrong

Thanks
Raju

Thanks
Raju

Offline sureshajja

  • Jr. Member
  • **
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Difference between Data Driven Framework and Keyword driven framework
« Reply #4 on: October 19, 2010, 07:51:50 AM »
Data Driven framework: Externalized the data from the scripts. Framework will function based on the number of combination of test data available in external files. Scripts should not be modified for any addition of test case or scenario if the transaction or action (and the navigation involved in the transaction) remains same.

Keyword driven framework: Action Driven. For e.g. for any url, if you have an action defined say login.do, this action or keyword should drive the whole test. Based on keyword, you should be able to pick up input data sheets, expected data sheet, verification points etc. and run the whole test.

Offline harikrishna007

  • Jr. Member
  • **
  • Posts: 3
  • Karma: +0/-0
    • View Profile
In DataDrivenFramework test automators run one script for multiple data
  where as in KeywordDrivenFramework automators create keywords which contain decription of objects in software under testing :)