{"id":937,"date":"2015-06-29T15:17:25","date_gmt":"2015-06-29T22:17:25","guid":{"rendered":"http:\/\/angryweasel.com\/blog\/?p=937"},"modified":"2015-06-29T15:17:28","modified_gmt":"2015-06-29T22:17:28","slug":"why-the-ui","status":"publish","type":"post","link":"https:\/\/angryweasel.com\/blog\/why-the-ui\/","title":{"rendered":"&ldquo;Why the UI?&rdquo;"},"content":{"rendered":"<p>Readers of my blog know my stance on UI automation. But, as I\u2019ve forgotten my StickyMinds password, and the answer is longer than 140 characters, so I\u2019m responding here.<\/p>\n<p><a href=\"http:\/\/www.stickyminds.com\/article\/why-selenium-should-be-your-ui-test-tool\">This article<\/a> from Justin Rohrman talks about the coolness of Selenium for UI testing. In a paragraph called, \u201cWhy the UI\u201d, Justin wrote:<\/p>\n<blockquote>\n<p>The API and everything below that will give you a feel for code quality and some basic functionality. Testing the UI will help you know things from a different perspective: the user\u2019s.<\/p>\n<\/blockquote>\n<p>I like everything else in the article, but that second sentence kills me. Writing automated tests for the UI is as close to a user perspective as I am to the moon (I\u2019m only on the 20th floor). I\u2019m going to do Justin a favor and rewrite that paragraph for him here. Justin \u2013 if you read this, feel free to copy and paste the edit.<\/p>\n<blockquote>\n<p>\u2026some basic functionality. Testing the UI is difficult and prone to error, and automation can never, ever in a million years replace, replicate, or mimic a real users interaction with the software. However, sometimes it\u2019s convenient \u2013 and often necessary to write UI automation for web pages, and in cases where that happens, Selenium is obvious choice.<\/p>\n<\/blockquote>\n<p>Justin \u2013 your work is good \u2013 I just disagree (a LOT) with the trailing sentence of the paragraph in question. <\/p>\n<p>Back to work for me\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Readers of my blog know my stance on UI automation. But, as I\u2019ve forgotten my StickyMinds password, and the answer is longer than 140 characters, so I\u2019m responding here. This article from Justin Rohrman talks about the coolness of Selenium for UI testing. In a paragraph called, \u201cWhy the UI\u201d, Justin wrote: The API and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-937","post","type-post","status-publish","format-standard","hentry","category-allposts"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/posts\/937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/comments?post=937"}],"version-history":[{"count":0,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/posts\/937\/revisions"}],"wp:attachment":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/media?parent=937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/categories?post=937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/tags?post=937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}