![]() ![]() Creating solid UI automation ensures you’re guarded against regressions around business-critical features, like your customers adding items to a shopping cart and checking out-in other words, giving your company money. I often refer to a line my friend Adam Goucher uses when discussing why teams should do UI automation: “Show me the money!” he says, quipping a line from the film Jerry McQuire. Hopefully you’ve got a solid amount of test automation at other levels, but while unit and integration tests are critical to a system’s overall automation approach, by definition they don’t cross all boundaries of a functional slice. UI automation ensures you’ve got tripwires around your most critical business value features in your system. It’s important you understand if it’s worth the cost before jumping in! UI automation is a significant cost in your overall development cycle. We in the software industry don’t ask “Why?” anywhere near as often as we should. Your first question about UI automation is one that’s too often missed: why do UI automation at all? Aren’t unit, integration, and manual/exploratory tests enough? This short series will hopefully give you some ideas on how to look at your specific environment, and how to create a new (or tailor an existing!) automation strategy. UI automation is a difficult domain to work in, and there aren’t any magic “best practices” other than one: use your brain. You’ll notice I’ve mentioned “questions” a lot answers, not so much. Once you’re past the basics, I hope to help you find the right questions on how to evolve your testing over time to continue adding value to your project. The goal of these articles is to help you start asking the right questions to begin building high-value, maintainable automation in place for your projects. Welcome to the first of two articles on being successful with user interface (UI) automation. Republished here with kind permission from the author.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |