<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='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'><id>tag:blogger.com,1999:blog-2946083038796612600</id><updated>2024-10-17T11:52:16.087-07:00</updated><title type='text'>SoftwareTesting</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://balasoftwaretesting.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://balasoftwaretesting.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bala</name><uri>http://www.blogger.com/profile/02412750140817609066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2946083038796612600.post-7795946544286943915</id><published>2012-03-05T07:49:00.001-08:00</published><updated>2012-03-06T00:05:56.778-08:00</updated><title type='text'>Automating SOAP API tests with SOAPUI</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h1 align=&quot;CENTER&quot; class=&quot;western&quot; style=&quot;margin-top: 0in;&quot;&gt;


&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://blog.imaginea.com/automating-soap-api-tests-with-soap-ui/&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
SOAP UI is a
powerful and easy to use open source tool for automating different
types of web services like SOAP, REST etc. It provides a UI for
creating test cases, assertions making it easier to develop test
cases rapidly.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
This article
covers basic steps and information on how to start with SOAP UI,
create basic test cases and assertions and execute the test cases.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Install
SOAP UI&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Install the latest free version of SOAP
UI from &lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://www.soapui.org/&quot;&gt;http://www.soapui.org/&lt;/a&gt;&lt;/u&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Create
a project&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in; margin-top: 0.19in;&quot;&gt;
Open SOAP UI.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0.19in;&quot;&gt;
Click on file-&amp;gt;new SOAP UI
 project&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG7DssM-y2Ui1kSewcnqkrblaBxgorYvF2A2jIEOR4JePQrQ947WVKb2qatf-QAtyYBlvEMsD-voQ23-wDYg_GpBc6sKrNB3hm_-dDi6u9GaumgoSnB2O5u0Dk4fjaUqfwrZuKquBqgM4u/s1600/1.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;237&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG7DssM-y2Ui1kSewcnqkrblaBxgorYvF2A2jIEOR4JePQrQ947WVKb2qatf-QAtyYBlvEMsD-voQ23-wDYg_GpBc6sKrNB3hm_-dDi6u9GaumgoSnB2O5u0Dk4fjaUqfwrZuKquBqgM4u/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&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;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&gt;
&lt;/div&gt;
&lt;ol start=&quot;3&quot;&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in; margin-top: 0.19in;&quot;&gt;
Click on ok
 button.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Add WSDL to the Project. Right
 click on Project (WebservicesTesting) -&amp;gt;Add WSDL.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0.19in;&quot;&gt;
Provide the URL to the WSDL in
 the Add WSDL window and click OK. A service binding for the WSDL
 will be generated with all operations.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAKrQ0vetFaL_FZHGjHGwBAT4DIEUfDoxmmpBnk5C2lKo4DHV5fIov_oZBJROSiVMBTuXigPWfWxakWNa6S_9hzXRKjPgb8jAVTqMVT-qdU3LQW9qQOkWBCGIWQdvs-a8TpjW8Ii40HJJM/s1600/2.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;236&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAKrQ0vetFaL_FZHGjHGwBAT4DIEUfDoxmmpBnk5C2lKo4DHV5fIov_oZBJROSiVMBTuXigPWfWxakWNa6S_9hzXRKjPgb8jAVTqMVT-qdU3LQW9qQOkWBCGIWQdvs-a8TpjW8Ii40HJJM/s400/2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;&quot; style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&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/AVvXsEheAwdrVTP_SGjrc_x_s6GzN_EPI_QQVu8QmGdNUX7bLOLrDVcblRepkXqCoHQRWdm7jFIEs89b8XF5sTU0TRofOefzJIN_qkVqN1CLecfOEIVGSGeCqULLVenIn8WnZJphHmHzRvvklDjP/s1600/3.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;187&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheAwdrVTP_SGjrc_x_s6GzN_EPI_QQVu8QmGdNUX7bLOLrDVcblRepkXqCoHQRWdm7jFIEs89b8XF5sTU0TRofOefzJIN_qkVqN1CLecfOEIVGSGeCqULLVenIn8WnZJphHmHzRvvklDjP/s400/3.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;
When the WSDL
for a services changes, it can be updated without affecting the test
cases by right clicking on the service binding and choosing update
definition.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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/AVvXsEjoVC3BNhSELmfwYqMKicWDqT0Vlbb6YgMrJWHlyIkN85L4HrFLikU9Tn3QH5gRVetcv6UbG1fVPceGD6rgqpPpIOqTxiJBrdCZUIbxkR3ZzTmo5S9BQw1xHBZz3MN11ywOOojW38mHuwPo/s1600/4.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;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoVC3BNhSELmfwYqMKicWDqT0Vlbb6YgMrJWHlyIkN85L4HrFLikU9Tn3QH5gRVetcv6UbG1fVPceGD6rgqpPpIOqTxiJBrdCZUIbxkR3ZzTmo5S9BQw1xHBZz3MN11ywOOojW38mHuwPo/s400/4.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Generating
test suite/test case&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Right click
 on the service binding and select “Generate Test Suite”. Select
 the operations for which sample test case template has to be
 generated and click on ok button. A test suite will be generated for
 the selected operations.&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/AVvXsEiuD97DtG9nvyjG9STDdcuWWdzKYd6qw2yJ6K_-YzpnfVXFmV9mabEYjx55ST6Ff4rbSCTNHgteZmJuHdNYjbkImePn-MQlyZtFcYs-vzngtJu1NWCI0b8lnf8pYdbsHhh5r_uO6lEgfJvm/s1600/5.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;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuD97DtG9nvyjG9STDdcuWWdzKYd6qw2yJ6K_-YzpnfVXFmV9mabEYjx55ST6Ff4rbSCTNHgteZmJuHdNYjbkImePn-MQlyZtFcYs-vzngtJu1NWCI0b8lnf8pYdbsHhh5r_uO6lEgfJvm/s400/5.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;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/AVvXsEgDQkxwQGLUC11UPjUrrJbTwz-UiADHMKrmsZWl7S5GABXNvOg5PZ7mYwjqAf1OPvv-WrZO43ya_Jv2JBbpyjSu2T0e2GKF0X9z5Ewm8h86pZHzJ-NMCqju1S4Tcqql4dlQRZMBRt8pMC9U/s1600/6.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;187&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDQkxwQGLUC11UPjUrrJbTwz-UiADHMKrmsZWl7S5GABXNvOg5PZ7mYwjqAf1OPvv-WrZO43ya_Jv2JBbpyjSu2T0e2GKF0X9z5Ewm8h86pZHzJ-NMCqju1S4Tcqql4dlQRZMBRt8pMC9U/s400/6.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;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-left: 0.25in; margin-top: 0.19in;&quot;&gt;
&lt;/div&gt;
&lt;ol start=&quot;2&quot;&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Right click
 on the test suite to generate a new test case&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Adding
steps in a test case&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
When a new test
case is added, right click on the test case and select add step -&amp;gt;
test request. Select the operation for which the request needs to be
sent.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Once test case
is added, different steps to the test case can be added. These steps
form the blocks of the test case which are executed in order.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;How
to pass parameters to tags&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Values for the
tags in the SOAP request can be hard coded or parameterized. There
are two ways of doing passing parameters/values                    1)
Creating properties to transfer values                               
                                                                     
                 2) Data driven by external files&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;1)
