<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-2260576219618659774</atom:id><lastBuildDate>Thu, 15 Jan 2026 08:24:14 +0000</lastBuildDate><category>soapUI</category><category>MySQL</category><category>SQL</category><category>Selenium</category><category>Maven</category><category>Fundamentals</category><category>Tutorials</category><category>GroovyScripts</category><category>Jenkins</category><title>Software Testers Forum</title><description>Share, Learn &amp;amp; Expertise...!!</description><link>http://softwaretestersforum.blogspot.com/</link><managingEditor>noreply@blogger.com (Suntaragali The Smart Techie)</managingEditor><generator>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-7308359211008731498</guid><pubDate>Fri, 05 Jun 2020 10:17:00 +0000</pubDate><atom:updated>2020-06-05T15:47:25.658+05:30</atom:updated><title>Soapui For Beginners - 2020 | Scenario Testing | Request Response Chaining in Web Service</title><description>In this lecture, we would be looking at how extract the response value from one service request and pass it as an input to the other.&lt;br /&gt;
&lt;br /&gt;
Here in this session we would be trying to simulate the following UI scenario.&lt;br /&gt;
&lt;br /&gt;
1. Search for a Book in an online bookstore application&lt;br /&gt;
2. Select a book from the search result and add it to Cart.&lt;br /&gt;
3. Review your order in the cart.
4. Submit the order&lt;br /&gt;
&lt;br /&gt;
We will be looking at how this scenario can be tested at a message layer by chaining the service request and response using simple Property Transfer feature in SoapUI.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;If you like my content then please do share this with your friends and also don&#39;t forget to Like &amp;amp; Subscribe to my channel..!! Happy Learning :)

&lt;br /&gt;
&amp;nbsp;
&lt;br /&gt;
&amp;nbsp;

&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/QnbNZxjQS8Y&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.</description><link>http://softwaretestersforum.blogspot.com/2020/06/soapui-for-beginners-2020-scenario.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/QnbNZxjQS8Y/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-4394672570860727238</guid><pubDate>Fri, 29 May 2020 10:56:00 +0000</pubDate><atom:updated>2020-05-29T16:26:10.324+05:30</atom:updated><title>Soapui For Beginners | Scenario Testing | Request Response Chaining In A...</title><description>In this lecture we would be looking at how to perform scenario testing for a given set of API’s.&lt;br /&gt;
&lt;br /&gt;
Ideally, scenario testing can be done at the service layer by simulating the user interaction done at the UI layer with the help of the exposed API / Web Services.&lt;br /&gt;
&lt;br /&gt;
In this session we would be looking at Scenario testing / API chaining for a given set of Rest services.&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
As part of which we would look at the following approaches for performing scenario testing / API chaining using.&lt;br /&gt;
&lt;br /&gt;
1.   Property Transfer&lt;br /&gt;
2.   Groovy Script&lt;br /&gt;
&lt;br /&gt;
I would love to stay connected with you all and would love to hear your valuable comments / suggestions if any. 
If you like my videos then please don&#39;t forget to subscribe my channel and hit the bell icon to never miss an update in the future.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;


&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/A8Ft0TqDEJU&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.</description><link>http://softwaretestersforum.blogspot.com/2020/05/soapui-for-beginners-scenario-testing_29.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/A8Ft0TqDEJU/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-7716542737206878162</guid><pubDate>Thu, 21 May 2020 15:06:00 +0000</pubDate><atom:updated>2020-05-21T20:36:22.039+05:30</atom:updated><title>SoapUI For Beginners | Customizing Html Reports In SoapUI Free Version</title><description>In this lecture, we would be looking at how to Customize the generated SoapUI HTML reports. Basically, will be implementing the following changes in the generated HTML reports.&lt;br /&gt;
&lt;br /&gt;
1. Add a customized Title to the SoapUI HTML report&lt;br /&gt;
2. Append Execution Date and Time to the SoapUI HTML report.&lt;br /&gt;
3. Generate Test Reports dynamically using SoapUI free version.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;I would love to stay connected with you all and would love to hear your valuable comments / suggestions if any.&lt;br /&gt;
&lt;br /&gt;
If you like my videos then please do support by sharing it with your friends / colleagues and also please don&#39;t forget to subscribe to my channel and hit the bell icon to never miss an update in the future:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; 
 


&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/WE5VyaCGdn0&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.</description><link>http://softwaretestersforum.blogspot.com/2020/05/soapui-for-beginners-customizing-html.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/WE5VyaCGdn0/default.jpg" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-8430403270759531139</guid><pubDate>Wed, 20 May 2020 17:38:00 +0000</pubDate><atom:updated>2020-05-20T23:24:29.070+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Maven</category><title>Install And Configure Maven In Simple Steps</title><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;In this article will be looking at how to install and configure Maven on our machine. First of all to install Maven click on the link &lt;a href=&quot;https://maven.apache.org&quot;&gt;here&lt;/a&gt; and navigate to downloads section as shown below.&lt;/p&gt;  &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;  &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzrAZNL5_UXv6qiQpyE1M1hvdMS2QEbFoUYEOULMTXDrsBekRgy9ZZYIHxl2-guOpu6JHdaY7yneUDYvzoKKuvbodr37XndCQmJsOzu4Z5155ROVvNX9wwS_FzyWslrMnXN-Yu6kQCVtd7/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;587&quot; data-original-width=&quot;1338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzrAZNL5_UXv6qiQpyE1M1hvdMS2QEbFoUYEOULMTXDrsBekRgy9ZZYIHxl2-guOpu6JHdaY7yneUDYvzoKKuvbodr37XndCQmJsOzu4Z5155ROVvNX9wwS_FzyWslrMnXN-Yu6kQCVtd7/d/Maven_website.PNG&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;h3&gt;Installing Maven: &lt;/h3&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Before installing maven, please do make sure to have JAVA installed and configure the environment variables accordingly as this is the only pre-requisite for installing Maven. Now select the appropriate version and click on the download link. &lt;/p&gt;  &lt;p&gt;Once Maven is downloaded, extract the contents and place it in a folder something similar to the below one&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGq0Cdr9Zc9Uif-IgpWDaCNyK3dOPivwUM4Yi4d3f6iePy6bcP77PDR9PhX85Sf6RvPURuwxGzZqEwNxVxTl7siic2kRBAyEc6BwXznksms5M_2w2WKCuFQFfCBWNMXwn9ji7dzWpQ225R/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;321&quot; data-original-width=&quot;818&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGq0Cdr9Zc9Uif-IgpWDaCNyK3dOPivwUM4Yi4d3f6iePy6bcP77PDR9PhX85Sf6RvPURuwxGzZqEwNxVxTl7siic2kRBAyEc6BwXznksms5M_2w2WKCuFQFfCBWNMXwn9ji7dzWpQ225R/d/maven_installed_directory.PNG&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;font size=&quot;4&quot;&gt;Updating Environment Variables&lt;/font&gt;:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Now in order to let your system know that you have installed maven and also to enable Maven from command line irrespective of the location, you need to configure the environment variables.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Right click on This PC icon in case if you are using Windows 10 operating system or on your computer icon and select Properties option. From the properties window click on Advanced Environment Variables followed by Environment Variables as shown below.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3zwEAeyi3DLm-6H5Tow8mkiDXNhbCBq0vGL2p8pP3rYVD2MDUcVcYQjaY22tyfI4CdGqgGFWqLfB3Ma0QZxGy3UZbwrWDCmAltZyc3vcL-boeCKIiU344SJDGtCg0amsv8a7vXGd3gcAo/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;684&quot; data-original-width=&quot;899&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3zwEAeyi3DLm-6H5Tow8mkiDXNhbCBq0vGL2p8pP3rYVD2MDUcVcYQjaY22tyfI4CdGqgGFWqLfB3Ma0QZxGy3UZbwrWDCmAltZyc3vcL-boeCKIiU344SJDGtCg0amsv8a7vXGd3gcAo/d/environment_variables.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Now under system variables make a new entry with Variable Name as &lt;b&gt;M2_HOME&lt;/b&gt; and Variable value as “Maven_installation_path” as highlighted below.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8nrxLFfEnkcSJQZW4JNuBZpF4O4hE1LQ7FmKm5gUoQCsRQKuuyPG1iS-CpsWKMTpw4SnDXt49UkObbWPYAoybr492Jc2R18t7jNLNT46djtssZVaSwoJCQICYPPeOqle71d9-o0DB0i-A/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;580&quot; data-original-width=&quot;614&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8nrxLFfEnkcSJQZW4JNuBZpF4O4hE1LQ7FmKm5gUoQCsRQKuuyPG1iS-CpsWKMTpw4SnDXt49UkObbWPYAoybr492Jc2R18t7jNLNT46djtssZVaSwoJCQICYPPeOqle71d9-o0DB0i-A/d/M2HomePath.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Now edit the &lt;b&gt;Path variable&lt;/b&gt; and provide the complete installation path of your Maven, including the bin directory.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-GGXEXgXNVfXHCz9t6xKH-fMv-LhAAsIhrE42fvM7mfut4GRy9VqalAOS1bZsKw7UnYPmJp-gemaNaEEe183BiXMYVu37ea5jkiLp_y3qxVeJXe1h8Zu8GnQ5D6qK7QXi5F1nJs_TswVy/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;531&quot; data-original-width=&quot;636&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-GGXEXgXNVfXHCz9t6xKH-fMv-LhAAsIhrE42fvM7mfut4GRy9VqalAOS1bZsKw7UnYPmJp-gemaNaEEe183BiXMYVu37ea5jkiLp_y3qxVeJXe1h8Zu8GnQ5D6qK7QXi5F1nJs_TswVy/d/PathVariable.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;Click on OK button and close all the relevant windows.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Validate Maven Installation:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Now that we have successfully installed and configured Maven, lets do a quick check on the same. For that, invoke your command line by typing cmd in the Windows Run prompt and type the following&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;mvn -v&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;You should be able to see an output similar to the below.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEIyjyJN-vPVRoB2XW8WPAHmuJr_waufYLlaexM7VLlTANi9dzQIdqb2cy_mwKBa6gCGe86Tk4JLPKS6rUOYyM22cnmCQp4jJfL2zYUrg-LrlJowcQUEF07Ic8oQmmwvZpZ3RFl2JuDBTa/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;251&quot; data-original-width=&quot;650&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEIyjyJN-vPVRoB2XW8WPAHmuJr_waufYLlaexM7VLlTANi9dzQIdqb2cy_mwKBa6gCGe86Tk4JLPKS6rUOYyM22cnmCQp4jJfL2zYUrg-LrlJowcQUEF07Ic8oQmmwvZpZ3RFl2JuDBTa/d/CommandLine_Maven.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color=&quot;#3367d6&quot;&gt;Congratulations…!!&lt;/font&gt;&amp;nbsp;You have successfully installed and configured Maven on your machine.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In my next article will look at how to create project using maven commands alone. Until then stay tuned and happy learning..!!&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:8bc9c4ae-1de1-4ab0-b159-cccf5b72d4cf&quot; style=&quot;display: inline; float: none; margin: 0px; padding: 0px;&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/maven&quot; rel=&quot;tag&quot;&gt;maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/mvn&quot; rel=&quot;tag&quot;&gt;mvn&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/install+maven&quot; rel=&quot;tag&quot;&gt;install maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/maven+version&quot; rel=&quot;tag&quot;&gt;maven version&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/m2home&quot; rel=&quot;tag&quot;&gt;m2home&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/maven+home&quot; rel=&quot;tag&quot;&gt;maven home&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/environment+variable&quot; rel=&quot;tag&quot;&gt;environment variable&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/setup+maven+environment&quot; rel=&quot;tag&quot;&gt;setup maven environment&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/M2_HOME&quot; rel=&quot;tag&quot;&gt;M2_HOME&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Maven_Home&quot; rel=&quot;tag&quot;&gt;Maven_Home&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/configure+maven&quot; rel=&quot;tag&quot;&gt;configure maven&lt;/a&gt;&lt;/div&gt;</description><link>http://softwaretestersforum.blogspot.com/2020/05/install-and-configure-maven-in-simple.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzrAZNL5_UXv6qiQpyE1M1hvdMS2QEbFoUYEOULMTXDrsBekRgy9ZZYIHxl2-guOpu6JHdaY7yneUDYvzoKKuvbodr37XndCQmJsOzu4Z5155ROVvNX9wwS_FzyWslrMnXN-Yu6kQCVtd7/s72-c-d/Maven_website.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-430111152239528428</guid><pubDate>Sun, 17 May 2020 08:11:00 +0000</pubDate><atom:updated>2020-05-17T13:43:54.777+05:30</atom:updated><title>SoapUI Tutorial For Beginners | Generate Html Report In SoapUI Free Version</title><description>
In this video tutorial, I would be demonstrating &quot;How to Generate HTML reports using soapUI free version&quot;. Feel free to like and subscribe to my channel in case if this video was informative and helpful.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; 


