3 easy steps to your first Selenium acceptance test.
People keep asking me how to start writing Selenium tests. I’m going to give all my secrets away in this easy 3 step plan.
Begin by recording your high level test with Selenium IDE, convert the result into the language of your choice and put the code in a unit test.
Walk through the generated code and extract “page” into an object, use these to develop a Logical Functional Model of your application.
Consider decomposing page elements into objects to make the test code more clear.
Yes, it’s that easy… just give it a try and leave comments if you have questions. And of course, I have to provide the obligatory link to other Selenium related posts I’ve written.