Introduction to holmium
-
Upload
sajnikanth-suriyanarayanan -
Category
Technology
-
view
868 -
download
2
description
Transcript of Introduction to holmium
![Page 1: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/1.jpg)
Introduction to HolmiumSajnikanth Suriyanarayanan
Presented at Vistaprint on 14th May 2014
![Page 2: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/2.jpg)
10+ years in Software Quality Assurance and Functional TestingLead Quality Assurance at Vistaprint SingaporeContributor to Holmiumhttp://sajnikanth.com
About Me
![Page 3: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/3.jpg)
ContentsSample scriptnosetestsChallengesPage ObjectsUsing HolmiumQuestions
![Page 4: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/4.jpg)
Testing Login
![Page 5: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/5.jpg)
nosetestsOrganize tests betterRun selected testsPlugin ArchitectureList all testsTest Runner (less boilerplate code)
Holmium is a nose plugin
![Page 6: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/6.jpg)
Some Challenges
![Page 7: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/7.jpg)
Page ObjectsRemove elements from testsActions implemented as methodsEasy maintenanceCleaner testshttp://pragprog.com/magazines/2010-08/page-objects-in-python
![Page 8: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/8.jpg)
Holmium - Page Objects made easy
![Page 9: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/9.jpg)
Holmium - Test Script
![Page 10: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/10.jpg)
Uses holmium page objectsBrowsers supported - chrome, firefox, opera, safari, ie, phantomjs
Run with nosetests
![Page 11: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/11.jpg)
Other Options
Environment and login credentials can be a dictionaryUser-Agents supported - iphone, ipad, android...
![Page 12: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/12.jpg)
ConclusionEasier than vanilla page objectsMore options during run timeNo-BS test codehttp://holmiumcore.readthedocs.org
![Page 13: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/13.jpg)
Resourceshttps://github.com/sajnikanth/holmium-demoView this presentation from http://sajnikanth.com
![Page 14: Introduction to holmium](https://reader035.fdocuments.net/reader035/viewer/2022081400/5552bf29b4c905920f8b4746/html5/thumbnails/14.jpg)
Questions?