&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/RSvq2El4id4&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;
If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.&lt;/div&gt;&lt;/div&gt;</description><link>http://softwaretestersforum.blogspot.com/2020/05/soapui-tutorial-for-beginners-generate.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/RSvq2El4id4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-7701280546853165127</guid><pubDate>Mon, 11 May 2020 18:49:00 +0000</pubDate><atom:updated>2020-05-12T21:57:41.740+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Maven</category><title>Maven Goals And Phases</title><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;In this article we will be looking at the basics on Maven build life cycle and their phases.&lt;/p&gt;  &lt;p&gt;Maven is based around the central concept of a build lifecycle. What this means is that the process for building and distributing a particular artefact (project) is clearly defined.&lt;/p&gt;  &lt;p&gt;For a person building a Maven project, the only criteria is to be aware of a small set of commands used to build any projects and the POM will ensure to get the desired results based on these commands.&lt;/p&gt;  &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;  &lt;p&gt;There are three built-in build lifecycles&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;default – handles the project deployment&lt;/li&gt;    &lt;li&gt;clean – performs the project cleaning&lt;/li&gt;    &lt;li&gt;site – deals with project site documentation&lt;/li&gt; &lt;/ol&gt;  &lt;h3&gt;Maven Phases&lt;/h3&gt;  &lt;p&gt;Maven build phase represents a stage in the lifecycle. Each lifecycle has its own list of build phases.&lt;/p&gt;  &lt;p&gt;For Ex: The default lifecycle comprises of the following phases.&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;&lt;code&gt;&lt;strong&gt;validate&lt;/strong&gt;&lt;/code&gt; :&amp;nbsp; validate the project is correct and all necessary information is available &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;code&gt;compile&lt;/code&gt;&amp;nbsp;&lt;/strong&gt;:&amp;nbsp; compile the source code &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;code&gt;test&lt;/code&gt; &lt;/strong&gt;- test the compiled source code using a suitable unit testing framework. &lt;/li&gt;    &lt;li&gt;&lt;code&gt;&lt;strong&gt;package&lt;/strong&gt;&lt;/code&gt; – package the compiled code into a distributable format, such as a JAR. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;font face=&quot;Courier New&quot;&gt;integration-test&lt;/font&gt;&lt;/strong&gt; – run integration tests on the packaged binaries&lt;/li&gt;    &lt;li&gt;&lt;code&gt;&lt;strong&gt;verify&lt;/strong&gt;&lt;/code&gt; - run any checks on results of integration tests to ensure quality criteria&#39;s are met &lt;/li&gt;    &lt;li&gt;&lt;code&gt;&lt;strong&gt;install&lt;/strong&gt;&lt;/code&gt; - install the package into the local repository&lt;/li&gt;    &lt;li&gt;&lt;code&gt;&lt;strong&gt;deploy&lt;/strong&gt;&lt;/code&gt; - done in the build environment, copies the final package to the remote repository for sharing with other developers and projects.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You can find an exhaustive list of the lifecycle phases by clicking &lt;a href=&quot;https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;These lifecycle phases are executed sequentially to complete the &lt;code&gt;default&lt;/code&gt; lifecycle. Considering the above example, Maven will first validate the project, compile the source code, run unit tests, package the binaries (e.g. jar), run integration tests, verify the integration tests, install the verified package to the local repository, then deploy the installed package to a remote repository.&lt;/p&gt;  &lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;h3&gt;Maven Goals:&lt;/h3&gt;  &lt;p&gt;Each Maven phases will have a sequence of goals which are meant to perform specific tasks.&lt;/p&gt;  &lt;p&gt;Below listed are some of the goals that are bound to their relevant phases.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;strong&gt;&lt;/strong&gt;&lt;table border=&quot;10&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 200px;&quot;&gt;&lt;tbody&gt;     &lt;tr style=&quot;background-color: #efefef;&quot;&gt;       &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;&lt;strong&gt;Phase&lt;/strong&gt;&lt;/td&gt;               &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;&lt;strong&gt;plugin:goal&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;compile&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;compiler:compile&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;test&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;surefire:test&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;package&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;jar:jar&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;install&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;install:install&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;deploy&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;100&quot;&gt;deploy:deploy&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;h3&gt;Maven Plugins&lt;/h3&gt;  &lt;p&gt;Plugins are artefacts that provide goals to Maven. However these goals may or may not be bounded to the same phase.&lt;/p&gt;  &lt;p&gt;For example: The Failsafe Plugin is used during the &lt;code&gt;integration-test&lt;/code&gt; and &lt;code&gt;verify&lt;/code&gt; phases of the build lifecycle to execute the integration tests of an application.&lt;/p&gt;  &lt;blockquote&gt;&lt;code&gt;      &lt;p&gt;&amp;lt;&lt;font color=&quot;#0000ff&quot;&gt;plugins&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp; &amp;lt;plugin&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;maven-failsafe-plugin&amp;lt;/artifactId&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;3.0.0-M4&amp;lt;/version&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp; &amp;lt;executions&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;lt;execution&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;goals&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;goal&amp;gt;integration-test&amp;lt;/goal&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;goal&amp;gt;verify&amp;lt;/goal&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/goals&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/execution&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;nbsp; &amp;lt;/executions&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/plugin&amp;gt;&lt;/font&gt;&lt;/p&gt;     &lt;font color=&quot;#0000ff&quot;&gt;&lt;/font&gt;      &lt;p&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/plugins&amp;gt;&lt;/font&gt;&lt;/p&gt;   &lt;/code&gt;&lt;/blockquote&gt;  &lt;p&gt;As we can see, the Failsafe plugin has two main goals configured here:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;integration-test&lt;/strong&gt;: run integration tests &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;verify&lt;/strong&gt;: verify if the integration tests are passed&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;That’s all about a brief overview on the Maven Goals &amp;amp; Phases. Please feel free to drop me a comment in case if you liked my article. In my next article will be looking at Maven installation &amp;amp; project creation from command-line and also from eclipse.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Maven+goals&quot; rel=&quot;tag&quot;&gt;Maven goals&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/maven+goals+and+phases&quot; rel=&quot;tag&quot;&gt;maven goals and phases&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/maven+tutorial&quot; rel=&quot;tag&quot;&gt;maven tutorial&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/mvn+tutorial&quot; rel=&quot;tag&quot;&gt;mvn tutorial&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/mvn+phases&quot; rel=&quot;tag&quot;&gt;mvn phases&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/mvn+goals&quot; rel=&quot;tag&quot;&gt;mvn goals&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/maven+plugins&quot; rel=&quot;tag&quot;&gt;maven plugins&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/mvn+plugin&quot; rel=&quot;tag&quot;&gt;mvn plugin&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/java+Build+tool&quot; rel=&quot;tag&quot;&gt;java Build tool&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/maven&quot; rel=&quot;tag&quot;&gt;maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/automation&quot; rel=&quot;tag&quot;&gt;automation&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/m2&quot; rel=&quot;tag&quot;&gt;m2&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/apache+maven&quot; rel=&quot;tag&quot;&gt;apache maven&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;/ul&gt;</description><link>http://softwaretestersforum.blogspot.com/2020/05/maven-goals-and-phases.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-654470198454362269</guid><pubDate>Sat, 09 May 2020 19:10:00 +0000</pubDate><atom:updated>2020-05-10T21:14:43.340+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Maven</category><title>Maven For Beginners | What is Maven?</title><description>&lt;p&gt;&lt;font color=&quot;#4e5860&quot;&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Well the answer to this question depends on the individual perceptions. For majority of folks from development background, they consider Maven to be a Build Management Tool. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Ideally speaking Maven is much more capable of doing than a Build management activity and that is where few of them consider it to be also a Project Management tool. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Let me help you in understanding how Maven is considered to be both build management &amp;amp; project management tool. I am sure most of the hardcore Java developers would have worked on a well known build tool called ANT. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;  &lt;p&gt;As we all know the sole purpose of ANT build tool is to perform certain pre-defined instructions / tasks written in a build.xml file which is inclusive of compiling the code, testing, packaging &amp;amp; distribution along with their pre-defined directory locations. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Well, Maven does all these and along with that Maven can also run reports, generate websites, communicate project related information to the team and which is why it is considered to be more than a build management tool.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Before getting in depth on Maven lets take a moment to get to know on the history of Maven.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;h4&gt;History of Maven: &lt;/h4&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Maven was created by Jason van Zyl and it began as an attempt to simplify the build processes in the Jakarta Turbine project. Maven is built using a plugin-based architecture that allows it to make use of any application controllable through standard input. It addresses two aspects of building software: how software is built, and its dependencies.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;h4&gt;Interesting facts:&lt;/h4&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;The main plus point of Maven is having a defined life cycle with a set of common plugins which knows how to build the software. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Maven also comes up with a default project templates having a well defined project skeletal structure as shown below. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;a href=&quot;https://photos.google.com/album/AF1QipPVWFsctU_5wnIULBJhhmOQn1Q1ZJnLLr-mJ8_S/photo/AF1QipODbC31cR03xJ8MFAbMy_mbgVcSXTWwVXtiiWQ2&quot; title=&quot;Maven Directory Structure&quot;&gt;&lt;img alt=&quot;MavenDirectoryStructure&quot; border=&quot;0&quot; height=&quot;244&quot; src=&quot;https://drive.google.com/uc?id=1ahN3GlTuo8MmOLj8FkDE33s0fzbVMj66&quot; style=&quot;background-image: none; display: inline;&quot; title=&quot;MavenDirectoryStructure&quot; width=&quot;198&quot; /&gt;&lt;/a&gt;   &lt;br clear=&quot;all&quot; /&gt;  &lt;br clear=&quot;all&quot; /&gt;  &lt;p&gt;This further simplifies the developers work in terms for maintaining the uniformity across their projects and eases the process of developing the software. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;In Maven projects, the dependencies, builds, artefacts are all described in an XML file called Project Object Model (POM.xml) which is similar to web.xml configuration file in a Java Web Application project.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Maven can be considered as a pretty dumb tool as it doesn’t know how to do much beyond parsing a few XML documents and keeping track of a lifecycle and a few plugins. Maven has been designed to delegate its tasks to Plugins. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Maven has plugins for everything from compiling Java code, to generating reports, to deploying to an application server.&amp;nbsp; The Maven you download from Apache doesn’t know much about packaging a WAR file or running JUnit tests etc. Most of the intelligence of Maven is implemented in the plugins and the plugins are retrieved from the Maven Repository. In fact, the first time when you run the command like &lt;b&gt;mvn install&lt;/b&gt; it retrieves most of the core Maven plugins from the Central Maven Repository.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;In case if you need to add any 3rd party features / implementations to your projects then you can easily achieve it by getting the details from the Central Maven repository. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;All you need to do is add those dependencies in the POM.xml file and you should be good to use it in your code. This is.. way more easier as compared to the earlier ways of implementing, where-in you would be downloading the 3rd party jars and placing it in lib or some external&amp;nbsp; folders etc without any standard approach. There is always an overhead of sharing those additional jars along with the code with your peers.&amp;nbsp; From that perspective, dependencies are well handled through Maven and all you need to take care of is just your code.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;In my next article, I will be sharing more insights on the MAVEN life cycle &amp;amp; also on POM.xml file before we actually get into hands-on with Maven. So stay tuned..!! Until then happy learning.&lt;/p&gt;  &lt;br clear=&quot;all&quot; /&gt;  &lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:12be4e11-176c-423a-9e01-2170d0affb8f&quot; style=&quot;display: inline; float: none; margin: 0px; padding: 0px;&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Maven&quot; rel=&quot;tag&quot;&gt;Maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Maven+for+Beginners&quot; rel=&quot;tag&quot;&gt;Maven for Beginners&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/What+is+Maven&quot; rel=&quot;tag&quot;&gt;What is Maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Maven+Tutorial&quot; rel=&quot;tag&quot;&gt;Maven Tutorial&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Build+Management+Tool&quot; rel=&quot;tag&quot;&gt;Build Management Tool&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Java+Build+tool&quot; rel=&quot;tag&quot;&gt;Java Build tool&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Apache+Maven&quot; rel=&quot;tag&quot;&gt;Apache Maven&lt;/a&gt;&lt;/div&gt;</description><link>http://softwaretestersforum.blogspot.com/2020/05/maven-for-beginners-what-is-maven.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-9074531909033521278</guid><pubDate>Thu, 07 May 2020 17:38:00 +0000</pubDate><atom:updated>2020-05-07T23:09:44.328+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Maven</category><title>Maven Tutorial For Beginners | An Introduction To Maven</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Here is my new tutorial series on Apache Maven. Hope you guys like it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/kBKEOkQplFo/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/kBKEOkQplFo?feature=player_embedded&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2020/05/maven-tutorial-for-beginners.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/kBKEOkQplFo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-3800544764149081748</guid><pubDate>Mon, 24 Sep 2018 21:23:00 +0000</pubDate><atom:updated>2018-09-25T02:53:16.316+05:30</atom:updated><title>Testing WSDL using soapUI</title><description>&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader. Please do like &amp;amp; comment if you like my videos and please do subscribe..!!</description><link>http://softwaretestersforum.blogspot.com/2018/09/testing-wsdl-using-soapui.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-5845081742675663687</guid><pubDate>Sun, 23 Sep 2018 19:20:00 +0000</pubDate><atom:updated>2018-09-24T00:50:14.000+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Introduction to SoapUI</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/bQzXfqK-xG0/0.jpg&quot; src=&quot;https://www.youtube.com/embed/bQzXfqK-xG0?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader. Also please do subscribe to my Youtube channel &lt;a href=&quot;https://www.youtube.com/channel/UCAbR1WSVcjJjPMpmnDE2Z3w&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2018/09/introduction-to-soapui.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/bQzXfqK-xG0/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-1893674131778851654</guid><pubDate>Sun, 23 Sep 2018 18:45:00 +0000</pubDate><atom:updated>2018-09-24T00:46:16.287+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Creating soap Project in soapUI</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
If you enjoyed my post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader. Also please do subscribe to my Youtube channel for more videos &lt;a href=&quot;https://www.youtube.com/channel/UCAbR1WSVcjJjPMpmnDE2Z3w&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2018/09/creating-soap-project-in-soapui.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-4605709788387751519</guid><pubDate>Thu, 11 Aug 2016 03:32:00 +0000</pubDate><atom:updated>2016-08-23T07:51:35.322+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Selenium</category><title>Generating HTML reports for Selenium Tests in Maven</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
As promised in my &lt;a href=&quot;http://softwaretestersforum.blogspot.com/&quot;&gt;earlier post&lt;/a&gt; below are the steps to generate Selenium Test Execution reports in HTML using Maven. If you would like to know How to Integrate Selenium Web Driver with Maven please refer to my earlier article here.&lt;br /&gt;
&lt;br /&gt;
Edit the pom.xml and add the below contents just above &amp;lt;/project&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;reporting&amp;gt;&lt;br /&gt;
&amp;lt;plugins&amp;gt;&lt;br /&gt;
&amp;lt;plugin&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;&lt;u&gt;maven&lt;/u&gt;-project-info-reports-&lt;u&gt;plugin&lt;/u&gt;&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;2.8&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/plugin&amp;gt;&lt;br /&gt;
&amp;lt;plugin&amp;gt;&lt;br /&gt;
&amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;br /&gt;
&amp;lt;artifactId&amp;gt;&lt;u&gt;maven&lt;/u&gt;-&lt;u&gt;surefire&lt;/u&gt;-report-&lt;u&gt;plugin&lt;/u&gt;&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
&amp;lt;version&amp;gt;2.19.1&amp;lt;/version&amp;gt;&lt;br /&gt;
&amp;lt;/plugin&amp;gt;&lt;br /&gt;
&amp;lt;/plugins&amp;gt;&lt;br /&gt;
&amp;lt;/reporting&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right click on the pom.xml from the Package Explorer. Select Run AS --&amp;gt; Maven test.&lt;br /&gt;
You should be able to execute the test successfully and should be able to see “Build Success” message in the console.&lt;br /&gt;
&lt;br /&gt;
Now once again right click on the pom.xml from the Package Explorer. Select Run As --&amp;gt; Maven Build…&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr1d-LcWl7Qg28yM1FN8BbcFH2gTU5JVBfvVJhEBX_6-x5A30zatgRzsQEFHvZVo_3CeQwTAwRXmrTUPsfQkzwKhhK9_TOhaAcFTxWx8UIZnJVWHdRHXZXzFgoJ09PhXjXKTm4dua17Br4/s1600-h/clip_image0025.jpg&quot;&gt;&lt;img alt=&quot;clip_image002&quot; border=&quot;0&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1loTl0sYeqG5CKxY9ifDDki8857Xp7NTU8SdVDMvfR6eK4WdFhEiQT0tGVy6kgOYlvj3Ye2YQNpLYGBiTr_L4hRz8vKwCYkkUnWT4TPpvp83KG9XtBgKvGNEORBQQcj-j9Bq_URc9yTr_/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image002&quot; width=&quot;338&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Now in the Edit Configuration window, just type “site” under Goals and Click on Run Button.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYFB6GyxosRdbF_BWguItzv0VUzkFltU5FDo3Ztkk-1q3f8Tl4yP2D9QF08H2Fl2mpMVqPmkW5DlX_muWwMiDv314oI6t2Upl4zQxVnWUHTygRMdeUwNPvsU9MJ4zclSpPW01O3yBHGmn7/s1600-h/clip_image0045.jpg&quot;&gt;&lt;img alt=&quot;clip_image004&quot; border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR81QKtnRAz52vwEsMWTdyD9StT5lUGo1flPsLeKUQAdE7V0BA0ryaPmr2K_25CjikssB0aQSs4ex0JnGn7Km0C2QSxBJjm0nldeOqcZDsN_raJmAoj-vm7ypE6UOClV6tJ_4zGOAB3u9Q/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image004&quot; width=&quot;338&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Now once the Reports are generated you will be able to see “Build Success” message in the console. Refresh your Package Explorer contents. Navigate to target --&amp;gt; site to view the generated HTML reports as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLsD9zld-cwSpl6Nw3L3tgWcnWlTXK45_XFUKiHiVhmtaNbMpcObAbK8CY-6matPHC7trDmTSM-l-6Ba3VBfoeCGfe_04RwAb8-n-CSXh_8oede5BbU50C9J6DXugSCnuwzkodhHf9y-33/s1600-h/clip_image0066.jpg&quot;&gt;&lt;img alt=&quot;clip_image006&quot; border=&quot;0&quot; height=&quot;182&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9GxAfQJSyBNIt9MyQnhfL5nqEfoLNifgNNNVwnfiOHjwpXH3x9_06CVw-aQo2_9vtksVZbMcbQMyKf8HQAmtFposV57_Ye6cW0o2tX9MFixjI33CbwG22tz_FRJw66VWNKTYouqvbTw5M/?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image006&quot; width=&quot;333&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks for reading my articles. Hope you have enjoyed reading &amp;amp; implementing the same. Happy Testing..!!&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:acefdea8-197f-4b0d-a83c-a7bc18bbe78d&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Generating+HTML+reports+for+Selenium&quot; rel=&quot;tag&quot;&gt;Generating HTML reports for Selenium&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+HTML+Reports+in+Maven&quot; rel=&quot;tag&quot;&gt;Selenium HTML Reports in Maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Maven+Reports&quot; rel=&quot;tag&quot;&gt;Maven Reports&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium&quot; rel=&quot;tag&quot;&gt;Selenium&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+Web+Driver&quot; rel=&quot;tag&quot;&gt;Selenium Web Driver&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Maven&quot; rel=&quot;tag&quot;&gt;Maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+Integration+with+Maven&quot; rel=&quot;tag&quot;&gt;Selenium Integration with Maven&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2016/08/generating-html-reports-for-selenium.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1loTl0sYeqG5CKxY9ifDDki8857Xp7NTU8SdVDMvfR6eK4WdFhEiQT0tGVy6kgOYlvj3Ye2YQNpLYGBiTr_L4hRz8vKwCYkkUnWT4TPpvp83KG9XtBgKvGNEORBQQcj-j9Bq_URc9yTr_/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-5450386817798584081</guid><pubDate>Thu, 11 Aug 2016 03:07:00 +0000</pubDate><atom:updated>2016-08-12T08:25:23.776+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Selenium</category><title>Selenium Web Driver Continuous Integration with Maven</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;i&gt;In this article, let me showcase on how to execute a simple Selenium Web Driver based Test Script from Maven. &lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;i&gt;Pre-Condition: You need to have an Eclipse IDE with Maven integration. Here I would be demonstrating using Eclipse Neon Release (4.6.0).&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
Maven &amp;amp; Eclipse IDE can be used to build your Selenium Web Driver test framework from a single window. Another important benefit of using Maven is that you can get all the Selenium library files and their dependencies by configuring the pom.xml file. Maven automatically downloads the necessary files from the repository for you while building the project.&lt;br /&gt;
&lt;br /&gt;
To know more about configuring Selenium Web Driver in Eclipse ID please refer to my earlier article on the same &lt;a href=&quot;http://softwaretestersforum.blogspot.com/2016/05/how-to-configure-selenium-in-eclipse-ide.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Follow the steps below to configure and run Selenium Web Driver Test Script from Maven.&lt;br /&gt;
&lt;br /&gt;
Create a Maven Project in Eclipse IDE by selecting File --&amp;gt; New --&amp;gt; Project… --&amp;gt; Maven Project&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsbpdFiTT5s3rKTbdw6LtKyhEBtzT_HyvVQgnApEbVPp-mAC2VlPYiuaGqx75w8H0or2IXoyFKnmRoj_cK_C3yLtJw6MHgG1rbFVp1dfrxINL551A7WLkwR9M0LjyjBsmAwnXaMCioc8_q/s1600-h/clip_image002%25255B5%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image002&quot; border=&quot;0&quot; height=&quot;297&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzCn5k1gewHq5aose4ZKbjA2NCtSLOfdlWW9HwrPJYRru4nqPpTnKCYApFWM5dwHsP2eyqCY2nqljSI-B32VgCVqDk_7YbzyhCsBUf2mCTraLK7V-x0WBKlA6pnqY629hMN293t8HLhwLR/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image002&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Select &lt;i&gt;&lt;b&gt;“Create a simple project (skip archetype selection)”&lt;/b&gt;&lt;/i&gt; checkbox and click on Next Button.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5E0uM5KIJrqJ_O5z_HGQ6WbSSqyN4O8HxEztdXJBXwvpcYs3BzZxLgOd6kd_nv-vEU6fynRmCkuWlZ29QlCmrCmQgpayGDHvspmQ7QrJuQTjb5lgfSwVPVQx-1qXqdHap224U68vEPEv2/s1600-h/clip_image004%25255B5%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image004&quot; border=&quot;0&quot; height=&quot;273&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx-LviSSPQ9pVg1lZrdbEVO13JhD83dsplXbJRxgTQXA3bRwS-LlKFLWIN9uQ6XWWU1LwFeXDgfGwIDUI9DGj08p0Om7L0RynrxhsjyvgGV6V1QEjvcPAp3DryfXNnvTzrlVF68nXcKC8W/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image004&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In the New Maven Project Window, provide the Group Id &amp;amp; Artifact Id details as shown below and click on Finish Button.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikNxpAqbJABpXry_wWFQxathyphenhyphen3BIdxJJnlPVr08aGQLPU4EZUcWYJ32Jx1JGPQV5SIeMug0fI-dxwj08tUY6PzQG_CWsw5gB_q_1HlN-e-ZVkbdU4LOI1rTC2Kck0Tsubed7YY1T_Pi9di/s1600-h/clip_image006%25255B5%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image006&quot; border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYmoyDZkNXP1y9kaAPBjZmF3N3jduX7yEiGPuoqgpsQLu3LtbQ71yyYAq6gm53IbPPygAv3r4swordAmh3u1IdGtha5B32lTUmZ7Q2873ZgyIxd3kCxEiBQOeoA9tz498YC_NE0dXvgygN/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image006&quot; width=&quot;281&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Eclipse would create a Maven Demo project structure as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGZmMvYk0ETXaw31jbULPl6fXhQ_7cS01XcSBQZg3rq9BurHO8Qk0K0rJKI6dOW3_Nq7ER1ScI-60ZJm41uNyzX7dFxKuWyj7qQvXkVcZm6kMSN-trmpgkj6B-WzM3KlFDUX0snuthWLb1/s1600-h/clip_image008%25255B5%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image008&quot; border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-Jj_mx9HAo83kVPNc0BR19h8kkQwmh17Kn2TJAHBfMvyzYAAXVTA9rYAIhNSCTPScPalYmgodtUnGoEfa6Gere89KRig21F6ZvAQHUsTqTWgyrr5FKmIzcNHuCcJBwmjMH1nMRy92f4TI/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image008&quot; width=&quot;242&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Create a Class under src/test/java folder as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGXCpJ9C935smLa52wwTstT4faQajzT9eA5kAilpcI-eOEKEFzqaxGfeSPtnF8djx920Y444lq09RmGOZMrnIhbM-EJ_rKyPJMzRX7povy5tBsgG1EgNar-YloDnJ_q3nT5P9EU84Wl50K/s1600-h/clip_image010%25255B5%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image010&quot; border=&quot;0&quot; height=&quot;95&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFSAbWCtiiPWgO6gYePF8njk2dUuxv7AqZPkxzb03JNOt8TD6esEwY2FbfGB128RwBs4QGBrObQlk2RpqLzW-_DGKvKkF213nQhG0ENaoRXj72WBCnp00Ui5IB3EQMdiFDiC9wA66KuDgG/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image010&quot; width=&quot;269&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqwpvSm-akbH8lGmLIrpxCNYH052QHcqapo9LJDVjfndwWylOg00D8aju5CItzm2LMfkh_cHiwyawGDsSdM3wHNo2obL6CzOGzvCq2hUdunzjuqR-onQXhZdHywTTPwXfVjkUF6LzaSPA1/s1600-h/clip_image012%25255B5%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image012&quot; border=&quot;0&quot; height=&quot;264&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhijDKL4qDkoGzrUXqKPXk4U6czsDwiZFgyCHynimZ4ZytRY5lIhp279-eqIrtxrmIFHTz4cSXA5B8YjNcJayLiqk5-a1exkeipCUhbSluHndMzXz22PXjVUXjcTAQHYwHjaQBNhaofk3_x/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image012&quot; width=&quot;270&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now add the below code snippet.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;package com.selenium.examples;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import static org.junit.Assert.assertEquals;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.junit.After;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.junit.Before;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.junit.Test;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.openqa.selenium.By;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.openqa.selenium.WebDriver;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.openqa.selenium.WebElement;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.openqa.selenium.firefox.FirefoxDriver;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.openqa.selenium.support.ui.ExpectedCondition;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;import org.openqa.selenium.support.ui.WebDriverWait;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;public class GoogleSearchTest {&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;private WebDriver driver;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;@Before&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;public void setUp() {&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Launch a new Firefox instance&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;driver = new FirefoxDriver();&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Maximize the browser window&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;driver.manage().window().maximize();&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Navigate to Google&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;driver.get(&quot;http://www.google.com&quot;);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;@Test&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;public void testGoogleSearch() {&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Find the Search Box Text input element by its name&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;WebElement element = driver.findElement(By.name(&quot;q&quot;));&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Clear the existing text value&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;element.clear();&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Enter the Search Keyword&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;element.sendKeys(&quot;Software Testers Forum - Suntaragali&quot;);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Submit the Search Query&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;element.submit();&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Wait for the page to get rendered, timeout after 10 seconds&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;new WebDriverWait(driver, 10).until(new&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;ExpectedCondition&amp;lt;Boolean&amp;gt;() {&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;public Boolean apply(WebDriver d) {&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;return d.getTitle()&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;.startsWith(&quot;Software Testers Forum - Suntaragali&quot;);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;});&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;assertEquals(&quot;Software Testers Forum - Suntaragali - Google Search&quot;,driver.getTitle());&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;@After&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;public void tearDown() throws Exception {&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;// Close the browser&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;driver.quit();&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
Open pom.xml from Package Explorer and select the pom.xml tab in the Editor as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSvVWwk5DHSDSspU4ies65no013I8r7I6KxYN_35NRF-tzlcwTxN1JCynaUB4mliojpSPjlxNEwDKD4Yjl6GaEcjjkY5shVTl0SHeTKEbayNnCsUjljA0StuR1iLmkNTlrc1OUzzvjqKe6/s1600-h/clip_image014%25255B6%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image014&quot; border=&quot;0&quot; height=&quot;97&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibW0AZc-C0ZwDmdfQbvS5ZVgmGJ5zZIcmyemuZ9McIZjKg3dPziC5G-cEVQwhBNCYGMqtUBE-omtcidjw8rzDTB6iq2TBwS1yryZE8zi7xbdjUWd7bRtGJsDzJfVVRSm5VsP86CK5S1rSr/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image014&quot; width=&quot;277&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Add the WebDriver and JUnit dependencies highlighted in the following code snippet to pom.xml in the &amp;lt;project&amp;gt; node:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;lt;dependencies&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;dependency&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;groupId&amp;gt;org.seleniumhq.selenium&amp;lt;/groupId&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;artifactId&amp;gt;selenium-java&amp;lt;/artifactId&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;version&amp;gt;2.53.0&amp;lt;/version&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;/dependency&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;dependency&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;groupId&amp;gt;&lt;u&gt;junit&lt;/u&gt;&amp;lt;/groupId&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;artifactId&amp;gt;&lt;u&gt;junit&lt;/u&gt;&amp;lt;/artifactId&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;version&amp;gt;4.12&amp;lt;/version&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;/dependency&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;/dependencies&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Now your POM XML file should look like below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiRwCEptlXNUVPKhlvIcNi2xOSejmgCnphAHmkNMrN9DEWAVT2aUnlFj25g01AakRDVrz1HM4yhupMurSa50eARASY8WMqHbDzfXkPskCSxQiFL3C78JvhmJKWff_YdUiU8FPMa4lvXPZi/s1600-h/clip_image016%25255B5%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image016&quot; border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLL0T96YdLzDV7xmfDga_tPSDIHa5Ezg6Nc4Yl68cBTMfHwj1ipeTccsOfnpPZKM7AOUpLXw44GUh8DT1gG2UXYyBSDQFk9_FSNmf1oqzuECFwDy6Y6btT9392kNe26xR7s6YtxJ2gXHh-/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image016&quot; width=&quot;273&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You can get the latest dependency details for Selenium Web Driver from &lt;a href=&quot;http://docs.seleniumhq.org/download/maven.jsp&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://docs.seleniumhq.org/download/maven.jsp&lt;/a&gt; , JUnit from h&lt;a href=&quot;https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;ttps://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html&lt;/a&gt; and suppose if you are using TestNG instead of JUnit Unit Testing Framework then you can find it in &lt;a href=&quot;http://testng.org/doc/maven.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://testng.org/doc/maven.html&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Now that we have configured the pom.xml file, let us execute the Test Script. In order to do that, just right click on the pom.xml from the Package Explorer. Select Run As --&amp;gt; Maven test&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUs8KkY9QCi74Kdad9v8hhIe7LiIOyGBgCKWdhNhEIfis2uKHfsLgb7NAMZP2VtOoXPjcz1bsx1kK9Yqn2IZCGJDvyafbiaDbtm2GIaAzjqqrPEv95rabbXLA4rGPB8ghRemhKNg9K9dmx/s1600-h/clip_image018%25255B7%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image018&quot; border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7a3Z1xWTRvIYE2JM-Vf9ypdLK7plLpq5lWlOLN9BZfHyJudGNfAH7QRMRch_y8mNLuola4QX1N9hAym7axEdRXywilOwjc0gyAbmxedNDc3kLlpOHR6BLnyTkU0QZurs4o48m5KyNm08F/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image018&quot; width=&quot;328&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You should be able to execute the Selenium Test Script successfully from Maven. In the console you should be able to see the Build Successful message and also reports will be generated and should be available in the Package Explorer as highlighted below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTHD0SATJTrg9EHJ0HqOTL7zwPCShyphenhyphenbYBYMGXKHxRDjXmErRSCy3SXk4Up3U6JbaSjMMP8Wwcxhk7vGYg-jZTQxeC5UQQTlwHTK7APQkY1P91IUWuvDiW-bUian9pwVJa0G-8_006j_nDF/s1600-h/clip_image020%25255B6%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image020&quot; border=&quot;0&quot; height=&quot;191&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXTX6IVhk-v-LUridfjefa8X649TBOd4Cv2ZJmwYT_oVU54PJOR1DA8Lm0xKehxN1VfQrTQ-7Oa7wr_AVTm1Yw8YpTqCOGVyl1OQOZPzLOwCzjzZf795YYZwOaY2thJKeOtMWxAgvktARE/?imgmax=800&quot; style=&quot;background-image: none; border: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image020&quot; width=&quot;340&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In my next article, I would be writing about “How to generate HTML reports for Selenium Test Scripts from Maven”. Until then Happy Testing..!!&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:0753af54-0502-4b12-90cd-d7bf973e303b&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Selenium+Integration+with+Maven&quot; rel=&quot;tag&quot;&gt;Selenium Integration with Maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Executing+Selenium+Test+Scripts+using+Maven&quot; rel=&quot;tag&quot;&gt;Executing Selenium Test Scripts using Maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+Web+Driver&quot; rel=&quot;tag&quot;&gt;Selenium Web Driver&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Maven&quot; rel=&quot;tag&quot;&gt;Maven&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+Tests+in+Maven&quot; rel=&quot;tag&quot;&gt;Selenium Tests in Maven&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2016/08/selenium-web-driver-continuous.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzCn5k1gewHq5aose4ZKbjA2NCtSLOfdlWW9HwrPJYRru4nqPpTnKCYApFWM5dwHsP2eyqCY2nqljSI-B32VgCVqDk_7YbzyhCsBUf2mCTraLK7V-x0WBKlA6pnqY629hMN293t8HLhwLR/s72-c?imgmax=800" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-8575599395797578026</guid><pubDate>Tue, 26 Jul 2016 03:42:00 +0000</pubDate><atom:updated>2016-08-01T11:22:15.376+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Selenium</category><title>Executing Selenium Web Driver Scripts using ANT</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Today let us see how we can integrate Selenium with Apache Ant i.e. use Apache Ant via Command Line for executing Selenium Web Driver Test Scripts. Basically Apache Ant is a popular build tool available for Java developers.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Pre-requisite:&lt;/b&gt; Please make sure to download and install Apache Ant from the below path.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://ant.apache.org/bindownload.cgi&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;https://ant.apache.org/bindownload.cgi&lt;/b&gt;&lt;/a&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;You would also need JUnit &amp;amp; other Selenium dependent Jars in order to successfully execute the Test Script. To demonstrate the steps I would be doing it from Eclipse IDE. Hence if you would like to get a hands-on on the steps mentioned below then please make sure to have Eclipse IDE installed and configured at your end as well.&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;For detailed steps on how to configure Selenium in Eclipse IDE please refer to my earlier article &lt;a href=&quot;https://softwaretestersforum.blogspot.com/2016/05/how-to-configure-selenium-in-eclipse-ide.html&quot;&gt;here&lt;/a&gt;.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;Create a Java Project in Eclipse.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;i&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFvmKcEVhntRMdwbNuZA72ELdc2XA9W4u1Jcv5vOVLGTf6ZxSC_SZIjsyveI19LmhytnAYTuOgiGyJb5iVaojCC0Il6Hs5GDUZ6s-gm5DH-yb0JkiJfWifI57QVwDXEAO5PFWeY0G9suKS/s1600-h/clip_image002%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image002&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVPhHuEOyFkgk-apreuwMB-Tia99nbV6siO-_dCvtEpeMNcAMwPHhyphenhypheniUokeOg1YPIJJeFaAFKHVhpjgIHvyY0QKPIr23eSgFp1odBlbH0ICGGiy6aqFQ-BSl1FCCyOOuiM2fkAX31LYTlB/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image002&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;Create a Class and name it as “Google Search Test“&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;i&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEn6fV14ws9-ADPGKuMmgDppswY7c_A0LrDyQhiUEdgTSiZJcqka2f32IqWMycMMydulLCeubgbwF-Ula1CVaIy27odX2z9HhefUHCYzYtX4zuFDPswStMxIFHJBH_8eXMNRYsKIGx7BDv/s1600-h/clip_image004%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image004&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKfDXwDJQf7w6EeMK6SW1XifnrgjYIyxqQHvIZR8Drq7JY_3r6OZmfppm432C-m5KeYzNSG-rRUBcYrco0bKd3mnz6UAH0FVW-7uKPyHz3v9_EMYSj6UjRWZDP-4v_5iQ2DGhhMKz0RBpY/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image004&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;Copy &amp;amp; Paste the below code snippet.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;package&lt;/b&gt; com.suntargali.webdriver.ant;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;u&gt;org.openqa&lt;/u&gt;.selenium.WebDriver;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;u&gt;org.openqa&lt;/u&gt;.selenium.WebElement;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;u&gt;org.openqa&lt;/u&gt;.selenium.firefox.FirefoxDriver;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;u&gt;org.openqa&lt;/u&gt;.selenium.By;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;u&gt;org.openqa&lt;/u&gt;.selenium.support.ui.ExpectedCondition;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;u&gt;org.openqa&lt;/u&gt;.selenium.support.ui.WebDriverWait;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;u&gt;org.junit&lt;/u&gt;.*;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;import&lt;/b&gt; &lt;b&gt;static&lt;/b&gt; &lt;u&gt;org.junit&lt;/u&gt;.Assert.*;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;public&lt;/b&gt; &lt;b&gt;class&lt;/b&gt; GoogleSearchTest {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;private&lt;/b&gt; &lt;u&gt;WebDriver&lt;/u&gt; driver;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;@&lt;u&gt;Before&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;public&lt;/b&gt; &lt;b&gt;void&lt;/b&gt; setUp() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Launch a new &lt;u&gt;Firefox&lt;/u&gt; instance&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;driver&lt;/u&gt; = &lt;b&gt;new&lt;/b&gt; &lt;u&gt;FirefoxDriver&lt;/u&gt;();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Maximize the browser window&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;driver&lt;/u&gt;.manage().window().maximize();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Navigate to Google&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;driver&lt;/u&gt;.get(&quot;http://www.google.com&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;@&lt;u&gt;Test&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;public&lt;/b&gt; &lt;b&gt;void&lt;/b&gt; testGoogleSearch() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Find the Search Box Text input element by its name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;WebElement&lt;/u&gt; element = &lt;u&gt;driver&lt;/u&gt;.findElement(&lt;u&gt;By&lt;/u&gt;.name(&quot;q&quot;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Clear the existing text value&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;element.clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Enter the Search Keyword&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;element.sendKeys(&quot;Software Testers Forum - Suntaragali&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Submit the Search Query&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;element.submit();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Wait for the page to get rendered, timeout after 10 seconds&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;u&gt;new&lt;/u&gt;&lt;/b&gt;&lt;u&gt; WebDriverWait(&lt;/u&gt;&lt;u&gt;driver&lt;/u&gt;&lt;u&gt;, 10)&lt;/u&gt;.until(&lt;b&gt;new&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;ExpectedCondition&lt;/u&gt;&amp;lt;Boolean&amp;gt;() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;public&lt;/b&gt; Boolean apply(&lt;u&gt;WebDriver&lt;/u&gt; d) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;return&lt;/b&gt; d.getTitle()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;.startsWith(&quot;Software Testers Forum - Suntaragali&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;});&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;assertEquals(&quot;Software Testers Forum - Suntaragali - Google Search&quot;,&lt;u&gt;driver&lt;/u&gt;.getTitle());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;@&lt;u&gt;After&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;public&lt;/b&gt; &lt;b&gt;void&lt;/b&gt; tearDown() &lt;b&gt;throws&lt;/b&gt; Exception {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// Close the browser&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;u&gt;driver&lt;/u&gt;.quit();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;Create a Lib Folder and add the below jars.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;i&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG9x6Q_BKZgRfKzXBnEp_P1tbXHwhrvPpMpKYj-H3nHWgfmwIP3tuR0e2y_uC2HLvj2C8eQvGhyiNsKpFcJON6V3TcNvt26x-SKcy1Pr9i81wj5_v1xWY4jXBqGuIUVbywyCVBUAlJUPu5/s1600-h/clip_image006%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image006&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdyHIuGCFMLOl3wz2z4QAeOrpLj_qhkVvqS5Dq95jqyDZO1_kdpcHfHYmgmvS4HcL7485fgIAu9vXcXhulgmf5eVo59nY1apWVJAPmgmxDYJ_4qOEmW4BkC82u2WBjf71p7weNqtpQkXla/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image006&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;Right Click on the Project à Build Path à Configure Build Path&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Now Click on Add jars in the Java Build Path window and add all the jar files from Lib Folder as shown below. Click on Apply.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;i&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikfPNXsBhL4f0pgOddE91OP8Tj-fIW1FDQCIHjv16__0nHFEkU7jVp6XXUbyjnJhzDjkEHbypJw1godKV8cSAXvGnvxEZqKLhwAjTZkEy0-6PpmWTBcjXVcTbhzDl19tJJ7eO2bpxg6Nm0/s1600-h/clip_image008%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image008&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwXSZiUHvSFJEcN5fSqbdPqIXzn9JP-OrcIkaXOjrXDNY_daR4KuUixtJxPEpoE4zZ5pJ3XTvA9KSFTmrH3xGLO7WMC7lC8O2L5r0HhcA5hd8I2OtEFFtOSpQsfXL2ecHBdpHcmESknXKB/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image008&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;For more details on steps to configure Selenium Web Driver in Eclipse please refer to my earlier post here…&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Try executing the Script from Eclipse once by selecting Run As à JUnit Test&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AfEQFxIN8hBrl1TWHPbMWL2UlaN0Pz9JSWqYqUfmPmYBliQZi0rQpCrdGM9pZhDB_uPI8cKvX9UO1dOo93SWHMVo17740ncnDRVuFzckasyOecOiUjiEkMRuvOqhQAwvhIVA0t6u-RdJ/s1600-h/clip_image010%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image010&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhshozt5RLvx0kiPus_6qyqGZyF7oyh7kDtbDXWLvQQV0Rb61cYXU-NClqacNigR0WlgnrmWmybbZ-7akNowHQ7MbJ4tKdfUNYLCqYkAxtIT7WRFXHkKDQn5Lljn7N_no7-EUE_hPygQU1G/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image010&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You should be able to execute the script successfully.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcaNAnZYKa5wK5Ohh16AqXtjIsJa8qD5JcFmN1TvKfVQ46ot3pI1iHxeEeBMiXNi_zEwVie_96dgDUV60j2InYfOf3FOyZuV06wqmWYObgWHJrWfiDtaIspsSoJZqFEZd4oL8x1IKvQD7t/s1600-h/clip_image012%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image012&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwZErO8hKDbkHNtOkoJwesuPtH-pGYcJiVZMF360s9TSmXe-N9tHSg-uN0cT7TBxJROlRPNrehTFVPx13LwvZHRXYcZzZ9BaxaBUAsznLV-Q4IhcFG-tsdVrgQf-Kyv3pPq_YGm8KLgfMr/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image012&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Now let us go ahead and create an ANT Build file. Create the build.xml file in the project folder with the following XML&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;project name=&quot;test&quot; default=&quot;exec&quot; basedir=&quot;.&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;property name=&quot;src&quot; value=&quot;./src&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;property name=&quot;lib&quot; value=&quot;./lib&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;property name=&quot;bin&quot; value=&quot;./bin&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;property name=&quot;report&quot; value=&quot;./report&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;path id=&quot;test.classpath&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;pathelement location=&quot;${bin}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;fileset dir=&quot;${lib}&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;include name=&quot;**/*.jar&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/fileset&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/path&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;target name=&quot;init&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;delete dir=&quot;${bin}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;mkdir dir=&quot;${bin}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/target&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;target name=&quot;compile&quot; depends=&quot;init&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;javac source=&quot;1.7&quot; srcdir=&quot;${src}&quot; fork=&quot;true&quot; destdir=&quot;${bin}&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;classpath&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;pathelement path=&quot;${bin}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;fileset dir=&quot;${lib}&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;include name=&quot;**/*.jar&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/fileset&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/classpath&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/javac&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/target&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;target name=&quot;exec&quot; depends=&quot;compile&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;delete dir=&quot;${report}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;mkdir dir=&quot;${report}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;mkdir dir=&quot;${report}/xml&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;junit printsummary=&quot;yes&quot; haltonfailure=&quot;no&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;classpath&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;pathelement location=&quot;${bin}&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;fileset dir=&quot;${lib}&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;include name=&quot;**/*.jar&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/fileset&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/classpath&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;test name=&quot;com.suntaragali.webdriver.ant.GoogleSearchTest&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;haltonfailure=&quot;no&quot; todir=&quot;${report}/xml&quot; outfile=&quot;TEST-result&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;formatter type=&quot;xml&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/test&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/junit&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;junitreport todir=&quot;${report}&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;fileset dir=&quot;${report}/xml&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;include name=&quot;TEST*.xml&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/fileset&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;report format=&quot;frames&quot; todir=&quot;${report}/html&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/junitreport&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/target&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;/project&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Now in order to execute the Test Script from ANT, either you can Navigate to the project folder from Command Line and type ‘ant’ or Right Click on the Build.xml file in Eclipse and click on Run As à Ant Build&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIYBui41tb_bV8k0Rqf0hf28-I3liwXYDNFyWuziQdm9miZC2B0qAyp_iaNhnSSrRNE6FzIOvckI98l_2k2NdGe8S7e1onaOaOnJNo4VETqQNxTtkt_NW1YAXuDm9Rl6IS6PQBONifoOya/s1600-h/clip_image014%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image014&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOT7vkI9OzUmnD_4559t-NS0EBng9K7VVy5I3Um7r4LUpgb6IeiClYq1laRyAVUOBXazaETyzObj445ZdHsEYQUwt7btwZ6DJil1oKblWYkvCj1AZLM6ZN2mlDMvtAl6Q_-fKB0R28yT2u/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image014&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The Test Script should be executed successfully and you should be able to see “Build Successful” message in the console as shown below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRuzu81S_yFj4CR10PzZkkR0pwG9ECwTIUdWnBBewvtvzx-zRRC5a0aBs6OiCZxjP1CfZwyOqoAwkP3aL6V8KQtBCgzvQD1rzOJo2lvAexyoBPzA813T8HJkfm8AxjWqBYZzVtbo9O2PNh/s1600-h/clip_image016%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image016&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3KMut3dP5YRE17tdvUOuX7zR4tuDLPU8mpSfb-HS9br_St2KHKI9sSS7A3ZG7b05qceMRPnBHGevPvQYd4Rlsg4uwuv0ZmmZSBTDhbHbxkEDQA1vRB4ebKH7PgiLbQSOd6kNRTWh8tr4f/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image016&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Also upon refreshing your Project in the Package Explorer you should be able to see JUnit Reports being generated.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDnV_P4QXvN1giqm7O431XNbgqrm7JS3IP0FAasYH5hSykA18BCW-IgnumxXbR_T3G78xAxTENqzMil6nBSblxudv_PNtjm6aHBNrkxXvJ4JzQ3oY-BU3Mwred6vu09gsD9bB_8MkByhu3/s1600-h/clip_image018%25255B3%25255D.jpg&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;img alt=&quot;clip_image018&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8T7jg5-4sKOvquWxWkKmcb5ZrpJKqZ4ZlPSOd9Xqn-VxKw9125EsoZ4ZE31VNvzL44K46ZKbUpqin3HnywQNfbUvbx-OkFhP67RndJFAtjt-EVFT93Vw4BQoTo6vq8BeVkHLADTNv-2Ep/?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image018&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Hope you were able to follow the above steps and were able to execute your Selenium Test Scripts from ANT successfully. If you have any queries further please do feel free to reach out to me. Happy Testing..!!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:3772d452-c7ce-4c03-bc90-152a17161462&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Selenium&quot; rel=&quot;tag&quot;&gt;Selenium&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+Web+Driver&quot; rel=&quot;tag&quot;&gt;Selenium Web Driver&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/ANT&quot; rel=&quot;tag&quot;&gt;ANT&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Executing+Selenium+Test+Scripts+using+Ant&quot; rel=&quot;tag&quot;&gt;Executing Selenium Test Scripts using Ant&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Configure+Selenium+and+Ant&quot; rel=&quot;tag&quot;&gt;Configure Selenium and Ant&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+With+Ant&quot; rel=&quot;tag&quot;&gt;Selenium With Ant&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2016/07/executing-selenium-web-driver-scripts.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVPhHuEOyFkgk-apreuwMB-Tia99nbV6siO-_dCvtEpeMNcAMwPHhyphenhypheniUokeOg1YPIJJeFaAFKHVhpjgIHvyY0QKPIr23eSgFp1odBlbH0ICGGiy6aqFQ-BSl1FCCyOOuiM2fkAX31LYTlB/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-8115865854546832519</guid><pubDate>Mon, 13 Jun 2016 19:51:00 +0000</pubDate><atom:updated>2016-06-14T01:26:24.832+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Selenium</category><title>Selenium IDE</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
In today’s article I would be explaining on how to install Selenium IDE and also the different components of Selenium IDE.&lt;br /&gt;
&lt;br /&gt;
To get an insight on Selenium &amp;amp; Selenium IDE please refer to my earlier article &lt;a href=&quot;https://softwaretestersforum.blogspot.com/2016/06/introduction-to-selenium.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
First of all make sure to have Mozilla Browser installed on your system. If you haven’t done it yet then please install latest Mozilla Firefox browser from the below link.&lt;br /&gt;
&lt;a href=&quot;https://www.mozilla.org/en-US/&quot;&gt;https://www.mozilla.org/en-US/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Now that we have Mozilla Firefox installed on our system. Let us go ahead and install Selenium IDE. Selenium IDE can be installed from the below link.&lt;br /&gt;
&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/&quot;&gt;https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Open the above link in Mozilla Firefox and click on &lt;b&gt;Add to Firefox&lt;/b&gt; Button.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwm0t8mHJdpKf-FL-708MJejb5lFK_mN3Js41pE712UHuZSLVSPGau07Phd_i4olsHGoXEEMacb_JUJKmdiQvNhpBYhuI8XG5acVZbavibq80dM2iulMtqR_Lj8_UW06GBO0seGZ769gOS/s1600-h/clip_image002%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image002&quot; border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhldyc9Cxa-7pRZIv-uKEjd1jFKXQst0NNwrWgBsIzqEM8nR_IpNQSaXoKrK2R92z1WCCNZ3elMYB0d0GYXZSbaigd4h1Yw7SuKi6IWQlHlyP7CvrCefAoFhOBXruUOWsnrp3ABacjXAty7/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image002&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
A pop-up would appear as shown below. Just select the Selenium IDE and click on Install now.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcMpIpLCgchQrEMTISATVWXJQy6yX0Q0qYsI3ntIHpsH8KM196bHXF8V4DAgPaJu9OF6eP4s7Uc0GhRpOhYb1y1AVQCEo_x0ZlsnB09rA1_XGAm12QWPDQeYV1C_hc4K_MGuTfze4_VjEi/s1600-h/clip_image004%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image004&quot; border=&quot;0&quot; height=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Y__Wftlj9risgTJPFgtaCy-6Ftn-4LGmnu4GfDHcTxvVd01b9XIeGe1pXQyuN2tnjCzwJ41VZ7cmnx7s2DYGkbNsZg3U64_QzUIC3FtRuW2_ArVe0S4yBYa-C7GYvNPRS_qQjKtFHEH8/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image004&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Selenium IDE will be installed on your Firefox browser. Restart your browser. Now open up Selenium from Tools or from the Menu bar as shown below.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFHUgPCsRr_t80klRqALBBHZnCRDAcl8tmaMUBQSwLpFKSXEJupvZPnyFn45mTwKzyk5HlKNB_gIfrDFxKQrP6HzYRErWC-f5SP9LcxqwKhuC8Qn4LH7hbC8qWecscZEdzXc5aGCACVPgu/s1600-h/clip_image006%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image006&quot; border=&quot;0&quot; height=&quot;154&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1uxJhfzH-Fz4yAK60zrxnDyRTd_Cf3ZHcCPiuWnhYMzxsPocD5iGyl8ZuansP2i7W8d8f0oNI6OaMmSwTxPXWcdMT6XsH9rz6NRq0RtzP1AuPxz1L6NMVOGiGuMMgCZNmq5GolLQnebPv/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image006&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
A Window will appear. Now that the Selenium IDE has been installed let us get familiarized with the IDE.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihEeXI1sfjvgJ8BT95LhfdUPpeWO2noWxPX0yygVgmCy6gK0aBMnE92CGCzEs7FVT92jFe1vyzUPFBPydsuqJ0z-O1HpiC8Gkh5_qhoFNLPkm8EAaLiR9L3g9fp6x3eMgj25oj01ZHm4ci/s1600-h/clip_image008%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image008&quot; border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZWLnXIXFrKcEGesholUdbSSC6VOss5201mr9nDmSIEc7GWhBCt22D8I6qmpxaTyxhd7-yjAYsYiV9yrXfSsGJhNFBJBEOp0ahdb7nJeMVrudre6v2LyVIB7if4gNucfdMRHDDkxQEh9d4/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image008&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwmv7kE4r1EWNrGQDpkJeMvVXwgtDDCHRJkzQ3WWgEPKDlYTLENvWII1Q7t94WsoeAvB3ehUHOiWWs-DyD3rjCiW-kTmmCKwtoiP7JIT3w4u37Fzozqarc3h-mask-pDnPxtb2NctoWPP-/s1600-h/clip_image010%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image010&quot; border=&quot;0&quot; height=&quot;147&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUYbD6yxIWME80kBVMynqZrN3b6DfFXqce2VISrDaPVy7Xv0pa3Fz_JP3dCE-itiQubvsI4PHm6obXFK7Vx9xfuBbjJ5c9ICHgo-prEoeiG-E7isaYLNDpVE3i3YlFeShTb7tECw9SU3H6/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image010&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Below is a sample Test Run Execution details where purposely the script has been made to fail.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifXPOifpxHfy0fVN9jNGextM1pf7Hgs8BUrHNaCPWW8OEKS35z8FBZa95ur9Kvt8j4yfdTOX2LvbF0p0CdlQNkCQrB1pxBfrn2aN2uktcksKNSjrVyVC0sPP30OoBZjVrxU_hKXlBucKYG/s1600-h/clip_image012%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image012&quot; border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfI7qLAvlZrgpYU0yX3O-rOj0kDGuwk_rmerzFiyiku5JS4eaDzSOAA3gDjeDbbimjYxayd-T8hG-TTXeD41qt1ymjWNhqNcoZmjdNu4guHhLZ5aA9dwBRWjhNsAYq7mWttaSlG-GEjaeh/?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image012&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please feel free to provide your valuable suggestions / inputs. If you have any further queries please do let me know.&lt;br /&gt;
&lt;br /&gt;
In my next article, I shall write about Running a Simple Script from Selenium IDE. If you want to know more about Selenium Web Driver configuration with Eclipse IDE then please do refer my earlier article &lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;“&lt;/b&gt;&lt;a href=&quot;https://softwaretestersforum.blogspot.com/2016/05/how-to-configure-selenium-in-eclipse-ide.html&quot;&gt;How to Configure Selenium in Eclipse IDE&lt;/a&gt;”.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;Keep watching this space for more tutorials. Until then Happy Testing..!!&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:077a6282-cd88-41a0-97d0-333fff90dcd4&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Selenium&quot; rel=&quot;tag&quot;&gt;Selenium&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+IDE&quot; rel=&quot;tag&quot;&gt;Selenium IDE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Introdction+to+Selenium+IDE&quot; rel=&quot;tag&quot;&gt;Introdction to Selenium IDE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Web+Application+Testing+using+Selenium+IDE.&quot; rel=&quot;tag&quot;&gt;Web Application Testing using Selenium IDE.&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
.&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2016/06/selenium-ide.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhldyc9Cxa-7pRZIv-uKEjd1jFKXQst0NNwrWgBsIzqEM8nR_IpNQSaXoKrK2R92z1WCCNZ3elMYB0d0GYXZSbaigd4h1Yw7SuKi6IWQlHlyP7CvrCefAoFhOBXruUOWsnrp3ABacjXAty7/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-3953511970272429493</guid><pubDate>Thu, 09 Jun 2016 17:38:00 +0000</pubDate><atom:updated>2016-06-09T23:33:02.977+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Selenium</category><title>Introduction To Selenium</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Selenium:&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUa9NTFMsvDgBBUZFR6aR6dTVxeN-03k9lngHIH-bwVl4YDNifGYFwWTZJfQgHtKRQMxZmAqeR9NaVQg-iesFWLs1aAeByB8LFD49KPGZHsG6-QXykL2EsZ3looIq_oVU2tlpGqmRKWU22/s1600/Selenium.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUa9NTFMsvDgBBUZFR6aR6dTVxeN-03k9lngHIH-bwVl4YDNifGYFwWTZJfQgHtKRQMxZmAqeR9NaVQg-iesFWLs1aAeByB8LFD49KPGZHsG6-QXykL2EsZ3looIq_oVU2tlpGqmRKWU22/s200/Selenium.jpg&quot; width=&quot;183&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Selenium is an open source Test Automation Framework which is widely used for Web Application. Selenium is built using JavaScript and can work on any browser that supports Java Script. It also provides a Domain Specific Language called &lt;b&gt;Selenese &lt;/b&gt;which can be used to write tests in programming languages like Java, C#, Python, Perl, PHP, Ruby &amp;amp; Java Script.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Brief History of Selenium: &lt;/h3&gt;
&lt;div align=&quot;left&quot;&gt;
Selenium was originally developed by Jason Huggins as an internal tool in the year 2004 for ThoughtWorks. Later Huggins and Paul Hammant along with the other programmers and testers in ThoughtWorks formed a team and were able to come up with the tool called “Selenium Remote Control (RC)”.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Huggins joined Google in the year 2007. Along with Jennifer Bevan and others, he continued working towards stabilizing Selenium RC. &lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Meanwhile Simon Stewarts from Thought Works had developed a Browser Automation Tool and named it as “Web Driver”. These were later merged into a Project called “&lt;b&gt;Selenium Web Driver&lt;/b&gt;” aka &lt;b&gt;Selenium 2.0 &lt;/b&gt;in 2009.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Philippe Hanrigou from ThoughtWorks developed Selenium Grid in 2008, which allows running of multiples Selenium Tests concurrently on any number of local or remote machines minimizing the Test Execution time.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Have you ever wondered how and from where the word “Selenium” came from? Well it was from a joke made by Huggins in one of his email mocking the competitor “Mercury”, saying that you can cure Mercury by taking Selenium supplements.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Selenium Components / Tool Suite:&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Selenium is a combination of multiple tools.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Selenium 2 or Selenium Web Driver&lt;/b&gt;: &lt;/h4&gt;
&lt;div align=&quot;left&quot;&gt;
This is the latest addition to the Selenium toolkit. Selenium WebDriver has been widely used for automating web application due to its neat and clean object-oriented design. Selenium WebDriver can be integrated with other tools to develop automated tests. I shall provide insight on the same in my upcoming articles.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Selenium Remote Control aka Selenium 1.0&lt;/b&gt;&lt;/h4&gt;
&lt;div align=&quot;left&quot;&gt;
Selenium Remote Control (RC) is a server, written in Java, that accepts commands for the browser via HTTP. RC makes it possible to write automated tests for a web application in any programming language, which allows for better integration of Selenium in existing unit test frameworks.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
With the release of Selenium 2, Selenium RC has been officially deprecated in favor of Selenium WebDriver.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Selenium IDE: &lt;/b&gt;&lt;/h4&gt;
&lt;div align=&quot;left&quot;&gt;
Selenium IDE is a Firefox Add-On which provides an easy to use interface for developing Automated Tests. Selenium IDE has record &amp;amp; playback feature wherein the user actions performed on the Web Application can be recorded and can be exported as a reusable script in programming languages like Java, C#, Python and Ruby.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Selenium-IDE was originally created by &lt;i&gt;Shinya Kasatani&lt;/i&gt; and donated to the Selenium project in 2006. Scripts are recorded in &lt;i&gt;Selenese&lt;/i&gt; which is a special test scripting language for Selenium. Selenese provides commands for performing various actions in a browser (click a link, select an option) and for retrieving data from the resulting pages.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;Selenium Grid:&lt;/b&gt;&lt;/h4&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
Selenium Grid allows you to run your tests in parallel, that is, different tests can be run at the same time on different remote machines and to manage different browser versions and browser configurations centrally (instead of in each individual test). With Selenium Grid, one server acts as the hub. Tests contact the hub to obtain access to browser instances. The hub has a list of servers that provide access to browser instances (WebDriver nodes), and lets tests use these instances. This helps in sharing the load of testing across multiple machines and to run it on different browsers and also in different platforms.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;i&gt;Please watch out this space for more tutorials on Selenium. Till then Happy Testing..!!&lt;/i&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;i&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:63f558b0-dbb8-440c-a0c3-d96520f3b5e3&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Selenium&quot; rel=&quot;tag&quot;&gt;Selenium&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Web+Application+Testing+using+Selenium+%26+Eclipse&quot; rel=&quot;tag&quot;&gt;Web Application Testing using Selenium &amp;amp; Eclipse&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenese&quot; rel=&quot;tag&quot;&gt;Selenese&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Introdction+to+Selenium&quot; rel=&quot;tag&quot;&gt;Introdction to Selenium&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+IDE&quot; rel=&quot;tag&quot;&gt;Selenium IDE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+Grid&quot; rel=&quot;tag&quot;&gt;Selenium Grid&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Selenium+RC&quot; rel=&quot;tag&quot;&gt;Selenium RC&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2016/06/introduction-to-selenium.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUa9NTFMsvDgBBUZFR6aR6dTVxeN-03k9lngHIH-bwVl4YDNifGYFwWTZJfQgHtKRQMxZmAqeR9NaVQg-iesFWLs1aAeByB8LFD49KPGZHsG6-QXykL2EsZ3looIq_oVU2tlpGqmRKWU22/s72-c/Selenium.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-6204890656992408880</guid><pubDate>Thu, 19 May 2016 20:23:00 +0000</pubDate><atom:updated>2016-05-20T02:03:11.986+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Selenium</category><title>How to Configure Selenium in Eclipse IDE</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article I will walk through the steps required to configure Selenium in Eclipse IDE from Scratch. I hope you might have already have installed Java and would have Eclipse IDE as well.&lt;br /&gt;
If Java is not installed on your system, then please Download &amp;amp; install the latest Java JDK from here. &lt;br /&gt;
&lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html&quot;&gt;http://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-W4nF5j-16eGdwchyzgZmfMqKUmGCR5jbQ5hDDez1vFIlLRttr2_E85Iujb2WzAC8Xmx3CPRbeExrbGZKtiJ8VeUQovZYqXjXveWa4MMw3JvcHkXpZDckDecFjVMGzZwqWggHBRgtE7cb/s1600-h/clip_image002%25255B4%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image002&quot; border=&quot;0&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjawsmW4_qpzIaY5zzH6rMPQSWsxUDW1122f0k7WH9LESXX4AfM2ARmW2_ctHlxhOtT7EWkcBlhJ3M9SKtsWGNtHdjVaUkUhaXtlBj49cJIl4bvowLIG67RVJ60lGY6pPVnpIPe4iXugjQi/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image002&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
Double Click on the JDK installer and follow the on screen instructions to get the JDK installed on your machine.&lt;br /&gt;
You can download the latest Eclipse IDE from here (&lt;a href=&quot;http://www.eclipse.org/downloads/&quot;&gt;http://www.eclipse.org/downloads/&lt;/a&gt;). Here in this tutorial, I have used Eclipse Mars 2 IDE to showcase configuring Selenium in Eclipse IDE.&lt;br /&gt;
Now download Selenium from here (&lt;a href=&quot;http://docs.seleniumhq.org/download/&quot;&gt;http://docs.seleniumhq.org/download/&lt;/a&gt;). You will have to download both Selenium Standalone Server &amp;amp; Java Client driver (Selenium Client &amp;amp; WebDriver Language Bindings) as highlighted below. &lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCApPXkc7gL-87Qc80mGkwibF3tgfvWQfmiQr6-SFpMzUKkURwxOrWIjhazG6rvoDLGFTyMRIsZFBlRsdHqSk-klNekc48LN-Z2Wd6LH33DWbvXjABbPRplCXtGyVLV52o54ApOWBlOERA/s1600-h/clip_image006%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image006&quot; border=&quot;0&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRnOZounsROGoFoUH1chnNfa4-IfXJv0-rXX40IeukDJmhQoiD2oO7mx_LhQAl3mjDWyV7nukFo6b95qpmONinqTF9xgU-IqnJ7ljzp0IMhTwCAuo3qiMzctJk1ysgBO5bRi2TF2FN19l_/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image006&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;sub&gt;&lt;/sub&gt;&lt;/b&gt;&lt;br /&gt;
Selenium Standalone Server is required to run Remote Selenium Web Drivers. &lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;client-drivers&quot;&gt;In order to create scripts that interact with the Selenium Server (Selenium RC, Selenium Remote WebDriver) or create local Selenium WebDriver scripts, will have to use language-specific client drivers.&lt;/a&gt;&lt;br /&gt;
Once the required files are downloaded. Extract the downloaded selenium-java-2.53.0 Zip File to a folder as shown below.&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP7EAQDnlqtHvl_6BQPxpAdiEb1MhyI0vmsxzzU7XdMhGPKKKnELyZUhrq6vkYsZ0uQMAFhdQHHOIs40AlPDWtZdQqAmGoymv1LIXs_hgRPhHEZEGWoKPpYbuuQ9Cx78SXeG5sFHnlN4oP/s1600-h/clip_image008%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image008&quot; border=&quot;0&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4kx3bUry2v7Jsk2kHKkGAI2FCjUOR7rEar_F9M0frnzl1K1kN0aPe1cLU5kPBnhHvdjP9K5gLS4VZx-3cweOuVcbPXPLmnNvS4A0QRy7yT6VwMf5irWwtXRjaPoiXZBI8Yl0DCbGBlFEF/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image008&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
Along with the Selenium Standalone Server &amp;amp; Selenium Java Jars the following Jar files which is the available in the extracted libs folder (Shown Below) is also required.&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDHP_slnNsk4VQidb7po-SiJ_UQl1HzZc8SLBJhVS_6eTpveAirdlDhYrtbwRdwVmZynEHKCifa8fSsBQn9OddManlx-PQfmnSOSqKp4mSsBNNp_209hSvgVWEbhI9glrOsdcBDZu2Ft5A/s1600-h/clip_image010%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image010&quot; border=&quot;0&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFAgHjMAlz3eRN4lPgiLA1zNsdNaPhvgETLWCQMH9hQoY6cEM5PcZktW4AB3CkDoa2GvY7hKnlw0raq0KwUJBUtWnWKDIHgNCwZhT5hGvadTlEnYk9fFZSD3bCBnJPASMRT8a0S48V4Y6X/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image010&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
Now that we have installed Java, Downloaded required Selenium Jars &amp;amp; Eclipse IDE, let us look at how to configure Selenium in Eclipse.&lt;br /&gt;
Launch Eclipse &amp;amp; Choose a workspace name as shown below.&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJRRWm2zI85jD_nvQ2vo8BG0Cq4fSkWAtjbE-VuVMtUpGYOLbz_0-HXk-JXcxO4imw5KLH7cODDGpBvu9nLAmBZ7EHO67ornmBXrhrm3Gq66TrUt3mRH0AQYXx8bEuPleUFytXffJ3scJt/s1600-h/clip_image012%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image012&quot; border=&quot;0&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuPy_Oh6qojsDL11jkT_GJURsKO4IYMJQKcKFHkXrtdFob-7yrX-uriH45kuUNCuRUHDR77Oj7zErAQ6EMX21nZd3NAamamJfT9blUQhWCj9jCcJo8bQ7IwA7cpvYPKRZZNxHatE7RMJxP/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image012&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
Once the Eclipse IDE is open, click on File à New Project à Java Project as shown below.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqqNlgX4Vt6ZH-0i2sehg_MPmf6cgtyutrbynEXhJn-_LqtW9TxnJsum1HdW1mg8DFDoxG4yhT2tnncchIQ1ZTCfSxykC-fC686fZJ8tDaUaum35aUlimbOQ8bh27kBhZAiNQT3nPBZAs7/s1600-h/clip_image014%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image014&quot; border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPoWFHAukd2yfprtp293Ic6Q6vFvugmZwnJkdaujqpd_oxMpGbtP4R93MfEPs8jSeirMrZ5US8qQpsv84HnwHEHQTSG8rnGpeBK0rW3YmBJ8lRLK1lZPMr7L2TfQSfp79LIwOEKjAXQ1EN/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image014&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
In the Create New Project window, provide a Project Name and click on Next button.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu-pQ6dhN8ay2EBCrQwNcHqZJKQtznTJ0ZXCz5l_gOavW_AyGx0BFxjL0FAZyJClPZBWcr0QGYxCTRLyD_1M_c4NbB11LeqShwGjo-Ds8ELNOHV4C8JcliMe_Jc2iFG2KXveCWioHELbgP/s1600-h/clip_image016%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image016&quot; border=&quot;0&quot; height=&quot;273&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEOrQGwpH4dzQ2waXwJAiDF7ySFvqZCPQ30MNXyJQijDxfq8MH01jxYoBZj0vCwstK9v5XRqKN0RQw_6LnHSupCg3xcIdeTMo2SIeeNG8RmDst8VD7VD_xEU7Sld8u5D0kECZl3NerbOFA/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image016&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
Keep the default settings as is and click on Finish Button.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh99wbtoVediaEoQq5xr4HGREkk6yzXIa_WjsJFZlBgH2_UPC_V6jbcUBjwZHjAMypQdf1EtbvJKLgmRzngdgXtChxREhYA1vw4JRRx6pWmqtL_iENQwkjGToH9Z73uEW-zdOL3_sDuy7rt/s1600-h/clip_image018%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image018&quot; border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDYGhLzOZ-54BWNfnOufA6G9OVd18PL7KkmAXTBsJN8WhPczRFTaSx6Nh938_GPpXwIY7fZqUmbDMHzxe3aYoYB6tlpT3sXOTQWQHqUkiyxTg40INPl6KgYsNl1AJIti_sKTN6lnE8TpJB/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image018&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
Now let’s go ahead and create a Libs folder in the created project. Right click on the Package Explorer and choose New à Folder.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj-akMFpkWVd5P3N93hnsI88ASy986TNltPZssi8KwQq_tzW5t-MPfBYS74qdv83-F_34INIld-zXHgJ_UBCQUK0Hn1t4BBaLSACaPnLVTW6vnmo1P2_OBIjB8vfmH2ZVmrHRe1y6G8IXq/s1600-h/clip_image020%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image020&quot; border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq_UkpJ5ElisrGVL0Dbivxk8G4XwqV9GXBFUfqwKX3MNGAaNcPpgAQtJvayqAxhH_BV4HEMX6zYGAwe8xmhS5XGgZkDr75CuaZI-IXG1LIr7SfvdqQwL1f8E4dp-__qcUAEykDAQ5c4511/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image020&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRhQH3OjEVSdSRUjk0U6VHYuPKNCohTiy7KbV7vZzrtSRsPS2d33CCIaBdHvMLKl2rfXAvccTa36SErrp-TAGtE0KQexgNMQCtcf2DGVrA9aDA4eth3vtM_4LzdaORFsRQnt8ts6nESmy2/s1600-h/clip_image022%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image022&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaB2ALQS8fSkycPgvBxYMRnjSA9cMGg_YyjNNa1SJZptv9hVcvzsDqulM4T6z93vsHVxNoWd17pIBjQeSipixYAe4TyvOVG6KfX9_fCcACb_9g7xHtJyGUIpk1oGcYXkQNjVFd8Pyff-se/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image022&quot; width=&quot;351&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
Now navigate to the Selenium Demo Project location through Windows File Explorer and copy all the jars mentioned above including Selenium Standalone Server, Selenium-Java and other jars into the libs folder as shown below.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN5tqMDweIILLF-VV2u9Bjntpzk-1MDcF4Keamoxv5ZtGmztbvldrQp3QrGUhUNov3742AX1Va7uy1o5tsWk6vcqZ-bf-VbbFytLhp_mxRUcX7ts82rfsNfoV6leylYRcw8dz5LpiPKT1h/s1600-h/clip_image024%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image024&quot; border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZNJ2FkmNoTHFkx32RHSB1KJduNab-TNXjjQWlJgXQPpQIcCs5xnx7XSF07ccD5-st0VxYLPVcFii0bDILOJ2Onh8YkHaT0PFJcNMfWgdcMPjUzMbnmiIYCw6n7-ByMSDxpHyo3VVMEXC5/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image024&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
Refresh your workspace in Eclipse IDE. All the jars added should appear in the IDE.&lt;br /&gt;
Let us create a Class and write a small piece of Code to Configure &amp;amp; execute a simple Selenium Script as a Java Application.&lt;br /&gt;
Right Click on the Project à New­­ à Class&lt;br /&gt;
Provide a Package Name &amp;amp; Class Name as shown below and click on Finish Button.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9DhgMcsd6y8RXFY995_aaA5NQOhAMupoI8x4l8qaXTl8amOip3hkY7OA7soC6hnCzoPVqhvidB_YLGxv2HaFSgAZSmy5LHwkhguesE71aSCSg3qMHmMhpeowWS-3MmXWJLpjOVAmIh6xb/s1600-h/clip_image026%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image026&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju2TOQ8IgNF1oeJErIstv3O7quh8dtVqtp8sFdSNkkGya65kEMoJ5QrvEmlz32IaJPiBM4hTbhOHMuioY3rv7N99QdAiwjdCf633Xoh4kCUOSmP_SAo3SIJ6r3ucy2s-dgtnIZvxnO42rx/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image026&quot; width=&quot;390&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
Below is a sample Java Code to invoke Google.com through Firefox Browser.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_3Gb5yNkuJn43Ae9WGcf6Nitv1Br_VQsFXCrmxfCju3UEvKftQ-h5DN56uWu9q3buFqSxSQ6nOshpIixXl7b5R6_QKYE67L7hyjOYbDBsg2VGbr8TkmCYOxTbbDCtfqqcnvRdLhviiNVI/s1600-h/clip_image028%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image028&quot; border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9rkHDUlFiRTkwuc-e-AyQmJQMkpDt-clIeyxeyy8q1NrUQ-pqkf8-L_67rcnZtkE6VzWj1PyhQjG5k_4ve5yvJADB8rvrvMb6o5W0xtZWz2k8TioomkejydPKbf97o7m46F9DPFcJr85X/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image028&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
As you can see in the above code there are some unresolved errors. Let us try to fix them now.&lt;br /&gt;
Right click on your Project in the Package Explorer and choose Configure à Configure Build Path option as shown below.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtlY6qvxE0ieWMlfEfzHhUnd1SOPWHBShyTYfgNzsBbXgahYI4MaRM9mkO2qWhVHveuhpMRO44MnL1w6UnLGnKryqXeeaNnXS3bk-WsW7QfvH8b_Z470RkU74rz-cpfIyjiE46JN60Q3uI/s1600-h/clip_image030%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image030&quot; border=&quot;0&quot; height=&quot;245&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCyPifE1pSZwSUJwJSo_YkmJ3cmHbBiHJgESJMGU629MD2bNQmBdrtdqU4U8Rxh6U3T6_WfebZX16eDRshE5bof8ys3mFlCxv0XuQjGSBYiSUlPqQNCK9sa876fRjm-bR0jXlF3wndXdDE/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image030&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Click on Libraries Tab and select Add Jars.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMIconkhmHZQc7zirMjd1ayW0sf51rSc6QzUjZxjQY1jlNx7Hi3IeYO4vWi-pBW-7sJhyphenhyphenrAj8W-t3ssFQlTcugcI4JxPFcowin-TYgFiQVbi6S1ly5-G5w_P7SOUA2jMC_wJW0GF650r2V/s1600-h/clip_image032%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image032&quot; border=&quot;0&quot; height=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX2bUDJJ8NpEpJWd7zI3qk5N0_AEUqD7TZ_YlHOWo-rx8lMTEurpqfFy3N_U_Rr1bCYF10YE73GFHJ90QdyNIzB62Ys0ybgc8l6IFtPmXW2IhZPnz9-HYOTlxh7WlfqDS1Vavv0dOI27W6/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image032&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Navigate to the Project Folder, select all jars from the Libs folder and click on OK button to add the Jars.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnrya0JKDyBpDBRY8tG1_OEyucPJ8QMsi_PRtjs7oKbIzBnn7jm9TDsc4rwjG_W6gSHHNH-JgS965Va-PSOZ06rvl8sO1gFE4esIyu3kyAUKQ02POk0hxhAMpVsufzGj_ldYUvnyB5Wkdi/s1600-h/clip_image034%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image034&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUdSU6V0I9rewaS8jL1-pi_lYqL6S80VcpICMkrHbWHnASdYGHq-HkCPZ4hN-9JjIGXm5u-edZVW2Nb6NR08svN-8b3RnUM-Gk24myTyqVsd4mdMtQMy4Px13jHPE_LGxJL3f7FvdRUxWE/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image034&quot; width=&quot;327&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxSM_7dps-Rb6QG6XaH-dMmDfbBvz41410swqHCs4Qli4vUgImTl1JwURrU5_u9XObpEgRF2erZMZqCLJeTJTL50RTxsAeT0LHZY5V8mu4rWQR1zxMpinH_JkXdiHJqwlJTD7IqLVv7xeR/s1600-h/clip_image036%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image036&quot; border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8YhIkxWdND1cgwkRYfaTFTmGXQTsx-tsVlIdYumLhGZG5UVgIUMYxE5Aqn9aBS5HUyw0VNcL6ccGUIk2LhyWjyYI_1oenTghXhc3yr7K7bRlDWGuQ0j1-fMzxv269EjtixIgzQ5lhu9N3/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image036&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Then Click on OK Button. Now click on the errors in the Editor window and import the required packages. Finally your code should be error free as shown below.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs0WwYs7d8pkzyyWoa2Qgft9Vkmy2cJUFa30qRPJfVBZhz14E4haPx8kHHO8vp5Z6URrZjrVptkgnDMrQJ3qn35or8w0nl97FqUGHtC0J_EqW2wtnHg9cNrGdxCFoqB0PsM0QTWH9n5aXQ/s1600-h/clip_image038%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image038&quot; border=&quot;0&quot; height=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJD68BxnNZIPwD5KYktscMn_SVQsoLplXG-gA95EYbpdLYdmokGi5MlvEC-vL6qTMs9DuJAsJSw_sePXY-s5lBfwj3dqQMeDfZCvlDZIZns1HIccG_xQLF4bPbOIeUTPexWKpsW6kjyXPW/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image038&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Now right Click on the Project / Java File and choose Run As àJava Application to execute the Script.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQKdQiUFCfzNuEEbv5mJPFcAvOJHS2e57kYujMGw8eGac8EiHoLSwIqfcqAIxsHOstmcVfur4s1iguDaq8ZqoPSTQ9dQ-vGvDawMLzCY1uE1Pbif8N6DFwsZECl-dmCVEMUSQw8XmKeyDP/s1600-h/clip_image040%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image040&quot; border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHQB5U0OXk9s9cCZICsnlIHNMcGFqlHEmXyIXowm33Bha6Mza61wdtGr3ahBhyphenhyphenqLuxUg2QYbxKw5SQ3CIGY9KkMvFQyEsaQA4KpZDTbXGjDQ3kEHHUSp_wHyKUoZAEPj2ppG8ZHPy3hdAJ/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image040&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
The Code should execute and you should be able to view the Google Page launched through Firefox Browser.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRgTKBLcZKoTBb9pGegjKUSB5NGcC_tSAKsvafoDvB3gxSnFeVH3HF9SaKJ114DDRe_nIH7u301njT1FcPgOYNZROkC3jK7tEg6GK9E9XyRI1ysNdX-7WIHNJhYBjbml142L_gkA9Ji5dd/s1600-h/clip_image042%25255B3%25255D.jpg&quot;&gt;&lt;img alt=&quot;clip_image042&quot; border=&quot;0&quot; height=&quot;171&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhXgGs5zHfEucuMen99fprmtNewsftqTXHirT7HdLrkGz1ipgdCljIucLJVBvixA7VoURGLA6V6YEWTloLE0w2qS0hiET8_GSX_c89Z0BgcIpudKhPVZeiIqkxZV-A6wJIg_lG8bzS1mSS/?imgmax=800&quot; style=&quot;background-image: none; border-color: -moz-use-text-color; border-style: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;clip_image042&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
In this series, Hope I have provided as much as detail possible and you should be able to simply follow the above steps to configure Selenium in Eclipse IDE and run your First Selenium Script.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Keep watching this space for more articles on Selenium. Until then Happy Testing..!!&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:77ECF5F8-D252-44F5-B4EB-D463C5396A79:bec2f5d4-56b1-47b6-857f-d6459267ec78&quot; style=&quot;display: inline; float: none; height: 45px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 524px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Selenium&quot; rel=&quot;tag&quot;&gt;Selenium&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Eclipse&quot; rel=&quot;tag&quot;&gt;Eclipse&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/IDE&quot; rel=&quot;tag&quot;&gt;IDE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Web+Testing&quot; rel=&quot;tag&quot;&gt;Web Testing&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Web+Application+Testing+using+Selenium+%26+Eclipse&quot; rel=&quot;tag&quot;&gt;Web Application Testing using Selenium &amp;amp; Eclipse&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Configure+Selenium+in+Eclipse&quot; rel=&quot;tag&quot;&gt;Configure Selenium in Eclipse&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Seleniuum+with+Eclipse+IDE&quot; rel=&quot;tag&quot;&gt;Seleniuum with Eclipse IDE&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2016/05/how-to-configure-selenium-in-eclipse-ide.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjawsmW4_qpzIaY5zzH6rMPQSWsxUDW1122f0k7WH9LESXX4AfM2ARmW2_ctHlxhOtT7EWkcBlhJ3M9SKtsWGNtHdjVaUkUhaXtlBj49cJIl4bvowLIG67RVJ60lGY6pPVnpIPe4iXugjQi/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-886388331671296888</guid><pubDate>Sun, 24 Nov 2013 11:26:00 +0000</pubDate><atom:updated>2016-05-20T02:03:27.117+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Display Execution Date in soapUI HTML Report</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today, in this article I shall be discussing on adding Execution Date and time details while generating HTML soapUI reports dynamically.&lt;br /&gt;
To achieve this we need to tweak the &lt;b&gt;junit-noframes.xls&lt;/b&gt; sytlesheet a bit. Follow the below steps:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Open junit-noframes.xls in any text editor. &lt;/li&gt;
&lt;li&gt;Find “TITLE” i.e. &amp;lt;xsl:param name=&quot;TITLE&quot;&amp;gt;Unit Test Results.&amp;lt;/xsl:param&amp;gt; &lt;/li&gt;
&lt;li&gt;Comment it and add the below&amp;nbsp; lines of code &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&amp;lt;xsl:param name=&quot;TITLE&quot;&amp;gt;soapUI Test Execution Report &amp;lt;/xsl:param&amp;gt;      &lt;br /&gt;&amp;lt;xsl:param name=&quot;EXEDATE&quot;&amp;gt;&amp;lt;xsl:value-of select=&quot;java:format(java:java.text.SimpleDateFormat.new(&#39;dd-MM-yyyy hh:mm aa&#39;), java:java.util.Date.new())&quot; /&amp;gt;&amp;lt;/xsl:param&amp;gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Now find “$TITLE” and under pageHeader add the below lines of code just below &amp;lt;table width=”100%”&amp;gt;      &lt;blockquote&gt;
&amp;lt;tr&amp;gt;          &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align=&quot;left&quot;&amp;gt;&amp;lt;/td&amp;gt;           &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align=&quot;right&quot;&amp;gt;&amp;lt;b&amp;gt;Execution Timestamp : &amp;lt;/b&amp;gt;&amp;lt;xsl:value-of select=&quot;$EXEDATE&quot;/&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/tr&amp;gt;             &lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;blockquote&gt;
Below is the working screenshot for the same.&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV8eayk7leanvJicRaxwcWAZTRDK8-hbtUk93Ynv8GJQb9Lb2YM1Q6lGrpEyGT_IxtP7O9tHd_e18Qc2GAGc-Cq28UI-_azjG-2T6VH7Lype7Mas5tfnA0eP42zbv2REITiDdbJPQsWxQm/s1600/ExecutionTimestamp%255B3%255D&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV8eayk7leanvJicRaxwcWAZTRDK8-hbtUk93Ynv8GJQb9Lb2YM1Q6lGrpEyGT_IxtP7O9tHd_e18Qc2GAGc-Cq28UI-_azjG-2T6VH7Lype7Mas5tfnA0eP42zbv2REITiDdbJPQsWxQm/s400/ExecutionTimestamp%255B3%255D&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/11/display-execution-date-in-soapui-html.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV8eayk7leanvJicRaxwcWAZTRDK8-hbtUk93Ynv8GJQb9Lb2YM1Q6lGrpEyGT_IxtP7O9tHd_e18Qc2GAGc-Cq28UI-_azjG-2T6VH7Lype7Mas5tfnA0eP42zbv2REITiDdbJPQsWxQm/s72-c/ExecutionTimestamp%255B3%255D" height="72" width="72"/><thr:total>7</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-1681042311719172161</guid><pubDate>Mon, 14 Oct 2013 16:05:00 +0000</pubDate><atom:updated>2013-10-14T21:56:53.732+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Generate dynamic JUnit reports in soapUI </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today, in continuation with my earlier post on &lt;a href=&quot;http://softwaretestersforum.blogspot.in/2013/03/generate-junit-style-html-reports-in.html&quot;&gt;Generate JUnit Style HTML reports&lt;/a&gt; let us see how to generate soapUI HTML reports dynamically. &lt;br /&gt;
&lt;br /&gt;
JUnitReport Task will merge the XML files generated by JUnit task and will apply a style sheet to generate HTML results. The stylesheets applied would be either junit-frames or junit-noframes. &lt;br /&gt;
The &lt;tt&gt;frames&lt;/tt&gt; format uses a stylesheet which is generating output &lt;em&gt;only&lt;/em&gt; by redirecting. In this case the test result file name would be &lt;b&gt;&lt;i&gt;index.html&lt;/i&gt;&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
The &lt;tt&gt;noframes&lt;/tt&gt; format does not use redirecting and generates one single file called &lt;tt&gt;&lt;b&gt;&lt;i&gt;junit-noframes.html&lt;/i&gt;&lt;/b&gt;&lt;/tt&gt;. &lt;br /&gt;
&lt;br /&gt;
I have been using &lt;b&gt;noframes&lt;/b&gt; format to generate soapUI HTML reports. On generating the HTML report &amp;nbsp;each time, it will be overwriting the existing junit-noframes.html report. If I am not wrong, we don’t have any other option yet in JUnitReport to change the default report name but no worries..luckily we have a work around in our plate that would help us to achieve complete automation. &lt;br /&gt;
Well, let me explain it...&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;In the build.xml file add the following timestamp property. &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHGg3WCLRDwk_7BOFNMx2d8znSJ-70pHSXi1XyanQR_-JWyTuStxY5mlUvEjWtZb86yv2Ig6nl0k4QvznLnsTBkggnitppzKjgr-2pmt2FTZ1ZjqyDpgtpbvdTOncKOiFjQuXi0klUeyVq/s1600/tstamptask.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;56&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHGg3WCLRDwk_7BOFNMx2d8znSJ-70pHSXi1XyanQR_-JWyTuStxY5mlUvEjWtZb86yv2Ig6nl0k4QvznLnsTBkggnitppzKjgr-2pmt2FTZ1ZjqyDpgtpbvdTOncKOiFjQuXi0klUeyVq/s400/tstamptask.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then add a &lt;strong&gt;move &lt;/strong&gt;task just below your &lt;strong&gt;junitreport &lt;/strong&gt;task to rename the generated junit-noframes.html file dynamically to your desired file name along with the timestamp as shown below: &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3HUTHVk7Z60EoPOGcLptfuBMm2S6s055DXVyPm1Jht_6Zp7BtfhH_3OllskC-TD7en0uNoc4CWdanvxwlbC670b9Kg8ip3nrfKFp9KsLHbCB7oeFs8VVLc4has4rpCdG7XTufADklHCg3/s1600/movetask.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;83&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3HUTHVk7Z60EoPOGcLptfuBMm2S6s055DXVyPm1Jht_6Zp7BtfhH_3OllskC-TD7en0uNoc4CWdanvxwlbC670b9Kg8ip3nrfKFp9KsLHbCB7oeFs8VVLc4has4rpCdG7XTufADklHCg3/s400/movetask.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This should take out the test result naming dependency and should help you in generating test results dynamically. &lt;br /&gt;
&lt;br /&gt;
Do let me know if this article proved to be useful by dropping in a line below and do keep visiting &lt;a href=&quot;http://www.softwaretestersforum.blogspot.com/&quot;&gt;Software Testers Forum&lt;/a&gt; for solutions. Happy Testing..!!&lt;br /&gt;
&lt;br /&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Generate&quot; rel=&quot;tag&quot;&gt;Generate&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/HTML&quot; rel=&quot;tag&quot;&gt;HTML&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/continuation&quot; rel=&quot;tag&quot;&gt;continuation&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/JUnit&quot; rel=&quot;tag&quot;&gt;JUnit&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Style&quot; rel=&quot;tag&quot;&gt;Style&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/JUnitReport&quot; rel=&quot;tag&quot;&gt;JUnitReport&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Task&quot; rel=&quot;tag&quot;&gt;Task&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/sheet&quot; rel=&quot;tag&quot;&gt;sheet&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/output&quot; rel=&quot;tag&quot;&gt;output&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/index&quot; rel=&quot;tag&quot;&gt;index&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/option&quot; rel=&quot;tag&quot;&gt;option&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/automation&quot; rel=&quot;tag&quot;&gt;automation&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/dependency&quot; rel=&quot;tag&quot;&gt;dependency&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/article&quot; rel=&quot;tag&quot;&gt;article&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Software&quot; rel=&quot;tag&quot;&gt;Software&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Testers&quot; rel=&quot;tag&quot;&gt;Testers&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Forum&quot; rel=&quot;tag&quot;&gt;Forum&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/solutions&quot; rel=&quot;tag&quot;&gt;solutions&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/soapUI&quot; rel=&quot;tag&quot;&gt;soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/noframes&quot; rel=&quot;tag&quot;&gt;noframes&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/timestamp&quot; rel=&quot;tag&quot;&gt;timestamp&lt;/a&gt;  &lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/10/generate-dynamic-soapui-html-reports.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHGg3WCLRDwk_7BOFNMx2d8znSJ-70pHSXi1XyanQR_-JWyTuStxY5mlUvEjWtZb86yv2Ig6nl0k4QvznLnsTBkggnitppzKjgr-2pmt2FTZ1ZjqyDpgtpbvdTOncKOiFjQuXi0klUeyVq/s72-c/tstamptask.gif" height="72" width="72"/><thr:total>7</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-567436561828717576</guid><pubDate>Sun, 14 Apr 2013 12:14:00 +0000</pubDate><atom:updated>2013-04-14T17:44:49.788+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Jenkins</category><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Integrate soapUI with Jenkins</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;i&gt;Before posting any articles on my Blog, I wanted to make sure whatever I am posting here are genuine and are practically possible. As I don’t want to disappoint or misguide my Blog readers.&lt;/i&gt;&lt;br /&gt;
Well this time I have something interesting to post it on my Blog and that&#39;s nothing but a very interesting and hot topic as of today i.e. ‘Integrating &lt;a href=&quot;http://softwaretestersforum.blogspot.in/search/label/soapUI&quot; title=&quot;soapUI&quot;&gt;soapUI&lt;/a&gt; with Jenkins’. I had been working on this to give my best possible solution and finally here I am&amp;nbsp; sharing my learning with all my blog readers today.&lt;br /&gt;
soapUI and Jenkins are turning out to be a real giants in their own stream. Now lets try to combine them and make them work for us..!! :)&lt;br /&gt;
Here I will using the same Currency Convertor Web Service Testing project in soapUI. For details please refer to my &lt;a href=&quot;http://softwaretestersforum.blogspot.in/search/label/soapUI&quot;&gt;earlier posts&lt;/a&gt;. Also checkout my post titled “&lt;a href=&quot;http://softwaretestersforum.blogspot.in/2013/03/generate-junit-style-html-reports-in.html&quot;&gt;Generate JUnit Style HTML Reports in soapUI&lt;/a&gt;” to know more about invoking soapUI from Ant Build tool.&lt;br /&gt;
Follow the simple steps to integrate soapUI with Jenkins.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Create a directory in ‘C’ drive and name it as JenkinsWorkspace.&lt;/li&gt;
&lt;li&gt;Place soapUI Project and build files in the same directory as shown below.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfU87XWwHnKQljqqETzKId1WlIDTqLiUQaGJ8HwUgpaquLu85MQbsMXE7om5-SLX6xXp-2CG9dBTtA7eQ5VaVEn3EzDkR4ONHgaZnfuJUmZExu8Yra6Dd9QT9z3-dK0T6ARnFfr3ErzOge/s1600/JenkinsWorkspace.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;106&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfU87XWwHnKQljqqETzKId1WlIDTqLiUQaGJ8HwUgpaquLu85MQbsMXE7om5-SLX6xXp-2CG9dBTtA7eQ5VaVEn3EzDkR4ONHgaZnfuJUmZExu8Yra6Dd9QT9z3-dK0T6ARnFfr3ErzOge/s400/JenkinsWorkspace.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Now Open Jenkins through Browser, From the Jenkins Dashboard, click on Manage Jenkins&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGdvCCP0UwmKv3sAN27fp4J7Qhcst91Ty1Pmhyphenhyphen3fcttR6CeUok9Auyg4noqZpjnmCG5O64aCjp6uQnJAsNNo-x0dLQQ9V5A2fxYrUVwkDHA7SVehrPHDHrsdMoltQevyoPD8NMiv94ofxK/s1600/ManageJenkins.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGdvCCP0UwmKv3sAN27fp4J7Qhcst91Ty1Pmhyphenhyphen3fcttR6CeUok9Auyg4noqZpjnmCG5O64aCjp6uQnJAsNNo-x0dLQQ9V5A2fxYrUVwkDHA7SVehrPHDHrsdMoltQevyoPD8NMiv94ofxK/s1600/ManageJenkins.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Click on Configure System.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik5RyJhQ3GrVO0dY34yaIwtkWlj-USrXsifdusRvV6GcH3mGjQGpYfy8yoQLEoPZAziibd_9Jnl7GcQjh3wdE0FAsgVySmIR76_siSDuW-K8X3eEhD0C1rQAZEyDKY1I8aFMDfLgBCNSwZ/s1600/ConfigureSystem.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;103&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik5RyJhQ3GrVO0dY34yaIwtkWlj-USrXsifdusRvV6GcH3mGjQGpYfy8yoQLEoPZAziibd_9Jnl7GcQjh3wdE0FAsgVySmIR76_siSDuW-K8X3eEhD0C1rQAZEyDKY1I8aFMDfLgBCNSwZ/s400/ConfigureSystem.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Click on Advanced Button under Home Directory.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiozud6Jjr-cozdd7Z5xUx5c0e5CYX0b3OsV0zJdLfYdwrAJ44qnJqMPQnUJITs1YFQF49nr-ObsuiiOrlxW3J_4rYbBMxneuQpaBVs7R3NEB4Gymj75oGZggOg8EpA5TIpOVx6INIWWFil/s1600/HomeDir_AdvancedOption.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;52&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiozud6Jjr-cozdd7Z5xUx5c0e5CYX0b3OsV0zJdLfYdwrAJ44qnJqMPQnUJITs1YFQF49nr-ObsuiiOrlxW3J_4rYbBMxneuQpaBVs7R3NEB4Gymj75oGZggOg8EpA5TIpOVx6INIWWFil/s640/HomeDir_AdvancedOption.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Update your Workspace and Build directory details as shown below.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsDZcwhpkfAnaRzu6SLbGywU9IHaJEmDSHnDNo4XrRUpjyB-vtfzHuvA0m9oT9eOLo45Y3CYK_IfVdKj6k1RmDfuBvcpFLHmwWKcxUfe1E2mdThvBOWYe-3yCHpSDVzc3KLACwaaeCesDT/s1600/UpdateWorkspace.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;143&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsDZcwhpkfAnaRzu6SLbGywU9IHaJEmDSHnDNo4XrRUpjyB-vtfzHuvA0m9oT9eOLo45Y3CYK_IfVdKj6k1RmDfuBvcpFLHmwWKcxUfe1E2mdThvBOWYe-3yCHpSDVzc3KLACwaaeCesDT/s400/UpdateWorkspace.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt; Also make sure to set the Ant build tool location and Java JDK location as shown below.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN54MIEbYHjGDG1pghJ4SoTXm9waYKvEjHppsv2Kg9DEKpdHE-fanLGcaQ3Dnj-seYPG-rxKn2FCCtr_luPBRh1SBUqPFxEHWgP0hXxNfvOTDISi_qy5FcdtrQaEg1ef7Nyui0CVNnwXGe/s1600/Set+JDK_Ant.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN54MIEbYHjGDG1pghJ4SoTXm9waYKvEjHppsv2Kg9DEKpdHE-fanLGcaQ3Dnj-seYPG-rxKn2FCCtr_luPBRh1SBUqPFxEHWgP0hXxNfvOTDISi_qy5FcdtrQaEg1ef7Nyui0CVNnwXGe/s400/Set+JDK_Ant.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Now that we have configured Jenkins as required, Add a new job in Jenkins, Provide the Project Name and description (if required) as shown below. &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb7IOyPJkUHfdmvj9Wy3XpvTQs4wnbu9sqprMG1fyj81PtmQmnCJCZFfeh0l9lsENeSHxYQSTnHd1CjnLxAHHk0_ryBSDBhBoO436fqI5YODzXqEMV34V1-y-QssWbJQcRcpXTVJlw-KWC/s1600/NewJob-ProjectName.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;134&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb7IOyPJkUHfdmvj9Wy3XpvTQs4wnbu9sqprMG1fyj81PtmQmnCJCZFfeh0l9lsENeSHxYQSTnHd1CjnLxAHHk0_ryBSDBhBoO436fqI5YODzXqEMV34V1-y-QssWbJQcRcpXTVJlw-KWC/s320/NewJob-ProjectName.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Under Build, choose Invoke Ant&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTbkMCMwtQN2AkIj3tCiqFmC9LwsYVQq59PxGnDHyStVdZsXV1vsvJMrgFuz_sXMN7-v8_dNlnsQ-pYM7eIZpCr_33VxX9zSl4rPmYATrKpPtOli-D2UoLAhRV5tzeDj8JIiJril3VOTQJ/s1600/InvokeAnt.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;105&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTbkMCMwtQN2AkIj3tCiqFmC9LwsYVQq59PxGnDHyStVdZsXV1vsvJMrgFuz_sXMN7-v8_dNlnsQ-pYM7eIZpCr_33VxX9zSl4rPmYATrKpPtOli-D2UoLAhRV5tzeDj8JIiJril3VOTQJ/s400/InvokeAnt.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Under Post-build Actions choose Publish xUnit test result report. Install xUnit Plugin so that the test results can be published in Jenkins.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuDwlkZ1wz6wMnUmRK90iLCZREx9WTMv8vKI_t_0novcfPnRSpbqBE6aUZZYRBXxnLeXZnml0EWhPi1VlhxrigNOUAeHfvz61l_aLLWeTgPqdXjz6waMdAtXDC2pwW4_9ynzQanDPhfmGz/s1600/PostBuildActions.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;85&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuDwlkZ1wz6wMnUmRK90iLCZREx9WTMv8vKI_t_0novcfPnRSpbqBE6aUZZYRBXxnLeXZnml0EWhPi1VlhxrigNOUAeHfvz61l_aLLWeTgPqdXjz6waMdAtXDC2pwW4_9ynzQanDPhfmGz/s400/PostBuildActions.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Now Click on Save button.&lt;/li&gt;
&lt;li&gt;Go Back to Dashboard, Click on the job and then click on &lt;strong&gt;Build now&lt;/strong&gt; as shown below.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh399OgFzoVeOvqLkC84P7aUyLJHNd10smkaXHM0xl9Z_BMXDzPxDldGZy6KnkkSacjb8O8Mv2ApnEDrX5u8JotFJ1x2BcemKFmfIWWf_OXh1NCg6uL1tMEo9DmUo_3ciRYvAjMZ6NWIYhR/s1600/BuildNow2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh399OgFzoVeOvqLkC84P7aUyLJHNd10smkaXHM0xl9Z_BMXDzPxDldGZy6KnkkSacjb8O8Mv2ApnEDrX5u8JotFJ1x2BcemKFmfIWWf_OXh1NCg6uL1tMEo9DmUo_3ciRYvAjMZ6NWIYhR/s320/BuildNow2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiik1H39rVZVKKDm-Unq5-Q1tNfN3PAxecwCSlcTmX5bm5LdjxYCGQU3sPeXwcrx_NOHPN_ZTLcQAAqLrrI046qzsBsi7z8wWY7VJ66CKZFMBEcSApKCq_LCss1Wd8S_uKWUE9TSnk1Qhe1/s1600/BuildNow.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiik1H39rVZVKKDm-Unq5-Q1tNfN3PAxecwCSlcTmX5bm5LdjxYCGQU3sPeXwcrx_NOHPN_ZTLcQAAqLrrI046qzsBsi7z8wWY7VJ66CKZFMBEcSApKCq_LCss1Wd8S_uKWUE9TSnk1Qhe1/s400/BuildNow.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Now soapUI execution gets initiated, to view the console output, point your mouse on the current build in the Build History as shown below.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNQg7KelIhMvvro5fe2hqkY8Tj7mxOPtEw5dlKZnSglmV5cMZkHzG5f3YougZKCOYtjz7So_rs-lGqOonoXV7UBvVAZC4dRUwC-aS5D_CBLg5T3J28PFjyaCTK9DBipNnxO1x0sne_1Kcm/s1600/ConsoleOutput.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNQg7KelIhMvvro5fe2hqkY8Tj7mxOPtEw5dlKZnSglmV5cMZkHzG5f3YougZKCOYtjz7So_rs-lGqOonoXV7UBvVAZC4dRUwC-aS5D_CBLg5T3J28PFjyaCTK9DBipNnxO1x0sne_1Kcm/s400/ConsoleOutput.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Console output produced in Jenkins is as shown below.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj40AWSW0IPIReuVKDXm__0IqMeFDjAS-5CqE3yiy-EKlae46DhxpLQWDVfpieOnrWwBKP27JPNZUkZlvrUtu_c9atoBlwO7QU-eflN26sGrblf27-r6ZMYlLp2bjv-xieIsDZ-cmi93vdq/s1600/ConoleOutputLog.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj40AWSW0IPIReuVKDXm__0IqMeFDjAS-5CqE3yiy-EKlae46DhxpLQWDVfpieOnrWwBKP27JPNZUkZlvrUtu_c9atoBlwO7QU-eflN26sGrblf27-r6ZMYlLp2bjv-xieIsDZ-cmi93vdq/s400/ConoleOutputLog.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Click on the Test Results to view the Execution Report.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhXD2ExhP61kV26OAzJ9f9v9suM8SuwGHkpRpGlsgCz7PGe3LkGMfxWm6CfM3Nz3zq7vrfFJ37xgp7D8NjO9TSQLf2dYaFuoBH7iNEXOA4pvmANuQR7wWGvFhMRwzYTOqPqZJjAkNKwIjU/s1600/TestResult.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhXD2ExhP61kV26OAzJ9f9v9suM8SuwGHkpRpGlsgCz7PGe3LkGMfxWm6CfM3Nz3zq7vrfFJ37xgp7D8NjO9TSQLf2dYaFuoBH7iNEXOA4pvmANuQR7wWGvFhMRwzYTOqPqZJjAkNKwIjU/s400/TestResult.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Click on History to view the Trend Graph generated for multiple executions.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYPf-r1EsJlqUyKwvrAYB9z7_V224Eq1n19w6V2fp7RTS_cEOxl4lLCWE7aVvMNJr1WaFOVivwiq__uqd5p7bQ6Wvcv2PM1hZiyMMPsr7gSPw5UhFi9Qvwr6Xr8TMT_KYQmsKKhm5kes9s/s1600/History+for+Test+Results.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYPf-r1EsJlqUyKwvrAYB9z7_V224Eq1n19w6V2fp7RTS_cEOxl4lLCWE7aVvMNJr1WaFOVivwiq__uqd5p7bQ6Wvcv2PM1hZiyMMPsr7gSPw5UhFi9Qvwr6Xr8TMT_KYQmsKKhm5kes9s/s320/History+for+Test+Results.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Let me know if you face any issues. I shall write about Jenkins and its configuration sometimes later. If anyone is eagerly looking for it please let me know so that I shall change my priority of articles accordingly..!! :) Don’t forget to express your opinion through comments. Till then happy reading.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8cdee232-2966-43cf-bad9-4db72bd6aa42&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Integrate+soapUI+with+Jenkins&quot; rel=&quot;tag&quot;&gt;Integrate soapUI with Jenkins&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Jenkins+soapUI+report&quot; rel=&quot;tag&quot;&gt;Jenkins soapUI report&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Publish+report+in+soapUI&quot; rel=&quot;tag&quot;&gt;Publish report in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/testing+webservice+in+Jenkins&quot; rel=&quot;tag&quot;&gt;testing webservice in Jenkins&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/invoking+soapUI+from+Jenkins&quot; rel=&quot;tag&quot;&gt;invoking soapUI from Jenkins&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Invoking+soapUI+from+ANT&quot; rel=&quot;tag&quot;&gt;Invoking soapUI from ANT&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/soapUI&quot; rel=&quot;tag&quot;&gt;soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/ANT&quot; rel=&quot;tag&quot;&gt;ANT&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Jenkins.&quot; rel=&quot;tag&quot;&gt;Jenkins.&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/04/integrate-soapui-with-jenkins.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfU87XWwHnKQljqqETzKId1WlIDTqLiUQaGJ8HwUgpaquLu85MQbsMXE7om5-SLX6xXp-2CG9dBTtA7eQ5VaVEn3EzDkR4ONHgaZnfuJUmZExu8Yra6Dd9QT9z3-dK0T6ARnFfr3ErzOge/s72-c/JenkinsWorkspace.png" height="72" width="72"/><thr:total>16</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-195091002481375651</guid><pubDate>Sun, 10 Mar 2013 13:55:00 +0000</pubDate><atom:updated>2013-03-10T19:25:41.022+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Generate JUnit Style HTML Reports in soapUI</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;em&gt;Today in my post,&amp;nbsp;I will be writing about an easy approach for generating JUnit style HTML reports in &lt;/em&gt;&lt;a href=&quot;http://softwaretestersforum.blogspot.in/search/label/soapUI&quot; title=&quot;soapUI&quot;&gt;&lt;em&gt;soapUI&lt;/em&gt;&lt;/a&gt;&lt;em&gt;.&amp;nbsp; &lt;/em&gt;&lt;br /&gt;
&lt;em&gt;Earlier, I did a lot of&amp;nbsp;search in google to find a&amp;nbsp;solution to generate HTML report using soapUI free version as&amp;nbsp;I really wanted to avoid writing&amp;nbsp;JUnit Test case&amp;nbsp;and wanted to see if there is any other&amp;nbsp;appraoch to generate HTML reports :),&amp;nbsp;But couldn&#39;t find&amp;nbsp;the required&amp;nbsp;information in one piece.&amp;nbsp; I&amp;nbsp;gathered all the relevant informations from Internet, did some R&amp;amp;D and finally succeeded in generating HTML report&amp;nbsp;in soapUI. Hence I thought of sharing my learning here so that people who are looking out for&amp;nbsp;an easy&amp;nbsp;solution can be benefitted from this post.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;To generate JUnit style HTML Test reports you need ANT build tool and soapUI. If you don’t have ANT download it from &lt;/em&gt;&lt;a href=&quot;http://ant.apache.org/bindownload.cgi&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;Download ANT&quot;&gt;&lt;em&gt;here&lt;/em&gt;&lt;/a&gt;&lt;em&gt;..&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
I have placed ANT directory in &#39;C&#39; drive i.e. C:\ant. Now add ANT directory to your environment variable so that it can be invoked from any location.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2sCJxDYPKQyLVIh5V_EVi2n5s3fdmkFzFMUifQ1f18VrzuKz2sydz2YuSw_wKvIUgVBCgFaDH6r-xqJFKBXHBRvTcuC-Sr660C9ngZLdUbYqGnLai0TEsbUCsuNobaV99YBsSV0KYlmcr/s1600/ANT_Path.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;261&quot; jsa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2sCJxDYPKQyLVIh5V_EVi2n5s3fdmkFzFMUifQ1f18VrzuKz2sydz2YuSw_wKvIUgVBCgFaDH6r-xqJFKBXHBRvTcuC-Sr660C9ngZLdUbYqGnLai0TEsbUCsuNobaV99YBsSV0KYlmcr/s400/ANT_Path.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In&amp;nbsp;this approach,&amp;nbsp;I will be&amp;nbsp;using testrunner.bat,&amp;nbsp;This soapUI command line utility will be invoked from the ANT build file and to generate JUnit style HTML reports we will be&amp;nbsp;adding ant junitreport task in the build file. More details on junitreport task can be found &lt;a href=&quot;http://ant.apache.org/manual/Tasks/junitreport.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. Our final Build file should look like as shown below.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKt_aS46NIgwVzggpqLOuYZScDTI3Tl2nGvCOQq8G1IEoYSDgBOglp1xr7sC5SJwQlN-eLoBJwvE-cJZ5HyijJ3zZFbfS_1az4cHeDJ_hhVjZbsNVyXLCG3hRvgvQY6f1VGzKTZoMO_Q4I/s1600/Build_XML.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; jsa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKt_aS46NIgwVzggpqLOuYZScDTI3Tl2nGvCOQq8G1IEoYSDgBOglp1xr7sC5SJwQlN-eLoBJwvE-cJZ5HyijJ3zZFbfS_1az4cHeDJ_hhVjZbsNVyXLCG3hRvgvQY6f1VGzKTZoMO_Q4I/s640/Build_XML.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Note: &lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;To generate JUnit Style report I am referring to the&amp;nbsp;JUnit stylesheet in the above code which is available in the ANT/ETC directory &lt;em&gt;(styledir=&quot;C:/ant/etc&quot;).&lt;/em&gt; &lt;/li&gt;
&lt;li&gt;If you want to generate JUnit Style HTML reports with Frames, replace ‘noFrames’ with ‘Frames’ in the above code.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Write&amp;nbsp;the above code&amp;nbsp;using any text&amp;nbsp;editor&amp;nbsp;and save the&amp;nbsp;it&amp;nbsp;as&amp;nbsp;&lt;strong&gt;build.xml&lt;/strong&gt; file in your soapUI workspace directory as shown below.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZb8IicdhEmIP_jvXIsHAU-qwuiYYXyIG0FBs8HB3cAm7itExJnWdKVuX-Ud6urPvWq_NLJsvw7CR1px5ZWRdVWtUpBbzjyBrqpAZJ4SCKPOxoORhfSWuaqIFMQEycTU7mpdpIoeJP4fGb/s1600/soapUIworkspace.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;123&quot; jsa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZb8IicdhEmIP_jvXIsHAU-qwuiYYXyIG0FBs8HB3cAm7itExJnWdKVuX-Ud6urPvWq_NLJsvw7CR1px5ZWRdVWtUpBbzjyBrqpAZJ4SCKPOxoORhfSWuaqIFMQEycTU7mpdpIoeJP4fGb/s640/soapUIworkspace.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
I shall&amp;nbsp;use the same Currency Convertor web service soapUI testing project, for&amp;nbsp; further details please checkout&amp;nbsp;my earlier posts on &lt;a href=&quot;http://softwaretestersforum.blogspot.com/2013/02/establish-db-connection-in-soapui.html&quot; title=&quot;Establish DB Connection in soapUI&quot;&gt;Establishing DB Connection in soapUI&lt;/a&gt;, &lt;a href=&quot;http://softwaretestersforum.blogspot.com/2013/03/steps-to-parameterize-test-data-from-db.html&quot; title=&quot;Steps to parameterize Test Data from DB in soapUI&quot;&gt;Steps to parameterize Test Data from DB in soapUI&lt;/a&gt; also &lt;a href=&quot;http://softwaretestersforum.blogspot.com/2013/03/groovy-script-to-save-test-results-to.html&quot; title=&quot;Groovy Script to store Traffic to a file in soapUI&quot;&gt;Groovy Script to store Traffic to a file in soapUI&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Now that we are all set, invoke ANT from command line.&amp;nbsp;To do that, open command line in windows, navigate to your soapUI workspace directory and issue ant command as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvHOBiPW03NB8TzqBRq0zJs3jAxLPCq47VFZ9_k83xRnGZjawlUNs4vejd30wxUha2OTG4V6zHJWvnd9go890uc5iQc_JBd9eEtxSDrfrd3XHit9jKIiNmPOyi5oLc6lwgH88fPfdx-cS8/s1600/Invoking+ANT.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;97&quot; jsa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvHOBiPW03NB8TzqBRq0zJs3jAxLPCq47VFZ9_k83xRnGZjawlUNs4vejd30wxUha2OTG4V6zHJWvnd9go890uc5iQc_JBd9eEtxSDrfrd3XHit9jKIiNmPOyi5oLc6lwgH88fPfdx-cS8/s400/Invoking+ANT.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdTY0Y9Dro4VOdMFqGuJwQE_3SalgqWKzBT0Wm4Ca6ky47O7tvpSvJBDxgd4WoZx_ZbZoPJXiSCGQeTWSIUX_I9gTNbdploCzEh3FvNc1V4i99INGWNrcNJ-KHV0lNRAEC06LYlbBDokWm/s1600/Invoking+ANT2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; jsa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdTY0Y9Dro4VOdMFqGuJwQE_3SalgqWKzBT0Wm4Ca6ky47O7tvpSvJBDxgd4WoZx_ZbZoPJXiSCGQeTWSIUX_I9gTNbdploCzEh3FvNc1V4i99INGWNrcNJ-KHV0lNRAEC06LYlbBDokWm/s400/Invoking+ANT2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that we have completed executing our web service project from ANT, lets us check out the soapUI&amp;nbsp;Test report generated in the HTML folder.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh46rqpujYQv69sP23zhXIoUG5NL9rLtGmxw2fxHM2cXBxM0tsdv0G_s_EEDyqyFWdbS35pIPXp_VMGw8s-2sapEgCd6ibB6cwJSUaplgr3nwoq2pGcIFpYTmjiXiFvZnHa_Ch7MfvOFxbR/s1600/JUnitReportLocation.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;76&quot; jsa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh46rqpujYQv69sP23zhXIoUG5NL9rLtGmxw2fxHM2cXBxM0tsdv0G_s_EEDyqyFWdbS35pIPXp_VMGw8s-2sapEgCd6ibB6cwJSUaplgr3nwoq2pGcIFpYTmjiXiFvZnHa_Ch7MfvOFxbR/s400/JUnitReportLocation.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The generated soapUI Test report is as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgegJn1mQjT_miSuBg_Cf__c_8GEiCR_d5IeNFJrvLo-pV0x4sIjL7M3SajvoyRf2UskRinrCx6V-ZrDBPRaljNXlK2nkVj_OhFiSDz2I1dfVmUqqloTl5PWmm6m-iaQOOua5vAvuVqHTQl/s1600/JUnit+Styled+soapUI+Test+Report.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; jsa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgegJn1mQjT_miSuBg_Cf__c_8GEiCR_d5IeNFJrvLo-pV0x4sIjL7M3SajvoyRf2UskRinrCx6V-ZrDBPRaljNXlK2nkVj_OhFiSDz2I1dfVmUqqloTl5PWmm6m-iaQOOua5vAvuVqHTQl/s640/JUnit+Styled+soapUI+Test+Report.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I hope this post will be&amp;nbsp;helpful&amp;nbsp;for all soapUI testers who are really keen in generating JUnit Style HTML report just like me..!! :)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:92e50517-5e98-4b58-9ca7-7e1bad35cea7&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Generate+JUNIT+Style+reports+in+soapUI&quot; rel=&quot;tag&quot;&gt;Generate JUNIT Style reports in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Junit+Report+in+soapUI&quot; rel=&quot;tag&quot;&gt;Junit Report in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/How+to+create+Test+Report+in+soapUI&quot; rel=&quot;tag&quot;&gt;How to create Test Report in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Test+Reports+in+soapUI&quot; rel=&quot;tag&quot;&gt;Test Reports in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/soapUI+reports&quot; rel=&quot;tag&quot;&gt;soapUI reports&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/soapUI+command+line&quot; rel=&quot;tag&quot;&gt;soapUI command line&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/test+runner.bat&quot; rel=&quot;tag&quot;&gt;test runner.bat&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/ant&quot; rel=&quot;tag&quot;&gt;ant&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/build+tool.&quot; rel=&quot;tag&quot;&gt;build tool.&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/03/generate-junit-style-html-reports-in.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2sCJxDYPKQyLVIh5V_EVi2n5s3fdmkFzFMUifQ1f18VrzuKz2sydz2YuSw_wKvIUgVBCgFaDH6r-xqJFKBXHBRvTcuC-Sr660C9ngZLdUbYqGnLai0TEsbUCsuNobaV99YBsSV0KYlmcr/s72-c/ANT_Path.png" height="72" width="72"/><thr:total>77</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-124675375729598596</guid><pubDate>Wed, 06 Mar 2013 17:44:00 +0000</pubDate><atom:updated>2013-03-06T23:14:34.919+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Steps to parameterize Test Data from DB in soapUI</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;i&gt;In continuation with my earlier post on &lt;a href=&quot;http://softwaretestersforum.blogspot.in/2013/02/establish-db-connection-in-soapui.html&quot;&gt;Establishing DB Connection in soapUI&lt;/a&gt;, today I shall write about&amp;nbsp; how to parameterize a test data from DB into your soap client and test your web service.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Now that we have established DB connection and as we are able to get the DB response as XML, We shall now see how to extract the value from the DB response and pass it&amp;nbsp; as an input to our service request.&lt;br /&gt;
&lt;br /&gt;
Let’s look at the default Currency Convertor request structure.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwdv0DILNh1KsAUzLHWHjFuffhJiV47Xz7CiS7SZAuXKFfThnxKs0R9feSJhAMpSJAYq2qyZLiKCMT2KrU97CF4WnisxTio6IGhbHYxZZKVsc6X79cfqYle6yq3QrFvb6kJoKVX4A3ju88/s1600/ConversionRateRequest.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwdv0DILNh1KsAUzLHWHjFuffhJiV47Xz7CiS7SZAuXKFfThnxKs0R9feSJhAMpSJAYq2qyZLiKCMT2KrU97CF4WnisxTio6IGhbHYxZZKVsc6X79cfqYle6yq3QrFvb6kJoKVX4A3ju88/s400/ConversionRateRequest.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Here we need to extract relevant values from our query output and pass it as input to the FromCurrency and ToCurrency Request elements i.e. replace &lt;b&gt;&quot;?&quot;&lt;/b&gt; mark with the values extracted from the query output. To do the same just follow the below steps.&lt;br /&gt;
Add a Property Transfer Step as shown below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrFB0T2mepsk-sX1kGhviTtsuN4ugTWKPZ51WNaaQZf8BAxhJWikxXCFqOfChP26Ps2kdvo3h8s6mMDnWXHE3RQwzIOaHdY4m8IoPFZug0mSAbT7Nll2K2Sf9fh1k2TSP8opTj_d4Pg964/s1600/PropertyTransfer.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;305&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrFB0T2mepsk-sX1kGhviTtsuN4ugTWKPZ51WNaaQZf8BAxhJWikxXCFqOfChP26Ps2kdvo3h8s6mMDnWXHE3RQwzIOaHdY4m8IoPFZug0mSAbT7Nll2K2Sf9fh1k2TSP8opTj_d4Pg964/s400/PropertyTransfer.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Specify the name for the step.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL21DGaerhCbr6iujj182pLR5IlMK7RCA3F3PJJ6pf0ZOQ4bk1itM1ERnwjHcJtLHjwf4nIpNMb9qFtDTu3YbslJUoBRO35eY5w1es6Z2qD-5m6PLePV-P0K6FeQv2AgLCHTa_s7ZwAw7m/s1600/InsertStep.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL21DGaerhCbr6iujj182pLR5IlMK7RCA3F3PJJ6pf0ZOQ4bk1itM1ERnwjHcJtLHjwf4nIpNMb9qFtDTu3YbslJUoBRO35eY5w1es6Z2qD-5m6PLePV-P0K6FeQv2AgLCHTa_s7ZwAw7m/s320/InsertStep.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Property Transfer window, Add a new Property Transfer as shown below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9RbRO3zgyB1CTIlbXrWSnmWUEbo1dxvraEpbrTD81sIhBf6JjBkLXALshycezraEeJCXiEgD1kEXvBeLSwoghnVppj2kd_yBGfLhXP5txvB7Gwqf9weGz7gxxpQYfSmhIUpuc7PsPzWNH/s1600/AddNewPropertyTransfer.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9RbRO3zgyB1CTIlbXrWSnmWUEbo1dxvraEpbrTD81sIhBf6JjBkLXALshycezraEeJCXiEgD1kEXvBeLSwoghnVppj2kd_yBGfLhXP5txvB7Gwqf9weGz7gxxpQYfSmhIUpuc7PsPzWNH/s400/AddNewPropertyTransfer.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Specify a name for the value transfer.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIbuhg8N_tUNTyHgjsu44JUkmgEWM_yXtLtWJPEeg1b7V3tyPCRk1v7Tm-pOewjq-a03Iuwa6bNAQSGqsBzR7W7arWM-psdiir4tAiRiQ2ggNv2zhN4qivFbUbe6eZTlSWAMY-jd4rrX-L/s1600/AddTransfer.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIbuhg8N_tUNTyHgjsu44JUkmgEWM_yXtLtWJPEeg1b7V3tyPCRk1v7Tm-pOewjq-a03Iuwa6bNAQSGqsBzR7W7arWM-psdiir4tAiRiQ2ggNv2zhN4qivFbUbe6eZTlSWAMY-jd4rrX-L/s1600/AddTransfer.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the right side configure the following.&lt;br /&gt;
&lt;b&gt;Source: JDBC Request, Property : ResponseAsXML&lt;/b&gt;, write the XPath as shown below to extract the very first row value from the JDBC Resultset&lt;br /&gt;
&lt;b&gt;Target: ConversionRate Soap Client, Property : Request&lt;/b&gt; and write the XPath to locate to your request element as shown in the figure below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXkLlhaEfCjOQnlBQ7gmDOBeOyEEHPMxXxfJTg3-yyj0auHh7EvFMIbnqHYYCybq7MPRMOSjdn7MCbggB8vh3g2t05KZZ9UeBEKWvfa3JN21XKRyZh5uO9hNDBNqN2VfhgrOTKbha0mvDc/s1600/PropertyTransferResult.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXkLlhaEfCjOQnlBQ7gmDOBeOyEEHPMxXxfJTg3-yyj0auHh7EvFMIbnqHYYCybq7MPRMOSjdn7MCbggB8vh3g2t05KZZ9UeBEKWvfa3JN21XKRyZh5uO9hNDBNqN2VfhgrOTKbha0mvDc/s400/PropertyTransferResult.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example I am trying to extract Row 1 Value from the Query ResultSet and pass it as an input to &lt;b&gt;FromCurrency &lt;/b&gt;Request element. Click on the Run button to make sure that the Property Transfer is successful.&lt;br /&gt;
Similarly add another Property Transfer Value to extract 3rd row result from the JDBC output and pass it as an input to &lt;b&gt;ToCurrency&lt;/b&gt; element of the service Request.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYiZqUPqfzcDya1vPJ_VVEP8VZIHYR4qbYbOL3YLeMyiRyzu4MDS4m5h0CpGo2TmPkrqLV2f7_loc0fK6Jz8oIvm-LfoJWbzbW0sccXCqvRp3QEIh4rc1Vac4Sm4AzCsDDVNVR8ZDsYADX/s1600/Final+PropertyTransferResult.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYiZqUPqfzcDya1vPJ_VVEP8VZIHYR4qbYbOL3YLeMyiRyzu4MDS4m5h0CpGo2TmPkrqLV2f7_loc0fK6Jz8oIvm-LfoJWbzbW0sccXCqvRp3QEIh4rc1Vac4Sm4AzCsDDVNVR8ZDsYADX/s400/Final+PropertyTransferResult.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that we have completed adding Property Transfer values, we are good to execute our Test Suite/Test Case. Double Click on either Test Suite or Test Case and click on the Green arrow button to execute all the test steps in a sequence as shown below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhAr-49zZ2VpplYxbRLZ8BgviM1dzljz7SdKkhWTZN53DnOoWXyLSJ3zWtBhdt9pL3z9SWiHOHZU3WOyWpl13dwDQpeGSbbolkhPlt8GDT6HzZRgM7WfcabLt6e0_DaEzdPkD9qIlKeSnB/s1600/TestSuiteExecution.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhAr-49zZ2VpplYxbRLZ8BgviM1dzljz7SdKkhWTZN53DnOoWXyLSJ3zWtBhdt9pL3z9SWiHOHZU3WOyWpl13dwDQpeGSbbolkhPlt8GDT6HzZRgM7WfcabLt6e0_DaEzdPkD9qIlKeSnB/s400/TestSuiteExecution.png&quot; width=&quot;290&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Isn&#39;t&amp;nbsp;that cool..!! :) Let us check out the traffic by double clicking the Currency Convertor SOAP Client as shown below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS_uZZiRca7rjlqlchjwUcKd5YOsmBbrGt2KCvh8OBqekyLAgD0usoS64mi-ddBdt2DTL-GzjZP__RcxMuRUZZsNdxyn5OP3ejiKphl_Mx9BdbyB5k899lviAcjPGXQNHFyuOEOQlDxphP/s1600/ConversionRateRequestResponse.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;88&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS_uZZiRca7rjlqlchjwUcKd5YOsmBbrGt2KCvh8OBqekyLAgD0usoS64mi-ddBdt2DTL-GzjZP__RcxMuRUZZsNdxyn5OP3ejiKphl_Mx9BdbyB5k899lviAcjPGXQNHFyuOEOQlDxphP/s400/ConversionRateRequestResponse.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to save the request and response traffic locally then it can be done dynamically with the help of Groovy. For details refer to my previous post &quot;&lt;span style=&quot;background-color: white; font-family: Corsiva, Times, serif;&quot;&gt;&lt;a href=&quot;http://softwaretestersforum.blogspot.in/2013/03/groovy-script-to-save-test-results-to.html&quot;&gt;Groovy Script to save Test Results to a file in soapUI&lt;/a&gt;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This is all about extracting the values from DB and using it as a Test Data to test&amp;nbsp;web services&amp;nbsp;in soapUI. Let me know if you face any issues in reproducing the above steps and also let me know your thoughts on the same.&lt;br /&gt;
&lt;br /&gt;&amp;nbsp; &lt;br /&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Pass+Test+Data+from+DB+in+soapUI&quot; rel=&quot;tag&quot;&gt;Pass Test Data from DB in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Property+Transfer+in+soapUI&quot; rel=&quot;tag&quot;&gt;Property Transfer in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/JDBC+output+to+Service+Request+in+soapUI&quot; rel=&quot;tag&quot;&gt;JDBC output to Service Request in soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Property+Transfer&quot; rel=&quot;tag&quot;&gt;Property Transfer&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/soapUI&quot; rel=&quot;tag&quot;&gt;soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Web+Service+Testing&quot; rel=&quot;tag&quot;&gt;Web Service Testing&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/03/steps-to-parameterize-test-data-from-db.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwdv0DILNh1KsAUzLHWHjFuffhJiV47Xz7CiS7SZAuXKFfThnxKs0R9feSJhAMpSJAYq2qyZLiKCMT2KrU97CF4WnisxTio6IGhbHYxZZKVsc6X79cfqYle6yq3QrFvb6kJoKVX4A3ju88/s72-c/ConversionRateRequest.png" height="72" width="72"/><thr:total>10</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-4988394183546620868</guid><pubDate>Wed, 06 Mar 2013 03:22:00 +0000</pubDate><atom:updated>2013-03-06T23:26:19.935+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">GroovyScripts</category><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Groovy Script to save Test Results to a file in soapUI</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;em&gt;Are you using &lt;/em&gt;&lt;a href=&quot;http://softwaretestersforum.blogspot.in/search/label/soapUI&quot; title=&quot;soapUI&quot;&gt;&lt;em&gt;soapUI&lt;/em&gt;&lt;/a&gt;&lt;em&gt; and do you want to find out a way to store your request and response log somewhere in your hard drive dynamically? Well.. the below script should to the job for you.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Add a Groovy step and copy paste the below code and execute your test suite that&#39;s it..!! Just make sure to replace the below &lt;strong&gt;TestName &lt;/strong&gt;with the actual Test name.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Groovy Code:&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong&gt;1. Fixed File Name:&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;//Get Current date time stamp to append at the end of the file name.&lt;/span&gt;&lt;/i&gt;      &lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def date = new Date()       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def dts = date.format(&quot;yyyy-MM-dd-HH-mm-ss&quot;) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;//Write Request to XML File      &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def myXmlRequest = &quot;C:/&lt;span style=&quot;background-color: yellow;&quot;&gt;Request&lt;/span&gt;&quot;+dts+&quot;.xml&quot;       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def request = context.expand(&#39;${&lt;/span&gt;&lt;strong style=&quot;color: blue;&quot;&gt;TestName&lt;/strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;#Request}&#39;)       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def req = new File(myXmlRequest)       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;req.write(request, &quot;UTF-8&quot;) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;// Write Response to XMl File      &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def myXmlResponse = &quot;C:/&lt;span style=&quot;background-color: yellow;&quot;&gt;Response&lt;/span&gt;&quot;+dts+&quot;.xml&quot;       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def response = context.expand(&#39;${&lt;/span&gt;&lt;strong style=&quot;color: blue;&quot;&gt;TestName&lt;/strong&gt;&lt;span style=&quot;color: blue;&quot;&gt;#Response}&#39;)       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def res = new File(myXmlResponse)       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;res.write(response, &quot;UTF-8&quot;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;strong&gt;2. Takes Test Case Name as File Name:&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;span style=&quot;color: blue; font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;import com.eviware.soapui.support.*; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d; font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;i&gt;//Get the TestCase Name to use it as a File Name.&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;      &lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def testCase = testRunner.getTestCase()       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;fileName= testCase.getName()       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;i&gt;//Get Current date time stamp to append the same in the file name.&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def date = new Date()       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def dts = date.format(&quot;yyyy-MM-dd-HH-mm-ss&quot;) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;//Write Request to a XML File and save it with Date Time stamp appended to your filename.&lt;/span&gt;&lt;/i&gt;      &lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def myXmlRequest = &quot;C:/&quot;+fileName+&quot;Request_&quot;+dts+&quot;.xml&quot;       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def request = context.expand(&#39;${ConversionRate#Request}&#39;)       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def req = new File(myXmlRequest)       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;req.write(request, &quot;UTF-8&quot;) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;// Write Response to a XMl File and save it with Date Time stamp appended to your filename.      &lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def myXmlResponse = &quot;C:/&quot;+fileName+&quot;Response_&quot;+dts+&quot;.xml&quot;       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def response = context.expand( &#39;${ConversionRate#Response}&#39; )       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;def res = new File(myXmlResponse)       &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;res.write(response, &quot;UTF-8&quot;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Georgia, Times New Roman, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
Let me know if this worked for you..!! :)&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/03/groovy-script-to-save-test-results-to.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><thr:total>19</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-7711147199879136173</guid><pubDate>Wed, 27 Feb 2013 15:35:00 +0000</pubDate><atom:updated>2013-03-01T23:31:57.699+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">soapUI</category><title>Establish DB Connection in soapUI</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;em&gt;Today in my post, I shall write about establishing JDBC connection in soapUI. Specifically we shall look into establishing MySQL database connection from soapUI.&lt;/em&gt;&lt;br /&gt;
First let us look into the fundamental aspects of establishing a DB connection. In order to establish any database connection following are the main resources required for establishing DB connection from any 3rd party DB clients / Testing Tool&#39;s.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;DB Driver details. &lt;/li&gt;
&lt;li&gt;DB Connection URL or DB URL&lt;/li&gt;
&lt;li&gt;DB Name and Credentials. &lt;/li&gt;
&lt;li&gt;Relevant DB jars.&lt;/li&gt;
&lt;/ul&gt;
In some Clients we only need to provide DB URL &amp;amp;&amp;nbsp; DB credentials including Database information combined together and also most of the DB Clients will have the DB drivers and jar files handy, only thing is you need to configure it properly. Lets not get into this in detail at this point of time. Ultimately these are the important resources required for establishing a DB connection.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Let us see what soapUI (open source) has to offer us for establishing database connection.&lt;br /&gt;
I will be using MySQL database and Currency Convertor Webservice&amp;nbsp; from WebServicex.NET as an example to illustrate this. I have created a worldcurrency table in MySQL and below are the structure and contents of the table.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDjzreCIluEftaAQPXuXXnDEua3050ha8RsZcgB1p7SyV_9-ALqfVe9cnGqZG7RpvIJfH60xw9WH2wf6zI2Q0QD3RGLmfbnU4h3iUULDOchW9KpXOmaSHzXRC5SODyrHCGIbkG17bz_o_l/s1600/WorldCurrencyTableStructure.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDjzreCIluEftaAQPXuXXnDEua3050ha8RsZcgB1p7SyV_9-ALqfVe9cnGqZG7RpvIJfH60xw9WH2wf6zI2Q0QD3RGLmfbnU4h3iUULDOchW9KpXOmaSHzXRC5SODyrHCGIbkG17bz_o_l/s400/WorldCurrencyTableStructure.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCmwtCymHwyfTTphRiMfqWyywiMXK3EvfUeKt8YJZJpgQDzwPkmMMgVXa1g-j5hZMwREPcArTBaya0IhMK6twuKjx03bBlZKy9GC3VI2WZ7e3PGLCpofFdFuJhMz7brRL1ESgWSJoqNjuu/s1600/WorldCurrencyTableContent.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCmwtCymHwyfTTphRiMfqWyywiMXK3EvfUeKt8YJZJpgQDzwPkmMMgVXa1g-j5hZMwREPcArTBaya0IhMK6twuKjx03bBlZKy9GC3VI2WZ7e3PGLCpofFdFuJhMz7brRL1ESgWSJoqNjuu/s1600/WorldCurrencyTableContent.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
Now open soapUI, create a new Project and Create a Test Suite for Currency Convertor Web Service. To know more about Creating a new project in soapUI check out my earlier post &lt;a href=&quot;http://softwaretestersforum.blogspot.com/2012/12/beginning-steps-towards-project.html&quot; title=&quot;Project Creation &amp;amp; Execution in soapUI&quot;&gt;here&lt;/a&gt;. If you are new to soapUI please check out my earlier posts on &lt;a href=&quot;http://softwaretestersforum.blogspot.in/search/label/soapUI&quot; title=&quot;soapUI&quot;&gt;soapUI&lt;/a&gt;.&lt;br /&gt;
Now expand the Test Suite, Right Click on the Test Steps. Select Add Step and the select JDBC Request as shown below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRMjAXpaCbh-Gk8yjteGqEbGscVtuS9ih5h6zdMyD4Nh6_il63hlfMZ9H4srW6fIwbulhEK8wi3AVr41C1IwCQJfrgoiMLX8sNvntrmmzp6of5tGbpxk3l-I2M_i6XxeKxwNdPUZgN1VQm/s1600/AddStep-JDBCRequest.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;321&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRMjAXpaCbh-Gk8yjteGqEbGscVtuS9ih5h6zdMyD4Nh6_il63hlfMZ9H4srW6fIwbulhEK8wi3AVr41C1IwCQJfrgoiMLX8sNvntrmmzp6of5tGbpxk3l-I2M_i6XxeKxwNdPUZgN1VQm/s400/AddStep-JDBCRequest.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click on the JDBC Request, Now in the Configuration box provide the&amp;nbsp; Driver, Connection String URL details and then Click on Test Connection Arrow (Green) Button. Now you should be able to get a Successful pop up message as shown below.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyYEeGRgkPRuMVWmH3IoNS0AiZmJEf0wyQUQGOzf7agE_sd9QOoSw_VzIXKjoU_9AZccs9-Fulz1Lgc5GIGNtM0h36XnFcTZwZtSMNyFjo3AouPhyphenhyphenngz_UvfGfY3cXA3ChCBRehyphenhyphentZZ2No/s1600/TestJDBCConnection.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyYEeGRgkPRuMVWmH3IoNS0AiZmJEf0wyQUQGOzf7agE_sd9QOoSw_VzIXKjoU_9AZccs9-Fulz1Lgc5GIGNtM0h36XnFcTZwZtSMNyFjo3AouPhyphenhyphenngz_UvfGfY3cXA3ChCBRehyphenhyphentZZ2No/s400/TestJDBCConnection.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now type the SQL query as shown below and click on the Arrow button (Green) at the top to execute the Request.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ7UOZ1V0-QBSJuHQoLgMsfYkdG3WQdGBzs7puwaXMnGG_bce-zkGNd3N5ExbaP38vu04Wn7fRNbtHqIJape5bj0QgVlson035zaT7Epxt26RQl9V-9aohxbT4oTyiZcm-FFDojLIp07mr/s1600/JDBCResponse.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ7UOZ1V0-QBSJuHQoLgMsfYkdG3WQdGBzs7puwaXMnGG_bce-zkGNd3N5ExbaP38vu04Wn7fRNbtHqIJape5bj0QgVlson035zaT7Epxt26RQl9V-9aohxbT4oTyiZcm-FFDojLIp07mr/s400/JDBCResponse.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span id=&quot;goog_625736904&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_625736905&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is all about Establishing DB connection in &lt;a href=&quot;http://softwaretestersforum.blogspot.in/search/label/soapUI&quot; title=&quot;soapUI&quot;&gt;soapUI&lt;/a&gt;. In continuation with this post, in my next post I shall write in detail about fetching a data from DB and passing it as an input to Currency Convertor Request.&lt;br /&gt;
Let me know if the above approach worked for you. Till then happy reading..!! :)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:3675c6ce-99f9-4cf9-aa24-3deac59a990d&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Establish+DB+connection+in+SoapUI&quot; rel=&quot;tag&quot;&gt;Establish DB connection in SoapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/soapUI&quot; rel=&quot;tag&quot;&gt;soapUI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/DB&quot; rel=&quot;tag&quot;&gt;DB&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/JDBC+Request+Step&quot; rel=&quot;tag&quot;&gt;JDBC Request Step&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Web+Service+Testing&quot; rel=&quot;tag&quot;&gt;Web Service Testing&lt;/a&gt;,&amp;nbsp;&lt;span style=&quot;background-color: #fcffe8; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;DJZCC677C47D&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/02/establish-db-connection-in-soapui.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDjzreCIluEftaAQPXuXXnDEua3050ha8RsZcgB1p7SyV_9-ALqfVe9cnGqZG7RpvIJfH60xw9WH2wf6zI2Q0QD3RGLmfbnU4h3iUULDOchW9KpXOmaSHzXRC5SODyrHCGIbkG17bz_o_l/s72-c/WorldCurrencyTableStructure.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2260576219618659774.post-6943418397332129665</guid><pubDate>Thu, 21 Feb 2013 16:21:00 +0000</pubDate><atom:updated>2013-02-21T21:51:35.300+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">MySQL</category><category domain="http://www.blogger.com/atom/ns#">SQL</category><title>SELECT… INTO OUTFILE Vs Redirecting MySQL Output using --tee option</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;i&gt;As promised earlier :) Today I am writing down some information on &lt;b&gt;SELECT… INTO OUTFILE Vs Redirecting MySQL Output using --tee option.&lt;/b&gt; I did some research and below are my findings. If anyone has any more information on this please feel free to add it in the form of comments…!!&lt;/i&gt;    &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://softwaretestersforum.blogspot.com/2013/02/export-query-results-from-mysql-to-file.html&quot; title=&quot;SELECT … INTO OUTFILE&quot;&gt;SELECT … INTO OUTFILE&lt;/a&gt;&lt;/b&gt;:    &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;a href=&quot;http://dev.mysql.com/select-into.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT ... INTO OUTFILE&lt;/span&gt;&lt;/code&gt;&lt;/a&gt; statement is intended primarily to let you very quickly dump a table to a text file on the server machine. If you want to create the resulting file on some other host than the server host, you normally cannot use &lt;code&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;SELECT ..&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;. INTO OUTFILE&lt;/span&gt;&lt;/code&gt; since there is no way to write a path to the file relative to the server host&#39;s file system.&lt;/li&gt;
&lt;li&gt;You need to have a Login account probably to retrieve the file from the Server machine.&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;/b&gt;    &lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;b&gt;&lt;a href=&quot;http://softwaretestersforum.blogspot.com/2013/02/redirecting-output-from-mysql-queries.html&quot; title=&quot;Redirecting MySQL Output to File&quot;&gt;Redirecting MySQL Output using –tee option&lt;/a&gt;&lt;/b&gt;:    &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;By using the &lt;code&gt;--tee&lt;/code&gt; option when you invoke MySQL, you can log statements and their output. All the data displayed on the screen is appended into a given file. This can be very useful for debugging purposes also MySQL flushes results to the file after each statement, just before it prints its next prompt. Tee functionality works only in interactive mode. &lt;/li&gt;
&lt;li&gt;A tee file session log has more context because it contains both query input and output and not just the text of the queries. &lt;/li&gt;
&lt;li&gt;MySQL session logging can be controlled using \T &amp;amp; \t commands.&lt;/li&gt;
&lt;li&gt;Logs MySQL interaction on client host.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Keep visiting &lt;a href=&quot;http://softwaretestersforum.blogspot.com/&quot;&gt;Software Testers Forum &lt;/a&gt;for more interesting articles &amp;amp; tutorials. Happy Reading..!!&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:210c1188-1e33-4769-8f1a-55dd233c204a&quot; style=&quot;display: inline; float: none; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/SELECT+INTO+OUT+FILE&quot; rel=&quot;tag&quot;&gt;SELECT INTO OUT FILE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Redirecting+MySQL+Output+to+File&quot; rel=&quot;tag&quot;&gt;Redirecting MySQL Output to File&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/--tee.+%5cT+in+MySQL&quot; rel=&quot;tag&quot;&gt;--tee. \T in MySQL&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/%5ct+in+MySQL&quot; rel=&quot;tag&quot;&gt;\t in MySQL&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Export+Query+results+to+file&quot; rel=&quot;tag&quot;&gt;Export Query results to file&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Redirecting+MySQL+output+to+file&quot; rel=&quot;tag&quot;&gt;Redirecting MySQL output to file&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Record+MySQL+sessions+to+file.&quot; rel=&quot;tag&quot;&gt;Record MySQL sessions to file.&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://softwaretestersforum.blogspot.com/2013/02/select-into-outfile-vs-redirecting.html</link><author>noreply@blogger.com (Suntaragali The Smart Techie)</author><thr:total>0</thr:total></item></channel></rss>