{"id":197,"date":"2009-04-27T20:31:51","date_gmt":"2009-04-27T19:31:51","guid":{"rendered":"http:\/\/blog.pczone.be\/?p=197"},"modified":"2009-04-27T16:38:36","modified_gmt":"2009-04-27T15:38:36","slug":"selenium-webtesting","status":"publish","type":"post","link":"http:\/\/blog.pczone.be\/?p=197","title":{"rendered":"Selenium webtesting"},"content":{"rendered":"<p>For my current project I already have a lot of testcases (off course). In the beginning I also had some webtests but these weren&#8217;t really what I wanted. Today I finally succeeded in performing full roundtrip testcases with Selenium. I first recorded some testcases with the IDE plugin, I exported these testcases to Java and started experimenting with the code.<\/p>\n<p>After a short coding marathon I had created several tests. A user logs in, performs some actions and logs out. Another user logs in, picks up the actions from the first user and completes the actions. A real ping pong game like the real application should work. I see the firefox windows open, fields getting filled,buttons getting clicked,&#8230; it&#8217;s as if a user is really performing all these actions on my computer.<\/p>\n<p>I still have to integrate this with my Hudson builds. I&#8217;m not yet 100% sure how this will work as my Hudson is running inside a Tomcat that&#8217;s running as the System user. This might cause some problems, maybe I should run my tomcat from the console &#8230;? I&#8217;ll keep you posted.<\/p>\n<p>I actually wonder how other environments like dotnet,php,ruby perform these tasks? Do they have a build in tool for performing reall web tests?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For my current project I already have a lot of testcases (off course). In the beginning I also had some webtests but these weren&#8217;t really what I wanted. Today I finally succeeded in performing full roundtrip testcases with Selenium. I first recorded some testcases with the IDE plugin, I exported these testcases to Java and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.pczone.be\/?p=197\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Selenium webtesting&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[4],"tags":[],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-informatics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3U9nk-3b","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=197"}],"version-history":[{"count":1,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":198,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions\/198"}],"wp:attachment":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}