Creating properties to transfer values&lt;/b&gt;: Properties can be
used to store data. These can act as variables which can be passed to
the SOAP requests.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;1.1)
Properties at a project:&lt;/b&gt; Properties can be defined at project and
these are available for all the test suites and all test cases.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
a) Double click
on project and click on properties tab at the bottom to create
properties.&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/AVvXsEi6vOgNdtOIknk9PPxKkriCs36T6dOnliIsdkZhYY6IY-wcSYEYMvvhhxTuSr1ji0uDvV1I4BzfTQkb4SgE8CICgcuVhl1mbNbW9FyL2_fsRSXpPCcLXZesdPFk54hM9mfPin3OTe5qGg5a/s1600/7.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;27&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6vOgNdtOIknk9PPxKkriCs36T6dOnliIsdkZhYY6IY-wcSYEYMvvhhxTuSr1ji0uDvV1I4BzfTQkb4SgE8CICgcuVhl1mbNbW9FyL2_fsRSXpPCcLXZesdPFk54hM9mfPin3OTe5qGg5a/s400/7.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
b) Enter
Property name in Add Property and Click on Ok button.&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/AVvXsEgNBvucah9SibNuWJwuZmpSyjK1PMzBZmp2E5oy_FJwwG44kJxJ3XtmjhWmYroyrCQT-FQvNqG4UlHS1NO_xTHm5YyC0nPPKeYgNftAIgEb8LtMEY2nRuUr6TIs7R3jjuSMlkhSR753iY0R/s1600/8.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;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNBvucah9SibNuWJwuZmpSyjK1PMzBZmp2E5oy_FJwwG44kJxJ3XtmjhWmYroyrCQT-FQvNqG4UlHS1NO_xTHm5YyC0nPPKeYgNftAIgEb8LtMEY2nRuUr6TIs7R3jjuSMlkhSR753iY0R/s400/8.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;
c) Enter Value
to created property name at the bottom.&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/AVvXsEjX_1dgv_DqXRmclzAkNaYSFZoctluU6gQWFjwhi9ORa7SGyg4VhiZvnKmDz490CjsXNjHjNJMN7eGuQVK8PMWU3w3r_aycstI_CsyGAKlz8OQyEFnNqkESYaTkdh3VWHo9Ys9L7ffpH7PY/s1600/9.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;295&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX_1dgv_DqXRmclzAkNaYSFZoctluU6gQWFjwhi9ORa7SGyg4VhiZvnKmDz490CjsXNjHjNJMN7eGuQVK8PMWU3w3r_aycstI_CsyGAKlz8OQyEFnNqkESYaTkdh3VWHo9Ys9L7ffpH7PY/s400/9.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;
d) Pass created
property value to the test suites/test cases in the Project.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
e) Open the SOAP
Request of Test Case (countryInfoByIana) -&amp;gt;Right click on ianacode
value-&amp;gt;Get Data-&amp;gt;Project: [WebserviceTesting]-&amp;gt;Property:[cntry]&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/AVvXsEjX_1dgv_DqXRmclzAkNaYSFZoctluU6gQWFjwhi9ORa7SGyg4VhiZvnKmDz490CjsXNjHjNJMN7eGuQVK8PMWU3w3r_aycstI_CsyGAKlz8OQyEFnNqkESYaTkdh3VWHo9Ys9L7ffpH7PY/s1600/9.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib54jcdfLd626AYS91vphk0NZyRhcB8Z68f8rJRnjBbWrEiO__A0YW76txYWgkbZASqsTJaJVf-WhWTJnAWnvX25saLMKamwCO7MDqRA6d2HvgooK-euRjzn2-TTML0JMqpLivXKt8A3sX/s1600/10.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;332&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib54jcdfLd626AYS91vphk0NZyRhcB8Z68f8rJRnjBbWrEiO__A0YW76txYWgkbZASqsTJaJVf-WhWTJnAWnvX25saLMKamwCO7MDqRA6d2HvgooK-euRjzn2-TTML0JMqpLivXKt8A3sX/s400/10.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;
f) Ianacode
value is replaced by ${#Project#cntry} automatically.&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/AVvXsEhweZhqXIHCYc3QOh-z6LRnymyEJftk1pewPQEq-MH6nIJlKKIpEbB5bbU21dRkffhedvGwzno7LbfaAhFlOT6LfaKXvZ5t6jPsZH0tlrKxbJav6X7vEGforl1imvYlOKTsjYfFFgsRwlUv/s1600/11.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;130&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhweZhqXIHCYc3QOh-z6LRnymyEJftk1pewPQEq-MH6nIJlKKIpEbB5bbU21dRkffhedvGwzno7LbfaAhFlOT6LfaKXvZ5t6jPsZH0tlrKxbJav6X7vEGforl1imvYlOKTsjYfFFgsRwlUv/s400/11.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;
g) Run the
Script.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;1.2)
Properties at the test suite level:&lt;/b&gt; Properties which are defined
at the test suite level are available for all the test cases and test
steps inside the suite. Double click on test suite and click on
properties tab at the bottom to create properties.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Follow the same
steps as in step 1.1.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;1.3)
Properties at the test case:&lt;/b&gt; Properties at the test case are
available for only that test case and all the test steps inside the
test case. 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
a) Right click
on test case and select add step -&amp;gt; properties to create
properties for a test case.&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/AVvXsEj0VyAoF99NhSUHhvxsJ8Kkr-BJgRpKQ8IcSrApvsTmZuWrCZdUAOhQukLicf9q1-DZ3J-k04hdKNMWGy1p2VQMgKILzXKa_w2NRoIEyDP5hDHNJPUGX1OKBYdefaBcI_iCsV72AVk7nIMk/s1600/12.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;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0VyAoF99NhSUHhvxsJ8Kkr-BJgRpKQ8IcSrApvsTmZuWrCZdUAOhQukLicf9q1-DZ3J-k04hdKNMWGy1p2VQMgKILzXKa_w2NRoIEyDP5hDHNJPUGX1OKBYdefaBcI_iCsV72AVk7nIMk/s400/12.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;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/AVvXsEhcUfaBqnBxiH0q_FrkVuHeYwPYAgnhAiOIcSfobAKGDfebu2uRKWJbNPOTNp0zLIz8WU9GC4haQ9iat1Ym0iLjbEilMvmFl4tFfizk5_J9qcHwROEiyEdo9ZTNlzhnlp6UOBGK3GWz_Ast/s1600/13.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/AVvXsEhcUfaBqnBxiH0q_FrkVuHeYwPYAgnhAiOIcSfobAKGDfebu2uRKWJbNPOTNp0zLIz8WU9GC4haQ9iat1Ym0iLjbEilMvmFl4tFfizk5_J9qcHwROEiyEdo9ZTNlzhnlp6UOBGK3GWz_Ast/s400/13.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;
b) Declaring
properties using properties test 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/AVvXsEhHfikNXBwkuI05-mDo_BevTIS27N0fnKkvURxU89Vh8YqNkB1ZZFYFE_Iv9I9crPQdZPFo0854F4J1JemVefn7POWHgTOF6j6xvNfQ5awfqpiU0mBybQ2MNeVnhh4zbSlyUOGwRVQXGf0_/s1600/14.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;65&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHfikNXBwkuI05-mDo_BevTIS27N0fnKkvURxU89Vh8YqNkB1ZZFYFE_Iv9I9crPQdZPFo0854F4J1JemVefn7POWHgTOF6j6xvNfQ5awfqpiU0mBybQ2MNeVnhh4zbSlyUOGwRVQXGf0_/s400/14.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
c) Transfer the
property value to the Test Case.                                     
                         Right Click on ianacode value-&amp;gt;Get
