These are the slides that Andrew MacLeod and Patrick Myles presented at the SPA conference in London, April 2009
http://www.spaconference.org/spa2009/sessions/session219.html
18. ... a more recent test
goal: Use product finder portlet
do Login (${username}=”user1quot;, ${password}=quot;testerquot;)
do CreateNewLayout
do Insert (${portlet}=“Product Finder”)
do AssertPortletPresent (${portlet}=“Product Finder”)
do Logout
20. Objective
To get familiar with the Selenium IDE
To produce a simple test script
To review the script afterwards
Experience some Ajax testing pitfalls
69. Summary
Selenium is not a perfect testing tool, but…
Selenium extensions are effective
actions
locators
accessors
UCD is a good way to structure test cases
goals
tasks
actions
70. Taking things forward…
Develop a simple DSL for testers to use
invoke tasks with parameters
get rid of ugly HTML “Selenese”
use a PATH mechanism to locate tasks
-- goal: use product finder portlet
do Login (${username}=”user1quot;, ${password}=quot;testerquot;)
do CreateNewLayout
do Insert (${portlet}=“Product Finder”)
do AssertPortletPresent (${portlet}=“Product Finder”)
do Logout