200 likes | 678 Views
Selenium IDE. Benefits. Selenium IDE is full-featured Selenium version with GUI Easy to install (Firefox plugin) Plugin support Intelligent field selection will use IDs, names, CSS or XPath as needed Save tests as HTML, Ruby scripts, or any other format Support all common Selenium commands
E N D
Benefits • Selenium IDE is full-featured Selenium version with GUI • Easy to install (Firefox plugin) • Plugin support • Intelligent field selection will use IDs, names, CSS or XPath as needed • Save tests as HTML, Ruby scripts, or any other format • Support all common Selenium commands • Easy record and playback • Experimental WebDriver support
Install • Open http://docs.seleniumhq.org/download/ in Firefox • Download and install latest released version • Restart Firefox
Locators Practice: Selenium context menu, visual locator
Wait commands Practice: Overview other “waitFor” commands
Actions Practice: Open google.com homepage and search “Selenium IDE”
Verify commands Practice: other verify commands overview
How to verify CSS? Command: verifyEval Target: window.getComputedStyle(window.document.getElementById(“myID”)).getPropertyValue('color'); Value: rgb(255,255,160) Practice: Try to verify logo width on maxymiser.com
Practice • Find 10 differences game