Make yourself comfortable and leverage Selenium with Python
summary
Story of a real Selenium + Python system: started with verbose page objects, did two refactors, and now ships standalone libraries that abstract the UI with widgetastic, replace globals with dependency injection, and separate navigation into a backtracking engine that finds shortest UI paths. Implements version picking for changing locators, hooks for stability, and a facade called sentaku to run the same tests via UI or REST. Result: incremental migration finished recently, improved reliability and faster fixtures.
AI-written summary · about
chapters (19)
- 0:00Start
- 3:31RED HAT CLOUDFORMS (MANAGEIQ)
- 4:01A LITTLE BIT OF HISTORY
- 4:47UI VS REST I AM AWARE ABOUT THE TESTING PYRAMID
- 6:32DIVIDE AND CONQUER
- 7:37NAVIGATING AROUND
- 9:50REFACTOR TIME
- 10:50INSPIRED BY DJANGO DATABASE MODEL
- 11:21WHAT IS WIDGETASTIC?
- 12:04AN EXAMPLE
- 13:02VERSION PICKING
- 14:01PARAMETRIZED VIEWS
- 15:11HOOKS/PLUGINS
- 17:12IT WAS SEPARATED
- 18:00REALITY VS. TEST
- 18:44MODEL COLLECTIONS OUR SOLUTION
- 19:39NAVIGATION USES IT
- 23:29COMPARE WITH FW 1.0
- 27:49CONCLUSION
related talks
22mAn Introduction to Selenium WebDriver with Python
36m3 ways not to use Selenium
37mSelenium In the Enterprise: What went right, what went wrong (so far)
01h 53mHands-On Web UI Testing
40mSelenium and the Four Rules of Simple Design
27mKnowing your automation
37mFrom Rigidity to Resiliency: An Evolutionary Tale of Selenium-Based Frameworks
21mThe Web has evolved. Has your testing evolved too?
