Automate web page using selenium webdriver and Python
- Quinn Song
- 2.7
- Selenium 3.0.2
- Firebug 2.0.18
- FirePath 0.9.7.1.1 By Pierre Tholence
- Python unittest
- This awesome website is designed for Testing Selenium / QTP scripts
- Simple one: Open up the page, and then quit :)
- Fun one: Follow the "Alert" at the bottom:
- Open up the url -> Assert the page title
- WebDriverWait (timeout: 10s) until Alert link clickable;
- Sleep 5s for new tab window;
- Switch to new window;
- Assert new window title;
- Sleep 5s for new alert pop up;
- Assert alert pop up;
- Assert alert text "REGISTRATION FORM"
- Fill out Registration Form:
- Once registratin successful, try the login using username/password