Data-&amp;gt;Property name (Ex: country)-&amp;gt;Property(Ex:countryvalue)&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/AVvXsEiav9MmN74zLLejPIlmtCSeQ6mlN8jwFT_pST_wYuQtBZP5XOUW7a9E_vDEfdAHcrhpnNMC5X9rr0N7s9TnHvG7P2y5xN8evhzq7v0OMRHHgknZF4obhMViSqI3WSujh5V5lhI28F_CNl-x/s1600/15.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;333&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiav9MmN74zLLejPIlmtCSeQ6mlN8jwFT_pST_wYuQtBZP5XOUW7a9E_vDEfdAHcrhpnNMC5X9rr0N7s9TnHvG7P2y5xN8evhzq7v0OMRHHgknZF4obhMViSqI3WSujh5V5lhI28F_CNl-x/s400/15.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
d) Ianacode
value change to ${country#countryvalue}&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/AVvXsEjUYXHBRq0lX2mvRbTPcDf559IHyWTHTNRT3cAQOAuLejxdXAg5OmyMU4cjMOABbDWgXrlL5gGc2jqzbH8N2Ec2qByN17e8qpeGbpZFb7l1s2OlVO28Qlc-roS-cW4oVsFgxOm4sZltbXdH/s1600/16.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;146&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUYXHBRq0lX2mvRbTPcDf559IHyWTHTNRT3cAQOAuLejxdXAg5OmyMU4cjMOABbDWgXrlL5gGc2jqzbH8N2Ec2qByN17e8qpeGbpZFb7l1s2OlVO28Qlc-roS-cW4oVsFgxOm4sZltbXdH/s400/16.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2) Data
driven by external files:&lt;/b&gt; Is available only in the
commercial version&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Creating
assertions&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Assertions are
at the heart of any test case where the actual testing happens&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
SOAP UI provides
different types of assertions. Double click on a test request inside
a test case. You will find an assertions tab at the bottom and
different kinds of assertions can be added.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;XPath Match:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Step1: Select
XPath Match from Select Assertion window.&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/AVvXsEgK-XRyxNP858WqcenfS8SirzCZL7EVCGZJWKo2rvt1Zhgpb0djanfSzWuqpfYWZpO4ploNEozH2mJRnDQDXELASv6_X-PYDUvFb6TVSQcmG2tTVKTWC-D8QkMj4bELFsx_LfXLEt7USxUf/s1600/17.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;309&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK-XRyxNP858WqcenfS8SirzCZL7EVCGZJWKo2rvt1Zhgpb0djanfSzWuqpfYWZpO4ploNEozH2mJRnDQDXELASv6_X-PYDUvFb6TVSQcmG2tTVKTWC-D8QkMj4bELFsx_LfXLEt7USxUf/s400/17.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;
Step2: Click on
ok button.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Step3: Enter the
Xpath Expression of the test case Response in Declare box.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Step4: Click on
Select from current.&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/AVvXsEhB46i4MB75vvmEJsjMJwbvu66UdEuQsZlpK2UFve8bW8zPS8QniN1Jd6GXbt0KRy1NlY83n8McRNpGWqYV0oNriDckQEMz9ocICIJN8QF5-zZh4aec94INDsbcmfHSOmaz4GmA8h0ZhdEe/s1600/18.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/AVvXsEhB46i4MB75vvmEJsjMJwbvu66UdEuQsZlpK2UFve8bW8zPS8QniN1Jd6GXbt0KRy1NlY83n8McRNpGWqYV0oNriDckQEMz9ocICIJN8QF5-zZh4aec94INDsbcmfHSOmaz4GmA8h0ZhdEe/s400/18.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;
Step5: Click on
Test to verify whether we are giving valid Xpath Expression or not.&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/AVvXsEjKlmq6aPeHfhtZHS-lgC7rj3LVESILa5x-yWB9xWTzlINr8i4aheMO-HYHedSnPe9iWLYsLkyanoif8DL_6cXZdbkWE1VK8EUiALnavupsUUV1zq0eN7vWZdNdlo0AMKWN5KOSwAco9B80/s1600/19.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;165&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKlmq6aPeHfhtZHS-lgC7rj3LVESILa5x-yWB9xWTzlINr8i4aheMO-HYHedSnPe9iWLYsLkyanoif8DL_6cXZdbkWE1VK8EUiALnavupsUUV1zq0eN7vWZdNdlo0AMKWN5KOSwAco9B80/s400/19.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Running
the test cases&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;1)
Running from UI:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Double click on
a project or test suite or test case and click on run button to
execute tests at that level. Passed test steps in each of the test
suite are shown in green and failed ones in red.&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/AVvXsEiXx3GsyJ6FyYCc19AIRC5_ARurgW_3azAFrFwIEbIcz45X8LjlUnDYMlEp-utgpfMn4a9GENp6xH7y-1SJ90EAEeF8POEtpUnlCochT1i8PIQwF6TswA7v-m9sMRjjlrk9vKAqEnGxbHPV/s1600/20.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;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXx3GsyJ6FyYCc19AIRC5_ARurgW_3azAFrFwIEbIcz45X8LjlUnDYMlEp-utgpfMn4a9GENp6xH7y-1SJ90EAEeF8POEtpUnlCochT1i8PIQwF6TswA7v-m9sMRjjlrk9vKAqEnGxbHPV/s400/20.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;b&gt;2)
Running from command prompt:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
SOAP UI test
cases can also be run from command prompt by using the following
command&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;com.eviware.soapui.tools.SoapUITestCaseRunner
(options)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
An easier way is
to run the tests is using the test runner batch file which comes
along with the SOAP UI installation at /bin&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;b&gt;testrunner.bat
-sWebserviceTestSuite -j -f C:\SOAPUIProjects\Reports
C:\SOAPUIProjects\WebservicesTesting-soapui-project.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
-s is for the
test suite&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
-j indicates
that junit style HTML report will be generated&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
-f is for
specifying the folder for report generation&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
Mentioning the
location of project XML is mandatory&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/AVvXsEi3IE1mwMd5Ey9bcMKvjh27t-HLkbABQlot4fRS5EtBNmJabqXs0eSIK9uFLXgOJBhH53jOj39DkiM5HZeP5fggJ9HmtehR13KhOWfBG4pAPeBFWqJ4im_1Z2bUy3bN4BGTnCDkuVtVUk3X/s1600/21.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;201&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3IE1mwMd5Ey9bcMKvjh27t-HLkbABQlot4fRS5EtBNmJabqXs0eSIK9uFLXgOJBhH53jOj39DkiM5HZeP5fggJ9HmtehR13KhOWfBG4pAPeBFWqJ4im_1Z2bUy3bN4BGTnCDkuVtVUk3X/s400/21.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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;b&gt;3)
Running from ANT:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
An ANT target
can be created which executes this command line task to integrate
with the builds.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in;&quot;&gt;
&amp;lt;target name=&quot;RunSOAPUISuite&quot;&amp;gt;
                                                                     
       &amp;lt;exec executable=&quot;C:\Program
Files\SmartBear\soapUI-4.0.1\bin\testrunner.bat&quot;&amp;gt;      &amp;lt;arg
line=&#39;-sWebserviceTestSuite -j -f&quot;C:\SOAPUIProjects\Reports&quot;
&quot;C:\SOAPUIProjects\WebservicesTesting-soapui-project.xml&quot;&#39;/&amp;gt;
                           &amp;lt;/exec&amp;gt;                    &amp;lt;/target&amp;gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in;&quot;&gt;
