Author Topic: Automation framework ...  (Read 1216 times)

Offline vigor vigor

  • Newbie
  • *
  • Posts: 11
  • adadadadasd
Automation framework ...
« on: May 10, 2010, 02:49:13 am »
Hi Tarun,

I was going thru you doc on test automation framework and found it very pragmatic. I have quite similar automation framework development experience and have specific question & doubt about Hybrid framework definition you have given in you "automation framework design guideline" document.
you have stated their for hybrid framework model "These frameworks do not implement generic keywords but implement business logic keywords based on the application being tested."

Now my question is what if I use generic keywords to define the test objects (reading through excel sheet) with the combination of data driven test...instead of using generic keywords based on business logic.Would you not called it Hybrid model as I am using both data driven & keyword driven approaches. IMO if we are using business logic keywords than it is specific implementation of Keyword driven framework. People may use pure keyword driven approach like generic object names ...along with data driven approaches.

So IMO it should be stated like "These frameworks may or may not implement generic keywords but implement business logic keywords based on the application being tested."

Please let me know your thought on this.

Thanks.

Offline vigor vigor

  • Newbie
  • *
  • Posts: 11
  • adadadadasd
Re: Automation framework ...
« Reply #1 on: May 14, 2010, 01:05:09 am »
Any one has any comments on this.

Offline vigor vigor

  • Newbie
  • *
  • Posts: 11
  • adadadadasd
Re: Automation framework ...
« Reply #2 on: May 17, 2010, 01:53:58 am »
Hi Tarun,

Waiting for your inputs

Thanks!

Offline Tarun Lalwani

  • Administrator
  • Hero Member
  • *****
  • Posts: 3029
    • KnowledgeInbox
Re: Automation framework ...
« Reply #3 on: May 18, 2010, 12:49:34 am »
Keyword driven frameworks are of different types. One is a generic one where we have very generic keywords. E.g.

Open "Calc"
Click "+"
Click "1"
Click "="

In above we will have to create generic keywords like open and click which need to figure out themselves on how to recognize these objects. While in application specific keywords it may look something like below

Call App_Launch
Call App_ExecuteCommand("1+23=")
Call App_VerifyResult("24.0")

Now if data driver any of the above 2 approach it would become a hybrid approach
Regards,
Tarun
KnowledgeInbox Administrator

KnowledgeInbox" style="border:0

Offline vigor vigor

  • Newbie
  • *
  • Posts: 11
  • adadadadasd
Re: Automation framework ...
« Reply #4 on: May 18, 2010, 01:11:55 am »
Thanks Tarun for sharing your thoughts.
So I had stated is correct one as per your provided definition. Thanks!