{"id":140,"date":"2016-02-26T10:08:51","date_gmt":"2016-02-26T10:08:51","guid":{"rendered":"http:\/\/eitzen.at\/?p=140"},"modified":"2016-02-26T11:51:59","modified_gmt":"2016-02-26T11:51:59","slug":"getting-started","status":"publish","type":"post","link":"https:\/\/eitzen.at\/index.php\/getting-started\/","title":{"rendered":"Getting Started"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"98\" data-permalink=\"https:\/\/eitzen.at\/index.php\/seleniet-testautomation\/logo-android\/\" data-orig-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/logo-android.png?fit=649%2C740&amp;ssl=1\" data-orig-size=\"649,740\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"logo-android\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/logo-android.png?fit=640%2C730&amp;ssl=1\" class=\"alignright wp-image-98\" src=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/logo-android-263x300.png?resize=383%2C437\" alt=\"logo-android\" width=\"383\" height=\"437\" srcset=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/logo-android.png?resize=263%2C300&amp;ssl=1 263w, https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/logo-android.png?w=649&amp;ssl=1 649w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/>So YOU dare to try out Seleniet? Brave one you are&#8230;<\/p>\n<p>This post will show you a step by step guide on how to get Seleniet running without any external System at hand but just a PC with your file system.<\/p>\n<h2>Installation \/ Setup<\/h2>\n<p>Download the latest version of seleniet by navigating to:<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"http:\/\/eitzen.at\/maven-repo\/com\/et\/seleniet\/seleniet-exec\/\" target=\"_blank\">http:\/\/eitzen.at\/maven-repo\/com\/et\/seleniet\/seleniet-exec\/<\/a><\/p>\n<p>and choosing the latest version. Navigate into that folder and download the<\/p>\n<pre style=\"padding-left: 30px;\">seleniet-exec-{YOURVERSION}-bin.zip<\/pre>\n<p>unzip it and rename the created folder<\/p>\n<pre style=\"padding-left: 30px;\">seleniet-exec-{YOURVERSION}<\/pre>\n<p>to something that matches your project name.<\/p>\n<p>Change into this local directory and VOILA everything is setup!<\/p>\n<h2>Starting Seleniet<\/h2>\n<p>Seleniet offers two &#8220;modes&#8221;:<\/p>\n<ul>\n<li>Composer: an IDE like mode where you can create test cases and modify them, and you can also\u00a0configure execution profiles and debug test executions.<\/li>\n<li>Run: to start test execution with or without Executor GUI<\/li>\n<\/ul>\n<p>So the first step for you is to start with the composer by running<\/p>\n<pre style=\"padding-left: 30px;\">seleniet.bat (or .\/seleniet.sh if you are on Linux)<\/pre>\n<p>This brings up the composer IDE where you can create your test cases as normal text files. In our example we gonna start with a simple test case and that is we want to search Google for Seleniet:<\/p>\n<pre style=\"padding-left: 30px;\">openurl http:\/\/www.google.at\r\nenter xpath,\/\/input[@name='q'],\"Seleniet Test\",replace\r\nenter xpath,\/\/input[@name='q'],$$[Keys.ENTER]<\/pre>\n<p>This code tells Seleniet to go to the google\u00a0page, enter &#8220;Seleniet&#8221; and &#8220;Test&#8221; and hit Return.<\/p>\n<p>Save this to a local file with an<strong><span style=\"color: #800000;\"> .seleniet<\/span><\/strong> extension and select Execute | Run&#8230;<\/p>\n<p>In the dialog please choose the following settings:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"141\" data-permalink=\"https:\/\/eitzen.at\/index.php\/getting-started\/snapshot7\/\" data-orig-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot7.png?fit=724%2C654&amp;ssl=1\" data-orig-size=\"724,654\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Execution configuration for Getting Started\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot7.png?fit=640%2C578&amp;ssl=1\" class=\" wp-image-141 aligncenter\" src=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot7-300x271.png?resize=640%2C578\" alt=\"Execution configuration for Getting Started\" width=\"640\" height=\"578\" srcset=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot7.png?resize=300%2C271&amp;ssl=1 300w, https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot7.png?w=724&amp;ssl=1 724w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>and click Run. Be patient, Seleniet has grown to a real monster so it might take some seconds till it pops up the Executor!<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"142\" data-permalink=\"https:\/\/eitzen.at\/index.php\/getting-started\/snapshot8\/\" data-orig-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot8.png?fit=698%2C802&amp;ssl=1\" data-orig-size=\"698,802\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Getting Started Executor before start\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot8.png?fit=640%2C735&amp;ssl=1\" class=\"wp-image-142 aligncenter\" src=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot8-261x300.png?resize=640%2C735\" alt=\"Getting Started Executor before start\" width=\"640\" height=\"735\" srcset=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot8.png?resize=261%2C300&amp;ssl=1 261w, https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot8.png?w=698&amp;ssl=1 698w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>You may now click Next Step to walk through the test case step by step or if you are &#8220;insane&#8221; click the Continue button to get it kicked and running.<\/p>\n<p>&nbsp;<\/p>\n<p>If you closed the Composer now you would have to enter the execution configuration again on restart so it&#8217; sbest to save it by going again to Execution | Run&#8230; and click on the Save Profile button on bottom left. Name it to anything but use the <strong><span style=\"color: #800000;\">.selexprof<\/span> <\/strong>extension. In our case name it local.selexprof for example.<\/p>\n<p>This way you now can run your tests in two ways. One via the Composer (AFTER you have restarted it) \u00a0by selecting Execution | and the shortcut to your selexprof file listed there or two via the command line:<\/p>\n<pre style=\"padding-left: 30px;\">seleniet.bat run --profile local<\/pre>\n<p>HOOORRAYYYY I hope you are already infected by the Seleniet Virus \ud83d\ude09<\/p>\n<h2>So where are the results?<\/h2>\n<p>Besides the green log area background color you hopefully noticed there is also a junit.html report file created. Just check it out in your browser \ud83d\ude42<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"147\" data-permalink=\"https:\/\/eitzen.at\/index.php\/getting-started\/snapshot9\/\" data-orig-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot9.png?fit=957%2C783&amp;ssl=1\" data-orig-size=\"957,783\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Getting Started Test report\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot9.png?fit=640%2C524&amp;ssl=1\" class=\" wp-image-147 aligncenter\" src=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot9-300x245.png?resize=605%2C494\" alt=\"Getting Started Test report\" width=\"605\" height=\"494\" srcset=\"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot9.png?resize=300%2C245&amp;ssl=1 300w, https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot9.png?resize=768%2C628&amp;ssl=1 768w, https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/02\/snapshot9.png?w=957&amp;ssl=1 957w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So YOU dare to try out Seleniet? Brave one you are&#8230; This post will show you a step by step guide on how to get Seleniet running without any external System at hand but just a PC with your file system. Installation \/ Setup Download the latest version of seleniet by navigating to: http:\/\/eitzen.at\/maven-repo\/com\/et\/seleniet\/seleniet-exec\/ and <a href=\"https:\/\/eitzen.at\/index.php\/getting-started\/\" rel=\"nofollow\"><span class=\"sr-only\">Read more about Getting Started<\/span>[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":74,"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,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[5],"class_list":["post-140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-job","tag-seleniet"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/eitzen.at\/wp-content\/uploads\/2016\/01\/logo-text.png?fit=751%2C235&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p88Djt-2g","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/comments?post=140"}],"version-history":[{"count":9,"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/posts\/140\/revisions\/152"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/media\/74"}],"wp:attachment":[{"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/media?parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/categories?post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eitzen.at\/index.php\/wp-json\/wp\/v2\/tags?post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}