&lt;b&gt;Build.Xml&lt;/b&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/AVvXsEgMQLcbOtvxqT3C-0P_m98QxbmzC-JuWTAGRfMexYhz4dBkPSoiZlEiH9l50VYmlOw3uONzTiwTmoqQ5YawG_K0YEkRAPqEtU6N-5JCRuv-e_S9AB4HvrqOK9zuEZ1kNc5rbrNsu9PBz6pA/s1600/22.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;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMQLcbOtvxqT3C-0P_m98QxbmzC-JuWTAGRfMexYhz4dBkPSoiZlEiH9l50VYmlOw3uONzTiwTmoqQ5YawG_K0YEkRAPqEtU6N-5JCRuv-e_S9AB4HvrqOK9zuEZ1kNc5rbrNsu9PBz6pA/s400/22.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in;&quot;&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;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/AVvXsEhHkaSpztXAkaYpONiK9nj_O7cTFG42y5VooZ7nBGN2QHA5NA7Bsqau-tCw6U0R19KHf36gYniVHitOtTbwdZTMZr-zT0cDimxfCFC8oATN6qQitbPrCpVYbid8IkmLA5o5lDwZUrwxO03E/s1600/23.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;201&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHkaSpztXAkaYpONiK9nj_O7cTFG42y5VooZ7nBGN2QHA5NA7Bsqau-tCw6U0R19KHf36gYniVHitOtTbwdZTMZr-zT0cDimxfCFC8oATN6qQitbPrCpVYbid8IkmLA5o5lDwZUrwxO03E/s400/23.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;/b&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;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;JUnit Report:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&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/AVvXsEhevsThwqUMwwOqOIXNE0_A3tlR7mB8h_WiO-AaMZALnaTLmc9N-6jniUxeaivNzK0HtpRn8Fhj5H6hWcejWql6pvODkXo1Py15p307uL3bUgLBxvHVuQ0sJ4WbanFwOgwz7z8XXdqrv10v/s1600/24.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;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhevsThwqUMwwOqOIXNE0_A3tlR7mB8h_WiO-AaMZALnaTLmc9N-6jniUxeaivNzK0HtpRn8Fhj5H6hWcejWql6pvODkXo1Py15p307uL3bUgLBxvHVuQ0sJ4WbanFwOgwz7z8XXdqrv10v/s400/24.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Importing
the test cases&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.19in; margin-top: 0.19in;&quot;&gt;
The test suites
and projects can be exported and imported to different machines and
thus can be shared and executed by other team members very easily as
it provides the same view on import.&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://balasoftwaretesting.blogspot.com/feeds/7795946544286943915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/automating-soap-api-tests-with-soapui.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/7795946544286943915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/7795946544286943915'/><link rel='alternate' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/automating-soap-api-tests-with-soapui.html' title='Automating SOAP API tests with SOAPUI'/><author><name>Bala</name><uri>http://www.blogger.com/profile/02412750140817609066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG7DssM-y2Ui1kSewcnqkrblaBxgorYvF2A2jIEOR4JePQrQ947WVKb2qatf-QAtyYBlvEMsD-voQ23-wDYg_GpBc6sKrNB3hm_-dDi6u9GaumgoSnB2O5u0Dk4fjaUqfwrZuKquBqgM4u/s72-c/1.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2946083038796612600.post-8556525929349494179</id><published>2012-03-05T05:38:00.000-08:00</published><updated>2012-03-05T05:38:31.422-08:00</updated><title type='text'>SoapUi,Selenium and TestLink Integration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;

&lt;br /&gt;

        This document will show how to integrate Selenium, Soapui
with Test link. This integration is nothing more than sending the
execution result of the SOAPUI test script for Test link.
&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Prerequisites: &lt;/b&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Install Test link version 1.9 
 &lt;/li&gt;
&lt;li&gt;dbfacade-Testlink-api-client 
 &lt;/li&gt;
&lt;li&gt;Libraries Selenium RC Java 
 &lt;/li&gt;
&lt;li&gt;Install SoapUI 3.6.1&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;

&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;I) Configure Test Link&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;b&gt;Step1:&lt;/b&gt; Enable the project with Automation Testing 
&lt;br /&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddEwSkLYP7u29ZVaQmLHOFmRZXfFd8kfxlLtdJ-aGYyJBdHHuGQnbJaN45Kxa5pCI8Z7fTuy21OqtQCnHffgI7AYg9IdC2qJkFrhyphenhyphenQ815dUirZwZwLcIaAuNamDJA9fpqrHGjm2tPGHKL/s1600/sel1.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;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddEwSkLYP7u29ZVaQmLHOFmRZXfFd8kfxlLtdJ-aGYyJBdHHuGQnbJaN45Kxa5pCI8Z7fTuy21OqtQCnHffgI7AYg9IdC2qJkFrhyphenhyphenQ815dUirZwZwLcIaAuNamDJA9fpqrHGjm2tPGHKL/s400/sel1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&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;b&gt;Step2:&lt;/b&gt; Edit the configuration file in Test link 
&lt;br /&gt;

&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
1) Add below two lines in file
custom_config.inc.php.example 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
$tlCfg-&amp;gt; api -&amp;gt; enabled 
&lt;/div&gt;
$tlCfg-&amp;gt; exec_cfg-&amp;gt; enable_test_automation 
&lt;br /&gt;

2) Rename custom_config.inc.php.example as custom_config.inc.php&lt;br /&gt;

&lt;b&gt;Step3:&lt;/b&gt; Generate a new key access 
&lt;br /&gt;

            After you enable the API access to XML-RPC and report
the activation of automation in the configuration file is necessary
to generate the key. This key is created by user and that it will
allow the Test link identify who is trying to access the XML-RPC
services. 
&lt;br /&gt;

   TestLinkHomePage---&amp;gt;My Settings---&amp;gt;Account
