19
Frameworks^3 by Dave Haeffner ARRgyle.com

Selenium Frameworks

Embed Size (px)

DESCRIPTION

What makes up an acceptance testing framework? Especially one that will help you use Selenium successfully? How about a list of what ones currently exist? We've got you covered. This talk was prepared for the DC Selenium Meetup in April 2013.

Citation preview

Page 1: Selenium Frameworks

Frameworks^3by Dave Haeffner

ARRgyle.com

Page 2: Selenium Frameworks

Frameworks Agenda

What it isWhy it's worth itWhat should go into oneWhat's available todayQ&A

Page 3: Selenium Frameworks

What is...an acceptance testing framework?

Page 4: Selenium Frameworks

Elizabeth Hendrickson says...

1. Defines the format in which to express expectations

2. Creates a mechanism to hook into, or drive, the application under test

3. Executes the tests4. Reports the results

[link]

Page 5: Selenium Frameworks

Why is...an acceptance testing framework...worthwhile?

Page 6: Selenium Frameworks

The Standard Evolution of Selenium automation at an organization

Page 7: Selenium Frameworks

1 - Record tests with Selenium IDE2 - End up with a brittle suite of tests3 - Export to code, get them working4 - Rewrite them so they're DRY5 - Scale, hit performance issues6 - Monkey-patch as you go

A - Ignore it and go back to manual testingB - Throw it out and rewrite

Standard Selenium Evolution

Page 8: Selenium Frameworks

Hmm...

Page 9: Selenium Frameworks

What really makes up...an acceptance testing framework?(especially one that uses Selenium)

Page 10: Selenium Frameworks

Framework anatomy

CurrentRunnerIntegrationConfigurableReportingLoggingPerformanceDSLTaggable

Page 11: Selenium Frameworks

But the real value isn't realized...until you do something with it.

Page 12: Selenium Frameworks

Why Feedback loop for the teamHow Integrate with CIWhat Timely, in-band notifications

Page 13: Selenium Frameworks

Frameworks in the wild...

Page 16: Selenium Frameworks

ProofTitanium xAFT

Commercial Offerings

SauceLab PartnersQAOnDemandTFT ConsultingDynacron GroupSoftcrylicThinkSys IncHindsight SoftwareQASource

Page 17: Selenium Frameworks

Recap● An 'acceptance testing framework' that is

built for successful Selenium has a lot of parts

● A framework will help you get started, grow, and avoid pitfalls

● There are many "frameworks" (both open source and commercial)

● But there are few that come with everything you need out of the box

● The real value comes from using it within your development workflows

Page 18: Selenium Frameworks

Office Hours (30 min, FREE)sohelpful.me/tourdedave

Blog & Newsletter (FREE)arrgyle.com

[email protected]@TourDeDave