Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to holmium

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

  • Login to see the comments

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 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
  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
  13. 13. Resources View this presentation from
  14. 14. Questions?