Settings---&amp;gt;ApiInterface Section---&amp;gt;Click on Generate a new
key.&lt;br /&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnuvSZdVQ-ehiA3F7oKR8Y76wGxEHt9o0mBzbQNBdhBB1p5f6mdiBbTxvIXPubKYWZ97RTptNX25c_GvcIAx1IDhiI5MWLljLcruvZpRwIGyJQpMideVshgwFO9dANHTaWcdK4CqDOiIQe/s1600/sel2.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;116&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnuvSZdVQ-ehiA3F7oKR8Y76wGxEHt9o0mBzbQNBdhBB1p5f6mdiBbTxvIXPubKYWZ97RTptNX25c_GvcIAx1IDhiI5MWLljLcruvZpRwIGyJQpMideVshgwFO9dANHTaWcdK4CqDOiIQe/s400/sel2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;II) Configure SOAPUI&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step1&lt;/b&gt;:-Install SOAPUI 3.6.1
Software.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step2&lt;/b&gt;: Create a new Project.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Right Click on Projects---&amp;gt;New
soapUI Project.&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/AVvXsEiWn7A70EYRlKJHTCzyH8zIYuDaxuIoimqsbDSehmYijnmSrGJXUpsBwernUatjIA9man4BG-T-i_5leewk15wjWI71c94hR4CRaMWI-LtsOMo17mfZaqp5mr7eArGoxfCEsjGzSEnDE02E/s1600/sel4.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;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWn7A70EYRlKJHTCzyH8zIYuDaxuIoimqsbDSehmYijnmSrGJXUpsBwernUatjIA9man4BG-T-i_5leewk15wjWI71c94hR4CRaMWI-LtsOMo17mfZaqp5mr7eArGoxfCEsjGzSEnDE02E/s400/sel4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step3&lt;/b&gt;: Create a Test Suite&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Test Suite &lt;span style=&quot;color: black;&quot;&gt;is a
collection of test cases that are intended to be used to test a
software program to show that it has some specified set of behaviors.&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
To Create a test Suite, double click on
the Project name, overview of the Project will be displayed. Click on
Test Suites Icon as Shown below&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/AVvXsEjo0NhrppkSfxGHRJbIkE45zP-exccA2BNXqbJzrXdbs7zTXYWZ5xLt-j2ka78MxtTE_-nHD2NuVd5e1fA2cGzHhgWnfvwl5vbcIh66ITIQWXSjeepcMy1pYiREw5ECuUHP8SjINSGdrEFu/s1600/sel5.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;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjo0NhrppkSfxGHRJbIkE45zP-exccA2BNXqbJzrXdbs7zTXYWZ5xLt-j2ka78MxtTE_-nHD2NuVd5e1fA2cGzHhgWnfvwl5vbcIh66ITIQWXSjeepcMy1pYiREw5ECuUHP8SjINSGdrEFu/s400/sel5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step 4:&lt;/b&gt; Create a Test Case.&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/AVvXsEg2vwONDLrWbOZ7VVVW5ZCYJWkGt4om7B8j9HFdl7SUR-0XWKNSGA142gkX-aB-VdxvONivEyxe7vS87nveksv_2Zz14oO9MznHsmoCKBqh52g58V5mxEsrGyf-Q2RBIzAGS8vIgcnwkiuF/s1600/sel6.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;246&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2vwONDLrWbOZ7VVVW5ZCYJWkGt4om7B8j9HFdl7SUR-0XWKNSGA142gkX-aB-VdxvONivEyxe7vS87nveksv_2Zz14oO9MznHsmoCKBqh52g58V5mxEsrGyf-Q2RBIzAGS8vIgcnwkiuF/s400/sel6.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step5:&lt;/b&gt;Add Groovy Script to test
case.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&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/AVvXsEg5m9oGXCfWiVBfoJfTI1oJxEfrJVqSWLK8lMdmlABY39t8h01grU4z2KObF39J_YaCDUjzhPX6HQKgHIH-UnNVo5Fuf9JS8-3S6hKbl0jaG32BChlFtY6v_oEMQi7e8IQOKbTyhoUdP57N/s1600/sel7.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/AVvXsEg5m9oGXCfWiVBfoJfTI1oJxEfrJVqSWLK8lMdmlABY39t8h01grU4z2KObF39J_YaCDUjzhPX6HQKgHIH-UnNVo5Fuf9JS8-3S6hKbl0jaG32BChlFtY6v_oEMQi7e8IQOKbTyhoUdP57N/s400/sel7.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;III) Preparing Development
Environment (SOAPUI)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step1:-&lt;/b&gt;Add the following jar
files in SOAPUI ext folder.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Path: C:\Program
Files\eviware\soapUI-3.6.1\bin\ext&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;dbfacade-Testlink:&lt;br /&gt;

 &lt;ul&gt;
&lt;li&gt;Testlink-client-api-2.0.jar 
  &lt;br /&gt;

  &lt;/li&gt;
&lt;li&gt;all libs&lt;br /&gt;

 &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Selenium RC:&lt;br /&gt;

 &lt;ul&gt;
&lt;li&gt;selenium-server.jar 
  &lt;br /&gt;

  &lt;/li&gt;
&lt;li&gt;Selenium-java-client-driver. jar 
  &lt;br /&gt;

 &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step2:&lt;/b&gt; Create new project
