Drulenium - Testing Made Easy

Post on 17-May-2015

638 views 1 download

Tags:

description

Want to automate testing on your site? don't know coding? No Problem! Selenium to your rescue!! Drupal + Selenium = Drulenium In this session I will demonstrate how Selenium can be used to - Build the site - Generate test content - Deploy Dev -> Stage -> Prod - Automate Testing Selenium IDE is an integrated development environment for Selenium scripts. It is implemented as a Firefox extension, and allows you to record, edit, and debug tests. Selenium IDE includes the entire Selenium Core, allowing you to easily and quickly record and play back tests in the actual environment that they will run." Experience Level: Beginner

Transcript of Drulenium - Testing Made Easy

Drulenium Testing made easy

Nikhil Dubbaka - TechNikh

Drupal + Selenium #Drulenium

About Me: Nikhil Dubbaka

@TechNikh TechNikh nik@TechNikh.com

Disclaimer:I am not a testing expert!

Types of Testing

● Unit testing● Functional testing● Load testing● Usability testing● Security testing

Why This Testing?

● Changes in your code will break other code.● Increases efficiency● Better company image● Reduces overall time spent on the project

Who needs Testing?

● Site builders● Themers● Module builders● Administrators

Manual/Automated Testing

Courtesy: http://blog.gfader.com/2010/10/why-are-automated-tests-so-important.html

Automated Testing

● Faster feedback● Saves time● Safety net for code changes● Humans make mistakes

Selenium

● Browser automation● Via script running on a server● Via IDE running locally

What can you test?

Almost Everything*

*Conditions Apply

Other Uses

Can I use Selenium for anything else?

Yes*

*Not Recommended

Questions?

@TechNikh TechNikh nik@TechNikh.com