37
Selenium IDE and Beyond Selenium Camp, Kiev 1 st March 2013 Samit Badle

Selenium IDE and Beyond

Embed Size (px)

DESCRIPTION

Presentation from talk at Selenium Camp 2013

Citation preview

Page 1: Selenium IDE and Beyond

Selenium IDE and Beyond

Selenium Camp, Kiev

1st March 2013Samit Badle

Page 2: Selenium IDE and Beyond

Samit Badle

@samitbadle

http://blog.reallysimplethoughts.com

Page 3: Selenium IDE and Beyond

Cats are Cool!

http://farm2.static.flickr.com/1250/964877496_27357f5d8f_b.jpg

Page 4: Selenium IDE and Beyond

Cats are Cool!

http://farm2.static.flickr.com/1350/563918358_bbf08bdcc7_b.jpg

Page 5: Selenium IDE and Beyond

Cats are Cool!

Page 6: Selenium IDE and Beyond

Dogs are Cool 2!

http://farm1.static.flickr.com/92/255472873_d2759ef3c6.jpg

Page 7: Selenium IDE and Beyond

Exercise Time

How many of you have heard about Selenium IDE?

Page 8: Selenium IDE and Beyond

Exercise Time

How many of you have NOT heard about Selenium IDE?

Page 9: Selenium IDE and Beyond

Exercise Time

How many of you use Selenium IDE?

Page 10: Selenium IDE and Beyond

Exercise Time

How many of you do NOT use Selenium IDE?

Page 11: Selenium IDE and Beyond

Selenium IDE

Page 12: Selenium IDE and Beyond

Selenium IDE

• A simple record and playback tool

• Works as an addon to Firefox

• Can be extended by Plugins

Page 13: Selenium IDE and Beyond

Why NOT?

• Maintenance gets harder as number of

tests grow

• Simple: Does not have conditionals, loops,

function creations

Page 14: Selenium IDE and Beyond

WHY?

• Its Simple – but you can still get a lot of

stuff done

• Does not require programming skills

• Finding locators in css or xpath for your

tests

• Efficient testing! Record and export!

Page 15: Selenium IDE and Beyond

Whats NEW?

• Webdriver playback

Page 16: Selenium IDE and Beyond

Webdriver playback

• Firefox

Page 17: Selenium IDE and Beyond

Webdriver playback

• Internet Explorer

Page 18: Selenium IDE and Beyond

Webdriver playback

• Safari

Page 19: Selenium IDE and Beyond

Webdriver playback

• Chrome

Page 20: Selenium IDE and Beyond

Webdriver playback

• iPhone

Page 21: Selenium IDE and Beyond

Webdriver playback

• iPad

Page 22: Selenium IDE and Beyond

Webdriver playback

• PhantomJS

Page 23: Selenium IDE and Beyond

What Coming Next?

• Live Export

• Support for more Webdriver features

• Better Code Generation for export

• Behavior Driven Development

Page 24: Selenium IDE and Beyond

Experiments

Page 25: Selenium IDE and Beyond

Behavior Driven Development (BDD)

• What does a test do?

• What are we testing?

• What do we expect?

Page 26: Selenium IDE and Beyond

Behavior Driven Development (BDD)

• Pay Raise

• Better Job Prospects

Page 27: Selenium IDE and Beyond

Behavior Driven Development (BDD)

Page 28: Selenium IDE and Beyond

Behavior Driven Development (BDD)

Page 29: Selenium IDE and Beyond

Behavior Driven Development (BDD)

https://github.com/cucumber/cucumber/tree/master/examples/i18n/ru

Page 30: Selenium IDE and Beyond

BDD in Selenium IDE

Page 31: Selenium IDE and Beyond

BDD in Selenium IDE

Page 32: Selenium IDE and Beyond

Behavior Driven Development (BDD)

• Makes tests easy to understand

• Reuse test code

• Data driven

Page 33: Selenium IDE and Beyond

Selenium IDE Plugins

Page 34: Selenium IDE and Beyond

Where to find them?

• Selenium download page

http://seleniumhq.org/download/

• Firefox add-ons page

https://addons.mozilla.org/en-US/firefox/

• Other places on the Internet

Google

Page 35: Selenium IDE and Beyond

https://addons.mozilla.org/

Page 36: Selenium IDE and Beyond

Remember Cats are Cool!

http://farm2.static.flickr.com/1250/964877496_27357f5d8f_b.jpg

Page 37: Selenium IDE and Beyond

Thanks!

Questions welcome

Photos (Creative Commons Licensed) from http://animalphotos.info