Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I had opportunity to work in around 3 different projects, where selenium have been used extensively. Among them 2 were based on Data driven (say test cases driven by testng XML for each scenario with different data) frame work and one keyword driven. And I find that the Keyword driven framework is more successful based on how much extensively it was used and the coverage it had in the project. It was mainly because of the 'easy of use' it provided to the manual testers who also practiced writing test cases with the key word driven functionality of the framework, and required only one or two automation testers who had enough coding knowledge to implement new functionalists to the framework when a new addition to AUT came.

From your experience please explain which would be a better type of framework based on test coverage it can provide to an application, re usability, ease of use and maintainability? (I believe these are the factors that brings in good ROI for an automation project.

share|improve this question
    
You may like to do something about your low accept rate –  Tarun Jul 20 '12 at 7:09
    
@Tarun I didn get your question –  Rakesh Prabhakaran Jul 20 '12 at 7:25
    
See your accept rate - "33% accept rate" –  Tarun Jul 23 '12 at 18:12
    
this may help in understanding if you don't get answer of your most valid questions - meta.stackexchange.com/questions/34919/… –  Tarun Jul 24 '12 at 8:24
    
Thanks Tarun, I never bothered about those points. I will try to make required chnages. –  Rakesh Prabhakaran Jul 27 '12 at 4:30
add comment

1 Answer

You don't have to choose between a keyword framework and data driven. The keywords can include creating data either internally or from a source. I'm using Robot Framework to drive my tests, where I create keywords which randomize data.

share|improve this answer
    
thanks for that point. By keyword(KW) or data driven(DD) frame, I meant the option(or interface) that the end user of the test frame work would use to create individual test cases with the already created AUT specific navigation functions, user event API's or functions, page objects or whatever. –  Rakesh Prabhakaran Aug 18 '12 at 4:24
    
Normally the UI of a test automation frame work would be an xls sheet in which we give row by row inputs of test step key words if KW framework and in the basis of each row in an xls as a single test case and the test steps would be in respect to the specific columns in a row where we give input data for DD frame. Hope I made my point more clear. I would like to know based on that perspective the usability and acceptance of a frame work –  Rakesh Prabhakaran Aug 18 '12 at 4:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.