Top Banner
22

Selenium and Joomla! open Source SECONF-2014

Aug 06, 2015

Download

Technology

Puneet Kala
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Selenium and Joomla! open Source SECONF-2014
Page 2: Selenium and Joomla! open Source SECONF-2014

Selenium and Joomla! Open Source

Puneet Kala

@punekala

Page 3: Selenium and Joomla! open Source SECONF-2014
Page 4: Selenium and Joomla! open Source SECONF-2014

CMS Usage for Building WebSites

Src: http://w3techs.com/

Page 5: Selenium and Joomla! open Source SECONF-2014

1 Million Downloads Every Month

Src: http://joomlacode.org/

Page 6: Selenium and Joomla! open Source SECONF-2014

Code Contribution!

Page 7: Selenium and Joomla! open Source SECONF-2014

Automated Testing for Joomla!

Page 8: Selenium and Joomla! open Source SECONF-2014

Selenium and Joomla

Automated Testing with Selenium RC was started in 2010, by Ian MacLennan

Shifted to Selenium Webdriver, Started by Mark Dexter, in 2012

Page 9: Selenium and Joomla! open Source SECONF-2014

System Testing with Joomla

Two Google Summer of Code Projects in year 2013, 2014 to develop the System Test Suite with Webdriver.

Code Coverage of almost 80% backend and Major Frontend part of the Application.

Approx. 200+ Testcases.

Page 10: Selenium and Joomla! open Source SECONF-2014

Structure of System Tests

Page 11: Selenium and Joomla! open Source SECONF-2014

Test Suite+

Reporting Tool, that displays Errors and Failures in a table structure

Travis CI Integration with System Tests, with every Pull Request.

Page 12: Selenium and Joomla! open Source SECONF-2014
Page 13: Selenium and Joomla! open Source SECONF-2014

Joomla! Extensions

Extra features that aren’t available with Joomla! by default can easily be implemented by building an Extension.

More than 8300 Extensions are available on the Joomla Extension Directory.

Page 14: Selenium and Joomla! open Source SECONF-2014

Testing Joomla! Extensions

Adding Joomla! as Submodule.

Automated Tests, Installs Joomla and then Installs the Extension on it.

Page Classes can be further built just like we have for the CMS.

Can be used for testing any Extension.

Page 15: Selenium and Joomla! open Source SECONF-2014

Limitation and Difficulties

HTML Elements with no ID Attributes.

Maintenance is always a Pain.

Limitation of Travis test execution.

Need for Parallel Testing, limitations of Current Suite.

Page 16: Selenium and Joomla! open Source SECONF-2014

Experience

Is Functional Testing really Required?

Test Automation strategy is the most Important, right from the Beginning

Choosing the correct framework.

Plan to achieve small successes and grow.

Automation is not just about Regression Testing.

Page 17: Selenium and Joomla! open Source SECONF-2014

Contd.

You need Patience, Automation Scripts don’t just payoff right from the first release of a Product.

Testers and Developers -: you need to be on Same Team!!!!

Record and Playback, it will never payback.

Page 18: Selenium and Joomla! open Source SECONF-2014
Page 19: Selenium and Joomla! open Source SECONF-2014

Future Goals

Focus on Scaling System Tests.

Use of an Advanced Framework like CodeCeption.

Use of Cloud Based Testing Services.

Focus on Parallelizing Tests execution.

Page 20: Selenium and Joomla! open Source SECONF-2014
Page 21: Selenium and Joomla! open Source SECONF-2014

Get on Board!

We need your Help!

Volunteer, Learn, Grow with us.

System Testing Group: http://docs.joomla.org/System_Tests_Working_Group

Email: [email protected]

Twitter: puneet_kala

Page 22: Selenium and Joomla! open Source SECONF-2014