The Zen of UI Testing with Selenium, Hudson and Sauce Labs
Sauce AI for Test Authoring: Move from purport to execution in minutes.|xBack to ResourcesBlogPosted
Sauce AI for Test Authoring: Move from purport to execution in minutes.
|
x
Blog
The Zen of UI Testing with Selenium, Hudson and Sauce Labs
This office was written for theMuleSoft Blogby Dan Diephouse, software architect at MuleSoft, and has been reprinted with his permit.
Most citizenry who write UIs don ’ t forethought about testing. You know why? Because it ’ s hard. So hard, they ’ d rather not even bother and screen things manually. You experience multiple browsers. You have multiple platforms. And bad, you have all these frameworks and toolkits which are hard to essay. I ’ ll pick on GWT hither for a instant. It takes 20 seconds to get a test – let only a server side factor to interact with or the clip it take to run your test.
Testing as an afterthought doesn ’ t work for SaaS/PaaS offerings though. You ’ re deploying multiple times a workweek or even day. You postulate to be certain that you ’ re not breaking anything. And there is only one way to do this: tests! And I mean real, actual-in-the-browser-dealing-with-crazy-cross-browser-bugs tests.
SUSA automates exploratory testing with persona-driven behavior, catching bugs that scripted automation misses.
There is only one real way to do this as far as I know: Selenium. And while it will work with any webapp, it glisten when your UI is all browser establish. This is the approach we took with iON – there is no server side framework. It ’ s a rich Javascript, MVC (ish) UI do withBackbone.jsand jQuery, and power by a set ofReposeful services. Having used many UI frameworks over the years this has to be by far my preferent UI setup and the easiest to test that I ’ ve worked with. And, it ’ s fast – I can run tests quicker than I can test things manually. This put proper incentives in spot to write tests.
We unite this apparatus with support to run tests on their grid against our build host. There is no way I would ’ ve been able to get thing QA ’ d and working in IE with such little clip if I could not have used their infrastructure to do so. QA ’ ing manually simply takes too long and to set up this infrastructure ourselves would ’ ve taken eternally.
(Sauce would like to mention that MuleSoft is looking for strong Web UI/JavaScript Engineers to hack on Selenium. If that sounds like fun to you,get in touchwith them!)
Automate This With SUSA
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.
Try SUSA FreeTest Your App Autonomously
Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.
Try SUSA Free