Introduction to holmium

1,466 views
1,286 views

Published on

Introduction to using holmium page-objects to write tests using selenium in python.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,466
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introduction to holmium

  1. 1. Introduction to Holmium Sajnikanth Suriyanarayanan Presented at Vistaprint on 14th May 2014
  2. 2. 10+ years in Software Quality Assurance and Functional Testing Lead Quality Assurance at Vistaprint Singapore Contributor to Holmium http://sajnikanth.com About Me
  3. 3. Contents Sample script nosetests Challenges Page Objects Using Holmium Questions
  4. 4. Testing Login
  5. 5. nosetests Organize tests better Run selected tests Plugin Architecture List all tests Test Runner (less boilerplate code) Holmium is a nose plugin
  6. 6. Some Challenges
  7. 7. Page Objects Remove elements from tests Actions implemented as methods Easy maintenance Cleaner tests http://pragprog.com/magazines/2010-08/page-objects-in-python
  8. 8. Holmium - Page Objects made easy
  9. 9. Holmium - Test Script
  10. 10. Uses holmium page objects Browsers supported - chrome, firefox, opera, safari, ie, phantomjs Run with nosetests
  11. 11. Other Options Environment and login credentials can be a dictionary User-Agents supported - iphone, ipad, android ...
  12. 12. Conclusion Easier than vanilla page objects More options during run time No-BS test code http://holmiumcore.readthedocs.org
  13. 13. Resources https://github.com/sajnikanth/holmium-demo View this presentation from http://sajnikanth.com
  14. 14. Questions?

×