(TestLinkSelenium) in Eclipse&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step3:&lt;/b&gt; Create new package (test
link).&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step4:&lt;/b&gt; Create Class
&lt;b&gt;ResultadoExecution&lt;/b&gt; to package (testlink).&lt;br /&gt;          Create
ResultadoExecution class, which is responsible for sending the result
of the script to Test link.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;package testlink;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;import&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
testlink.api.java.client.TestLinkAPIClient;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;i&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;mport&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
testlink.api.java.client.TestLinkAPIException;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;class&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
ResultadoExecution &lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;implements&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
IConstantes&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt; {  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;static&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;void&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
reportTestCaseResult1(String TestProject, String TestPlan, String
TestCase,   String BuildName, String nota, String resultado) &lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;throws&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
TestLinkAPIException &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;        {  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;      
TestLinkAPIClient testlinkAPIClient = &lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;b&gt;new&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
TestLinkAPIClient(&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;DEVKEY&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;,
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;URL&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;);
 &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;      
testlinkAPIClient.reportTestCaseResult(TestProject, TestPlan,
TestCase, BuildName, nota, resultado);  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;       }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step5:&lt;/b&gt; Create Interface&lt;b&gt;
Iconstantes &lt;/b&gt;to package (testlink)&lt;b&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Create an interface with the data
necessary to send the data to the Testlink, which are the parameters
that were described above. 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;package testlink;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;public interface
IConstantes {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt; final String
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;DEVKEY&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
= &quot;7c0893a8c63d2599074a308de09ad75b&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;           final
String &lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;URL&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
= &quot;http://localhost:82/testlink/lib/api/xmlrpc.php&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;            final
String &lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;PROJECT&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
= &quot;SeleniumIntegrationWithTestlink&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt; final String
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;PLAN&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
= &quot;LCLT001-IntegratingSelenium&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt; final String
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;BUILD&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
= &quot;integarationbuild1&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt; final String
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;TestCase1&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
= &quot;Limsearch&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt; final String
&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;&lt;i&gt;TestCase2&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b84700;&quot;&gt;
= &quot;Searchbyemail&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
                                     }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Here DEVKEY =generated API KEY&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
         PROJECT= Project name in
Testlink.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
         PLAN=TestPlan Name&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
         BUILD=Build Name&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
        TestCase1=TestCaseName
(Limsearch)&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step6&lt;/b&gt;: Create jar file
(soapui.jar)for class  ResultadoExecution and interface Iconstantes
.This jar file will be use in Soapui.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step7&lt;/b&gt;: Add created jar file
(soapui.jar) to ext folder of soapui.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Path: C:\Program
Files\eviware\soapUI-3.6.1\bin\ext&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Step8:&lt;/b&gt; Add the SourceCode to
Groovy Script in Soapui.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;import
com.thoughtworks.selenium.*;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;import
java.util.regex.Pattern;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;import
testlink.api.java.client.TestLinkAPIResults;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;import
testlink.api.java.client.TestLinkAPIClient;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;import
testlink.api.java.client.TestLinkAPIException;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;import
testlink.*; //import ResultadoExecution and IConstantes&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;public final
class Emailsearch implements IConstantes {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;private static
Emailsearch instance;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;public Selenium
selenium;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;   private
Emailsearch (String host, int port, String browserType, String url)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;     {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;       
this.selenium= new DefaultSelenium(host, port, browserType, url);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;       
this.selenium.start ();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;       
this.selenium.open (url); &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;        String
resultado = null;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;   String nota =
null; &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;      try {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
         selenium.open (&quot;/&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.click (&quot;link=Login&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.waitForPageToLoad (&quot;60000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.type (&quot;login&quot;, &quot;bala&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.type (&quot;password&quot;, &quot;krishna&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.click (&quot;Submit&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.waitForPageToLoad (&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.click (&quot;link=Search Member&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.waitForPageToLoad (&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.type (&quot;email&quot;, &quot;sample@cil.com&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.click (&quot;//input [@type=&#39;submit&#39;]&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.waitForPageToLoad (&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.click (&quot;link=Logout&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.waitForPageToLoad (&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    
selenium.close ();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
         selenium.stop ();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;     resultado =
TestLinkAPIResults.TEST_PASSED&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;           catch
(Exception e) {  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
                resultado = TestLinkAPIResults.TEST_FAILED;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
                nota = e.getMessage ();  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
                e.printStackTrace ();  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
                             }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;          
finally {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
ResultadoExecution.reportTestCaseResult1 (PROJET, PLAN, TestCase1,
BUILD, nota, resultado);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;                 
        }  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;      }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;public static
Emailsearch getInstance (String host, int port, String browserType,
String url) &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;      {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;       instance =
new Emailsearch (host, port, browserType, url);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;       return
instance;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;        }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;    }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b84700;&quot;&gt;Emailsearch.getInstance
(&quot;172.16.2.212&quot;,
4444,&quot;*iexplore&quot;,&quot;http://www.lowcostloadtest.com&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Step9: Start SeleniumServer.jar&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Step10: Launch TestRunner in SoapUi.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSHO73RKpygIN61wpe_c0bm2VJ0u1eth6AOEp7ZEYgPyHNcF7g4auTlfwYrE_kalHU2DuQcwP6qB5uz-gURIbsjU7m1DAV7ogjcusP2S5fDpEOb3GI7mDzDLTKV9e3tsXQ7uY_3NVVr2p5/s1600/step10.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;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSHO73RKpygIN61wpe_c0bm2VJ0u1eth6AOEp7ZEYgPyHNcF7g4auTlfwYrE_kalHU2DuQcwP6qB5uz-gURIbsjU7m1DAV7ogjcusP2S5fDpEOb3GI7mDzDLTKV9e3tsXQ7uY_3NVVr2p5/s400/step10.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&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/AVvXsEh93VLKqBeQ8DQY2edtzG5qAgwQx2pU-npK_EEP5ckKD5DmWC9EWeG1tqba8nG0lp8-prOIMuhzhBLeXBvYwmZ6jQIKxs5dSYpxjCWjnWF0jk_neudLqk3RYyC1raN-julshf4Xko1oo2zz/s1600/step10.1.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;361&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh93VLKqBeQ8DQY2edtzG5qAgwQx2pU-npK_EEP5ckKD5DmWC9EWeG1tqba8nG0lp8-prOIMuhzhBLeXBvYwmZ6jQIKxs5dSYpxjCWjnWF0jk_neudLqk3RYyC1raN-julshf4Xko1oo2zz/s400/step10.1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Step11:Click on Launch. Selenium
testcase will be executed in iexplore.&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/AVvXsEit3m5fcG0aFH_58vJtts3qICTr19-JY1rlp0S6HLpYf0qO2QvPs1I1qgaY-NVqyu8m_R7ZP-Zl4SpnQuyUQ1UM6cdxyM3b8ra_eZ7Ceo9-T7YCsXg79Em0zI-Sgi3hopsYi4GdDHCcRJLG/s1600/step11.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;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit3m5fcG0aFH_58vJtts3qICTr19-JY1rlp0S6HLpYf0qO2QvPs1I1qgaY-NVqyu8m_R7ZP-Zl4SpnQuyUQ1UM6cdxyM3b8ra_eZ7Ceo9-T7YCsXg79Em0zI-Sgi3hopsYi4GdDHCcRJLG/s400/step11.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
Step12:After completing the execution
test Case Results  will be updated in Test Link.&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/AVvXsEjTJiDxEldL9uq9owJjKPBbLzhPKvy4izfSDzlcI7JoaT-HZqHmsdDZNmU3RYxK3kskjsblWua2oKhXRgcNyIixZDWpaKWH-1bVPhE45jyJ7TA4drn_bO9CCC5jjI1JGVGOnptPow84Us76/s1600/step12.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;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTJiDxEldL9uq9owJjKPBbLzhPKvy4izfSDzlcI7JoaT-HZqHmsdDZNmU3RYxK3kskjsblWua2oKhXRgcNyIixZDWpaKWH-1bVPhE45jyJ7TA4drn_bO9CCC5jjI1JGVGOnptPow84Us76/s400/step12.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&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/AVvXsEgZdiMrDqLCkVPFuEzQhxk5_3l2BwvzsewMn0w9fG-6IoDgwz-O8smVRzo9oHg0-IykHMlyEnUp2sDSAzaxjeaTAUCd4BhrI1uNDApxacihZ6KF8k1gV-ARvZyiuDBj50aH1J14AQ9NHnh7/s1600/step12.1.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;177&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZdiMrDqLCkVPFuEzQhxk5_3l2BwvzsewMn0w9fG-6IoDgwz-O8smVRzo9oHg0-IykHMlyEnUp2sDSAzaxjeaTAUCd4BhrI1uNDApxacihZ6KF8k1gV-ARvZyiuDBj50aH1J14AQ9NHnh7/s400/step12.1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://balasoftwaretesting.blogspot.com/feeds/8556525929349494179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/soapuiselenium-and-testlink-integration.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/8556525929349494179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/8556525929349494179'/><link rel='alternate' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/soapuiselenium-and-testlink-integration.html' title='SoapUi,Selenium and TestLink Integration'/><author><name>Bala</name><uri>http://www.blogger.com/profile/02412750140817609066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddEwSkLYP7u29ZVaQmLHOFmRZXfFd8kfxlLtdJ-aGYyJBdHHuGQnbJaN45Kxa5pCI8Z7fTuy21OqtQCnHffgI7AYg9IdC2qJkFrhyphenhyphenQ815dUirZwZwLcIaAuNamDJA9fpqrHGjm2tPGHKL/s72-c/sel1.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2946083038796612600.post-5664805614198199443</id><published>2012-03-05T04:16:00.000-08:00</published><updated>2012-03-05T04:35:06.798-08:00</updated><title type='text'>Selenium and TestLink Integration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 align=&quot;CENTER&quot; class=&quot;western&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-left: 0.5in; text-indent: -0.5in;&quot;&gt;





&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;/u&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;This article will show how to integrate Selenium with Testlink .
This integration is nothing more than sending the execution result of
the test script for Testlink . &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;We will create a Java project
with the support of  testng  for creating the test script with
Selenium . Below is a list of items needed for this tutorial.
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;PreRequisites:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Install Testlink version 1.9 
 &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;dbfacade-Testlink-api-client 
 &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;IDE for Java development(Eclipce)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Java JDK 1.6.0&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Libraries Selenium RC Java 
 &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;



&lt;/ul&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Configure TestLink:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step1:&lt;/b&gt;Enable the project with Automation Testing&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: normal;&quot;&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddEwSkLYP7u29ZVaQmLHOFmRZXfFd8kfxlLtdJ-aGYyJBdHHuGQnbJaN45Kxa5pCI8Z7fTuy21OqtQCnHffgI7AYg9IdC2qJkFrhyphenhyphenQ815dUirZwZwLcIaAuNamDJA9fpqrHGjm2tPGHKL/s1600/sel1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddEwSkLYP7u29ZVaQmLHOFmRZXfFd8kfxlLtdJ-aGYyJBdHHuGQnbJaN45Kxa5pCI8Z7fTuy21OqtQCnHffgI7AYg9IdC2qJkFrhyphenhyphenQ815dUirZwZwLcIaAuNamDJA9fpqrHGjm2tPGHKL/s400/sel1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step2:&lt;/b&gt;Edit the configuration file  in Testlink 
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;1)Add  below two lines in file
custom_config.inc.php.example 
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;$tlCfg-&amp;gt;
api-&amp;gt; enabled &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;$tlCfg-&amp;gt; exec_cfg-&amp;gt;
enable_test_automation &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;2)Rename
custom_config.inc.php.example as  custom_config.inc.php&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step3:&lt;/b&gt;Generate a new key access 
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;After you enable the API access to XML-RPC and report
the activation of automation in the configuration file is necessary
to generate the key. This key is created by user and that it will
allow the Testlink identify who is trying to access the XML-RPC
services. 
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;TestLinkHomePage---&amp;gt;MySettings---&amp;gt;AccounSettings---&amp;gt;ApiInterface
Section---&amp;gt;Click on Generate a new key.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnuvSZdVQ-ehiA3F7oKR8Y76wGxEHt9o0mBzbQNBdhBB1p5f6mdiBbTxvIXPubKYWZ97RTptNX25c_GvcIAx1IDhiI5MWLljLcruvZpRwIGyJQpMideVshgwFO9dANHTaWcdK4CqDOiIQe/s1600/sel2.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;116&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnuvSZdVQ-ehiA3F7oKR8Y76wGxEHt9o0mBzbQNBdhBB1p5f6mdiBbTxvIXPubKYWZ97RTptNX25c_GvcIAx1IDhiI5MWLljLcruvZpRwIGyJQpMideVshgwFO9dANHTaWcdK4CqDOiIQe/s400/sel2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;b&gt;Preparing
Development Environment&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;Step1:&lt;/span&gt;&lt;/b&gt;Add
the following JAR files&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;
&lt;/span&gt;in eclipse&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;dbfacade-Testlink:&lt;/span&gt;

 &lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Testlink-client-api-2.0.jar 
  &lt;/span&gt;

  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;all libs&lt;/span&gt;

 &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Selenium RC:&lt;/span&gt;

 &lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;selenium-server.jar 
  &lt;/span&gt;

  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;selenium-java-client-driver.jar 
  &lt;/span&gt;

 &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step2:&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: normal;&quot;&gt;Sample  Source
Code.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;import java.util.Date;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;import com.thoughtworks.selenium.*;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;import org.testng.Reporter;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;import org.testng.annotations.*;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;import
testlink.api.java.client.TestLinkAPIResults;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;public class Selenium_Methods  implements
IConstantes {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  Selenium selenium;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; 
@Parameters({&quot;selenium.host&quot;,&quot;selenium.port&quot;,&quot;selenium.browser&quot;,&quot;selenium.url&quot;})&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  @BeforeMethod(alwaysRun=true)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  public void startBrowser(String
host,String port,String browser,String url){&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;            this.selenium= new
DefaultSelenium(host, Integer.parseInt(port), browser, url);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;           
this.selenium.start(&quot;captureNetworkTraffic=true,     
addCustomRequestHeader=true,captureNetworkTraffic=true&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;           this.selenium.open(url);         &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;         } //startBrowser();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;    &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; @Test public void limitedSearch() throws
Exception {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  String resultado = null;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  String nota = null;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  try&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                     {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.open(&quot;/&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.click(&quot;link=Login&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.waitForPageToLoad(&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.type(&quot;login&quot;, &quot;bala&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.type(&quot;password&quot;,
&quot;krishna&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.click(&quot;Submit&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.waitForPageToLoad(&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  if(selenium.isTextPresent(&quot;Welcome
balakrishna&quot;))&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                       
Reporter.log(&quot;Successfully log in&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                       else&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                        Reporter.log(&quot;Error
on page&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.click(&quot;link=Limited Search
Member&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.waitForPageToLoad(&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.type(&quot;email&quot;, &quot;10&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.click(&quot;//input[@type=&#39;submit&#39;]&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.waitForPageToLoad(&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.click(&quot;link=Logout&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  selenium.waitForPageToLoad(&quot;30000&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;  resultado =
TestLinkAPIResults.TEST_PASSED;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                                 }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                      catch (Exception e) { 
&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                resultado =
TestLinkAPIResults.TEST_FAILED;  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                nota = e.getMessage();  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                e.printStackTrace();  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                    } &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                finally {  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;      &lt;/span&gt; 
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;ResultadoExecucao.reportTestCaseResult1(PROJETO,
PLANO, CASO_TESTE1, BUILD,       nota, resultado);  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                             }  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;        }&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; @AfterMethod(alwaysRun=true)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;     public void stopSelenium() {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                 Date dt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                 dt = new Date();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                
System.out.println(&quot;Execution Terminated at &quot;+ dt);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                  this.selenium.stop();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;                  } //stopSelenium();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step3:Class ResultadoExecucao &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Within the
project create ResultadoExecucao class, which is responsible for
sending the result of the script to Testlink.  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;import
testlink.api.java.client.TestLinkAPIClient;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;import
testlink.api.java.client.TestLinkAPIException;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;public class ResultadoExecucao implements
IConstantes {  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;       public static void
reportTestCaseResult1(String projetoTeste, String planoTeste, String
casoTeste, String nomeBuild, String nota, String resultado) throws 
TestLinkAPIException {  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;         &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;     TestLinkAPIClient testlinkAPIClient =
new TestLinkAPIClient(DEVKEY, URL);  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;    
testlinkAPIClient.reportTestCaseResult(projetoTeste, planoTeste,
casoTeste, nomeBuild, nota, resultado);  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;     } &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step4:&lt;/b&gt;&lt;b&gt;Interface iConstantes&lt;/b&gt;&lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Create  an interface
with the data necessary to send the data to the Testlink, which are
the parameters that were described above. 
&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;public&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;interface&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
IConstantes {&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
String &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;i&gt;DEVKEY&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
= &quot;7c0893a8c63d2599074a308de09ad75b&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;     
&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
String &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;i&gt;URL&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
= &quot;http://localhost:82/testlink/lib/api/xmlrpc.php&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;     
&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
String &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;i&gt;PROJETO&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
= &quot;SeleniumIntegrationWithTestlink&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
String &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;i&gt;PLANO&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
= &quot;LCLT001-IntegratingSelenium&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
String &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;i&gt;BUILD&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
= &quot;integarationbuild1&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;b&gt;final&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
String &lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;&lt;i&gt;CASO_TESTE1&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;
= &quot;LimitedSearch&quot;;  &lt;/span&gt;
&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: #b80047; font-size: small;&quot;&gt;   }&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;LEFT&quot; style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Here DEVKEY =generated API KEY&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;PROJETO = Project name in
Testlink.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;PLANO =TestPlan Name&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;BUILD=Build Name&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;CASO_TESTE1=TestCaseName&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step5:&lt;/b&gt;After Execution,the Result will
be automatically reflected to TestLink as below.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-aDXsiargsrUzlmTiYALqtYMgBFgKDbzbrRAJyIliLXboxl5yaTVdfjeM564zJmCCIE2WV_MkIEzVkHtKmo5SztVtnsGFwSQiAki-dx8wey0vE5hyphenhyphenLjWwalH3UKXyMHkG57q2KyoM_6Di/s1600/sel3.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;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-aDXsiargsrUzlmTiYALqtYMgBFgKDbzbrRAJyIliLXboxl5yaTVdfjeM564zJmCCIE2WV_MkIEzVkHtKmo5SztVtnsGFwSQiAki-dx8wey0vE5hyphenhyphenLjWwalH3UKXyMHkG57q2KyoM_6Di/s640/sel3.png&quot; width=&quot;524&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://balasoftwaretesting.blogspot.com/feeds/5664805614198199443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/selenium-and-testlink-integration.html#comment-form' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/5664805614198199443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/5664805614198199443'/><link rel='alternate' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/selenium-and-testlink-integration.html' title='Selenium and TestLink Integration'/><author><name>Bala</name><uri>http://www.blogger.com/profile/02412750140817609066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddEwSkLYP7u29ZVaQmLHOFmRZXfFd8kfxlLtdJ-aGYyJBdHHuGQnbJaN45Kxa5pCI8Z7fTuy21OqtQCnHffgI7AYg9IdC2qJkFrhyphenhyphenQ815dUirZwZwLcIaAuNamDJA9fpqrHGjm2tPGHKL/s72-c/sel1.png" height="72" width="72"/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2946083038796612600.post-4211588516975405747</id><published>2012-03-05T03:32:00.000-08:00</published><updated>2012-03-05T03:32:23.644-08:00</updated><title type='text'>Converting Jmeter JTL File To CSV File</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;u&gt;JtlToCsv Converter&lt;/u&gt;&lt;/b&gt;:-By using this utility we convert Jmeter jtl file to CSV file.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Prerequisites:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
1)Python 2.7&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;Steps:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
Step1:-Create JtlToCsvConverter folder in C drive.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
Step2:-Create input,output sub folders in JtlToCsvConverter folder.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
Step3:-Copy below code to notepad and save as JtlToCsv_Jmeter.py in JtlToCsvConverter folder.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: blue; font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;#!C:\Python27\python.exe -u&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;import sys&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;import re&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;import datetime&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;import time&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;startTime = time.time()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;cnt = 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;cnt2 = 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;failCnt = 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;reCompile = re.compile(&quot;\s([^\s]*?)=\&quot;(.*?)\&quot;&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;delimiterCharacterOut = &quot;,&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;def writeCSVLine(line):&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = reCompile.findall(line)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a = dict((row[0], row[1]) for row in x)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a[&#39;ts1&#39;] = str(int(int(a[&#39;ts&#39;])/1000))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = str(datetime.datetime.fromtimestamp(float(a[&#39;ts1&#39;])))[0:19]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b = a[&#39;ts&#39;] + &quot;,\&quot;&quot; + x + &quot;\&quot;,&quot; + a[&#39;t&#39;] + &quot;,&quot; + a[&#39;lt&#39;] + &quot;,\&quot;&quot; + a[&#39;s&#39;] + &quot;\&quot;,\&quot;&quot; + a[&#39;lb&#39;] + &quot;\&quot;,&quot; + a[&#39;rc&#39;] + &quot;,\&quot;&quot; + a[&#39;rm&#39;] + &quot;\&quot;,\&quot;&quot; + a[&#39;tn&#39;] + &quot;\&quot;,\&quot;&quot; + a[&#39;dt&#39;] + &quot;\&quot;,&quot; + a[&#39;by&#39;] + &quot;,\&quot;&quot; + a[&#39;sc&#39;] + &quot;\&quot;,&quot; + a[&#39;ec&#39;] + &quot;,\&quot;&quot; + a[&#39;ng&#39;] + &quot;\&quot;,&quot; + a[&#39;na&#39;] + &quot;,\&quot;&quot; + a[&#39;hn&#39;] + &quot;\&quot;,&quot; + a[&#39;in&#39;] + &quot;\n&quot; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return -1 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o.write(b)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;print &quot;Splitting JTL file&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;try:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runArgv = sys.argv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #Save the command line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jtlInfile = str(sys.argv[1])&amp;nbsp; #Name of JTL input file&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cvsOutfile = str(sys.argv[2]) # Name of CVS output file&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reFilter = str(sys.argv[3])&amp;nbsp;&amp;nbsp; # Filter the labels (lb) for the filter &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;except:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print &quot;Error: Input format: &amp;lt;input file&amp;gt; &amp;lt;output file&amp;gt; &amp;lt;Filter by regular expression&amp;gt;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;try:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f = open(jtlInfile, &quot;r&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o = open(cvsOutfile, &quot;w&quot;) &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;except:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;print &quot;Filtering on regular expression : &quot; + reFilter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;cmpFilter = re.compile(reFilter)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;# o.write(&quot;timestamp&quot; + &quot;,\&quot;&quot;+ &quot;datetime&quot; + &quot;\n&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;o.write(&quot;timeStamp&quot; + &quot;,\&quot;&quot; + &quot;datetime&quot; + &quot;\&quot;,&quot; + &quot;elapsed&quot; + &quot;,&quot; + &quot;Latency&quot; + &quot;,\&quot;&quot; + &quot;success&quot; + &quot;\&quot;,\&quot;&quot; + &quot;label&quot; + &quot;\&quot;,&quot; + &quot;responseCode&quot; + &quot;,\&quot;&quot; + &quot;responseMessage&quot; + &quot;\&quot;,\&quot;&quot; + &quot;threadName&quot;+ &quot;\&quot;,\&quot;&quot; + &quot;dataType&quot; + &quot;\&quot;,&quot; + &quot;bytes&quot; + &quot;,\&quot;&quot; + &quot;SampleCount&quot; + &quot;\&quot;,&quot; + &quot;ErrorCount&quot; + &quot;,\&quot;&quot; + &quot;grpThreads&quot; + &quot;\&quot;,&quot; + &quot;allThreads&quot; + &quot;,\&quot;&quot; + &quot;Hostname&quot; + &quot;\&quot;,&quot; + &quot;IdleTime&quot; + &quot;\n&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;for line in f:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if cmpFilter.search(line):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returnVal = writeCSVLine(line)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if returnVal&amp;lt;0:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; failCnt += 1 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt2 += 1 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print &#39;Error in line : &#39;, cnt, line&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt += 1 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;endTime = time.time()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;print &quot;Time taken : &quot;, str(endTime-startTime)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;print &quot;Lines processed : &quot;, cnt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;print &quot;Lines that passed the filter : &quot;, cnt2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;print &quot;Lines skipped (error?) : &quot;, failCnt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;f.close()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;o.close()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
Step4:-Copy Jtl file to input folder.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ex:-sample.jtl&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
Step5:-Create batch file in JtlToCsvConverter folder to run the python script.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;b&gt;&amp;nbsp;Runme.bat&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;background-color: yellow; color: blue;&quot;&gt;cd /d C:\JtlToCsvConverter&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow; color: blue;&quot;&gt;JtltoCsv_Jmeter.py C:\JtlToCsvConverter\input\sample.jtl C:\JtlToCsvConverter\output\sample_friday.csv &quot;(.+?)&quot; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
Step6:-Click on Runme.bat file,CSV file should be created at output folder.&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://balasoftwaretesting.blogspot.com/feeds/4211588516975405747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/converting-jmeter-jtl-file-to-csv-file.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/4211588516975405747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2946083038796612600/posts/default/4211588516975405747'/><link rel='alternate' type='text/html' href='http://balasoftwaretesting.blogspot.com/2012/03/converting-jmeter-jtl-file-to-csv-file.html' title='Converting Jmeter JTL File To CSV File'/><author><name>Bala</name><uri>http://www.blogger.com/profile/02412750140817609066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>