Your SlideShare is downloading. ×
  • Like
Acceptance Test Driven Development using Robot Framework
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Acceptance Test Driven Development using Robot Framework


Agile Tour Hyderabad 2012 presentation …

Agile Tour Hyderabad 2012 presentation
For Demo source, contact me on my email asheesh(dot)mehdiratta(at)

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide
  • 05/05/09 This presentation focuses on ATDD at a broad level, and gives a sneak preview of how you can use Robot FX for ATDD. 05/05/09
  • How are you releasing your products today ? Are you releasing with 100% features as planned, requested by your Product owner ? Is your PO happy with every release/every sprint with your deliverables? Do you do User stories ? Do you define Acceptance Criteria? Do you write Acceptance Tests? What are you missing? 05/05/09
  • Missed communication ? 05/05/09
  • REAL requirements ! 05/05/09
  • Confusion ! 05/05/09
  • And then it HURTS EVERYONE ! 05/05/09
  • So welcome to the SILVER BULLET – Acceptance Tests ! Really , NO ! Just another arsenal in the toolbox. Provide a single ‘ubiquitous’ language which is answering – WHAT do you want to BUILD ? And leaves the technical implementation details for another discussion. These Acceptance tests are an agreement with your Product Owner and all stakeholders, and the development team, which can also be “executed” everytime, anytime as soon as they are written and agreed upon. Examples of business scenarios serve as specifications which can be expanded further. 05/05/09
  • 3 steps to ATDD Glory: Discussion-Development-Deliver Discussion: Automated Acceptance Tests written by the end of the workshop. All tests are automated and would FAIL at this point. Development: Development and Tests done for each Acceptance Tests during the Iteration\\Sprint Deliver: Acceptance Tests PASS by the end of the sprint. 05/05/09
  • Multiple frameworks available, experiment with some based on your skillset, complexity, cost tradeoffs. Python-Robot Java_Fitnesse\\Fit\\Slim\\JBehave Ruby -Rspec 05/05/09
  • 05/05/09
  • Robot FX: simple install for various OS Test libraries : Glue code, could be standard library available now or your own Custom library Product: System under Test (SUT) Example: API, Service, Product, Suite 05/05/09
  • Complex Epic, with multiple variations and ambiguity 05/05/09
  • 05/05/09
  • 05/05/09
  • 05/05/09
  • 05/05/09
  • 05/05/09


  • 1. Real world Acceptance Test Driven development using Robot framework Asheesh Mehdiratta | @amehdiratta Kunal Saini | @kunal8484 November 2012 Asheesh Mehdiratta © 2012
  • 2. How is your Journey? Asheesh Mehdiratta © 2012
  • 3. Needs ? Asheesh Mehdiratta © 2012Nov 2012 @amehdiratta
  • 4. Wants ? Asheesh Mehdiratta © 2012Nov 2012 @amehdiratta
  • 5. y ? u i t b igA m Asheesh Mehdiratta © 2012
  • 6. Reality bites ! Asheesh Mehdiratta © 2012
  • 7. Acceptance TestsCommon understandingExternally visibleImplementation independentExecutable requirementsLiving documentationSpecification by example Asheesh Mehdiratta © 2012
  • 8. ATDD: STEPS TO GLORY Source : ATDD with Robot framework: Craig Larman and Bas Vodde Asheesh Mehdiratta © 2012
  • 9. ATDD Toolbox Robot Framework JBehave FitNesse Rspec Selenium Cucumber Watir/Watij easyb Canoo WebTest Slim StoryTeller Specflow Asheesh Mehdiratta © 2012
  • 10. Robot FX: IntroductionPython based keyword driven automation frameworkAllows Natural language  Domain language expressionOpen Source, Multi OS, Technology independentTest cases in multiple formats (HTML,TSV,Text)Extensive library support – growing !! + custom…[HTTP,Selenium,Database,SSH,Eclipse,AutoIt,Swing] Asheesh Mehdiratta © 2012 Nov 2012 @amehdiratta
  • 11. Robot FX: How it works Source : ATDD with Robot framework: Craig Larman and Bas Vodde Asheesh Mehdiratta © 2012
  • 12. User story Asheesh Mehdiratta © 2012
  • 13. Demo Robot framework: Part 1Demo includes :• Display test authoring in natural language• Keyword driven, multilevel tests suites• Selenium Integration to drive SUT• Reports Asheesh Mehdiratta © 2012
  • 14. Demo Robot framework: Part 2Demo includes :Robot FX integration with Custom library (C#) alongwith additional integration test tools Asheesh Mehdiratta © 2012
  • 15. Summary: ATDD with Robot FX Shared understanding Tagging capability Tight cross functional Build Complex scripts team integration Executable, uptodate Easy tools integration Regression tests including CI support Testers life enriched Easily extensible Independent of Technology, OS, App FREEEEE ! Asheesh Mehdiratta © 2012 Nov 2012 @amehdiratta
  • 16. Questions ? Asheesh Mehdiratta Change Evangelist connect: @amehdiratta Kunal Sainiconnect: Asheesh Mehdiratta © 2012
  • 17. CreditsRobot framework with Robot framework: : Craig Larman and Bas VoddeSpecification by Example: How Successful Teams Deliver the Right Software : Gojko AdzicExtreme programming Credits*583/crash-test-dummy-thackray-laura.jpg Asheesh Mehdiratta © 2012