Selenium IDE and Beyond

Post on 26-Jun-2015

2.955 views 3 download

Tags:

description

Presentation from talk at Selenium Camp 2013

Transcript of Selenium IDE and Beyond

Selenium IDE and Beyond

Selenium Camp, Kiev

1st March 2013Samit Badle

Samit Badle

@samitbadle

http://blog.reallysimplethoughts.com

Cats are Cool!

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

Cats are Cool!

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

Cats are Cool!

Dogs are Cool 2!

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

Exercise Time

How many of you have heard about Selenium IDE?

Exercise Time

How many of you have NOT heard about Selenium IDE?

Exercise Time

How many of you use Selenium IDE?

Exercise Time

How many of you do NOT use Selenium IDE?

Selenium IDE

Selenium IDE

• A simple record and playback tool

• Works as an addon to Firefox

• Can be extended by Plugins

Why NOT?

• Maintenance gets harder as number of

tests grow

• Simple: Does not have conditionals, loops,

function creations

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!

Whats NEW?

• Webdriver playback

Webdriver playback

• Firefox

Webdriver playback

• Internet Explorer

Webdriver playback

• Safari

Webdriver playback

• Chrome

Webdriver playback

• iPhone

Webdriver playback

• iPad

Webdriver playback

• PhantomJS

What Coming Next?

• Live Export

• Support for more Webdriver features

• Better Code Generation for export

• Behavior Driven Development

Experiments

Behavior Driven Development (BDD)

• What does a test do?

• What are we testing?

• What do we expect?

Behavior Driven Development (BDD)

• Pay Raise

• Better Job Prospects

Behavior Driven Development (BDD)

Behavior Driven Development (BDD)

Behavior Driven Development (BDD)

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

BDD in Selenium IDE

BDD in Selenium IDE

Behavior Driven Development (BDD)

• Makes tests easy to understand

• Reuse test code

• Data driven

Selenium IDE Plugins

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

https://addons.mozilla.org/

Remember Cats are Cool!

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

Thanks!

Questions welcome

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