<?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-3462645937568625140</id><updated>2026-10-17T12:51:30.622+05:30</updated><category term="Webdriver"/><category term="Selenium 2.0"/><category term="selenium RC"/><category term="TestNG"/><category term="Selenium Basics"/><category term="Special commands"/><category term="Locating Elements"/><category term="Manual Testing"/><category term="Selenium IDE"/><category term="Dropdown"/><category term="Issues"/><category term="Bug Reporting"/><category term="JUnit"/><category term="Javascript"/><category term="AJAX"/><category term="Checkbox"/><category term="Chrome"/><category term="Data driven"/><category term="Firebug"/><category term="GitHub"/><category term="Maven"/><category term="Reports"/><category term="Selenium Interview questions"/><category term="Test Suite"/><category term="Xpath"/><category term="ANT"/><category term="Actions"/><category term="AutoIT"/><category term="File Upload"/><category term="Git"/><category term="Grid"/><category term="HTTPS sites"/><category term="Jenkins"/><category term="New Window"/><category term="Sample script"/><category term="Setting up Selenium RC and TestNG"/><category term="Taceability Matrix"/><category term="WebTable"/><category term="Write results to excel"/><category term="Advanced Xpath"/><category term="Basic Authentication"/><category term="Bug Life cycle"/><category term="Build tool"/><category term="CI"/><category term="CrossBrowser"/><category term="Debugbar"/><category term="Edge"/><category term="EventFiringWebDriver"/><category term="Examples"/><category term="Frames"/><category term="GEB"/><category term="Grid Extras"/><category term="HTML5"/><category term="Hihilight"/><category term="How selenium works"/><category term="Javascriptexecutor"/><category term="Jquery"/><category term="LocalFileDetector"/><category term="Loop"/><category term="MultiBrowser"/><category term="New Features"/><category term="STLC"/><category term="Safari"/><category term="Screenshot"/><category term="Screenshot On Fail"/><category term="Selenium supported OS and Lanugages"/><category term="Setting up Selenium RC and JUnit"/><category term="TestPlan"/><category term="WebDriverEventListener"/><category term="WebdriverManager"/><category term="XSLT"/><category term="events"/><category term="exception"/><category term="getAttribute"/><category term="javascript executor"/><category term="log4J"/><category term="node"/><category term="onchange"/><category term="remote webdriver"/><category term="selenium"/><category term="selenium grid"/><category term="sendKeys"/><category term="stale"/><category term="staleelementexception"/><category term="textbox"/><category term="upload file"/><category term="zalenium"/><title type='text'>Tester In You</title><subtitle type='html'>Nourish the tester in you.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>138</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-1847750552059346921</id><published>2021-12-02T21:15:00.002+05:30</published><updated>2021-12-02T21:15:09.409+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="getAttribute"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium Interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Selenium Interview Questions on Textbox Part -2</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Selenium Interview Questions on Textbox&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1. How to get text in textbox?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2. How to get attributes like size, placeholder of text box?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;We have to use getAttribute command to get attrubte values of textbox.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;driver.findElement(locator).getAttribute(&quot;value&quot;); -- for text in textbox&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;driver.findElement(locator).getAttribute(&quot;attributeName&quot;); -- For any attribute&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;iframe frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://youtube.com/embed/J1YOQufcSyU&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/1847750552059346921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2021/12/selenium-interview-questions-on-textbox_2.html#comment-form' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/1847750552059346921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/1847750552059346921'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2021/12/selenium-interview-questions-on-textbox_2.html' title='Selenium Interview Questions on Textbox Part -2'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/J1YOQufcSyU/default.jpg" height="72" width="72"/><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-3158127564846062772</id><published>2021-12-01T22:04:00.000+05:30</published><updated>2021-12-01T22:04:00.145+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript executor"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascriptexecutor"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium Interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="sendKeys"/><category scheme="http://www.blogger.com/atom/ns#" term="textbox"/><title type='text'>Selenium Interview Questions on Textbox Part -1</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Selenium Interview Questions on Textbox&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1. How to type into a text box using selenium webdriver?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;We have different ways to type text into textbox/textfield or text area&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1. &lt;b&gt;Using sendkeys &lt;/b&gt;- driver.findElement(locator).sendKeys(&quot;text&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2. &lt;b&gt;Using JavascriptExecutor document.getElementById&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;JavascriptExecutor jse = (JavascriptExecutor)driver;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;jse.executeScript(&quot;document.getElementById(&#39;id&#39;).setAttribute(&#39;value&#39;,&#39;text&#39;)&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;3. &lt;b&gt;Using JavascriptExecutor arguments[0].value&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;jse.executeScript(&quot;arguments[0].value=&#39;enter the value here&#39;;&quot;, WebElement);&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;iframe frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://youtube.com/embed/H96hyLkrKHw&quot; style=&quot;background-image: url(https://i.ytimg.com/vi/H96hyLkrKHw/hqdefault.jpg);&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/3158127564846062772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2021/12/selenium-interview-questions-on-textbox.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3158127564846062772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3158127564846062772'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2021/12/selenium-interview-questions-on-textbox.html' title='Selenium Interview Questions on Textbox Part -1'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/H96hyLkrKHw/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-4582110958668473051</id><published>2020-10-27T14:09:00.002+05:30</published><updated>2020-10-27T14:09:26.692+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="exception"/><category scheme="http://www.blogger.com/atom/ns#" term="stale"/><category scheme="http://www.blogger.com/atom/ns#" term="staleelementexception"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>How to Handle Stale element reference exception in selenium webdriver</title><content type='html'>&lt;iframe width=&quot;480&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/R7-lSK19yzY&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/4582110958668473051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2020/10/how-to-handle-stale-element-reference.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/4582110958668473051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/4582110958668473051'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2020/10/how-to-handle-stale-element-reference.html' title='How to Handle Stale element reference exception in selenium webdriver'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/R7-lSK19yzY/default.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-8284978976569532575</id><published>2020-09-01T21:36:00.001+05:30</published><updated>2020-09-01T21:39:13.809+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="LocalFileDetector"/><category scheme="http://www.blogger.com/atom/ns#" term="node"/><category scheme="http://www.blogger.com/atom/ns#" term="remote webdriver"/><category scheme="http://www.blogger.com/atom/ns#" term="selenium"/><category scheme="http://www.blogger.com/atom/ns#" term="selenium grid"/><category scheme="http://www.blogger.com/atom/ns#" term="upload file"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><category scheme="http://www.blogger.com/atom/ns#" term="zalenium"/><title type='text'>Uploading Files in Remote WebDriver using LocalFileDetector</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/jSzvcLxqlJs&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/8284978976569532575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2020/09/uploading-files-in-remote-webdriver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8284978976569532575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8284978976569532575'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2020/09/uploading-files-in-remote-webdriver.html' title='Uploading Files in Remote WebDriver using LocalFileDetector'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/jSzvcLxqlJs/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-8422125898790514690</id><published>2020-01-11T18:54:00.000+05:30</published><updated>2020-01-11T19:09:15.832+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Edge"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Execute scripts on Edge Browser</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;In this post we will see how to execute webdriver scripts in EDGE Browser.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;For other browsers like google chrome and firefox we need to download corresponding exe files and need to set system path.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;If you are using latest version of edge i.e 18+ then the set up is little bit different.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Check Edge Version :&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Launch edge browser&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Right hand top corner you see 3 dots.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Click on 3 dots and click on Settings&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;At the end you can see browser information. Mine is Microsift Edge HTML 18.1863&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Download exe file:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Edge browser exe files are available in below path&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/#downloads&quot;&gt;https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/#downloads&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;If your edge version is less than 18 then straight away download corresponding exe file and in your webdriver script need to set the system property like below.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;iframe src=&quot;https://pastebin.com/embed_iframe/U9F3MvHk&quot; style=&quot;border: none; width: 100%;&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;If your edge version is 18 then need to perform belwo steps.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Below command should be executed in an elevated command prompt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Elevated command prompt is nothing but need to launch your command prompt as admin.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Once you execute the command it will download MicrosoftWebDriver.exe file under&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;C:\Windows\System32 folder.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Thats it...you can execute your scripts in Edge browser. no need to set up any path.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;Below is the sample code:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;iframe src=&quot;https://pastebin.com/embed_iframe/btvxWQZp&quot; style=&quot;border: none; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;base&amp;quot; , &amp;quot;segoe ui&amp;quot; , &amp;quot;segoe&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;lucida grande&amp;quot; , &amp;quot;lucida sans&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-family: &amp;quot;noto sans&amp;quot;; font-size: 15px;&quot;&gt;Video is available here:&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/FmfOb7YmaIc&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-family: &amp;quot;noto sans&amp;quot;; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/8422125898790514690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2020/01/execute-scripts-on-edge-browser.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8422125898790514690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8422125898790514690'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2020/01/execute-scripts-on-edge-browser.html' title='Execute scripts on Edge Browser'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/FmfOb7YmaIc/default.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-5913526942844542342</id><published>2018-10-02T20:20:00.000+05:30</published><updated>2018-10-02T21:10:00.177+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><category scheme="http://www.blogger.com/atom/ns#" term="WebdriverManager"/><title type='text'>Automatic download and management of Selenium WebDriver binaries (Driver.exe files)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;In this post we will see how to avoid downloading driver.exe file and setpath for browser binary.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;
As you guys already know in order to use chrome, firefox or edge browsers, first we need to download a binary file (driver.exe) and need to set path which allows Webdriver to handle browsers.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Below is example how to set path:&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;iframe src=&quot;https://pastebin.com/embed_iframe/R8dw7sSp&quot; style=&quot;border: none; width: 100%;&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;By adding a small dependency in your POM.xml (Assuming you are using maven project) we can avoid downloading binary files and set path.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #24292e; font-size: 16px;&quot;&gt;In addition, we have to check manually when new versions of the binaries are released. WebDriverManager will do this job for us automatically&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;/h2&gt;
&lt;script src=&quot;https://pastebin.com/embed_js/JDUHn2Zh&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;h2&gt;
How it works:&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;WebDriver Manager actually gets your browser version and download the compatible browser binary by itself to make you run your code without interruption.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;So now, rather than setting the browser binaries, you just need to add below line of code and you’re done&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;script src=&quot;https://pastebin.com/embed_js/ALuTwBRN&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #282828; font-size: 15px; font-stretch: inherit; line-height: inherit; margin-bottom: 15px; outline: 0px; padding: 0px; transition: all 0.1s ease-in-out 0s; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;The line WebDriverManager.chromedriver().setup(); WebDriverManager does magic for you&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #282828; font-size: 15px; font-stretch: inherit; line-height: inherit; margin-bottom: 15px; outline: 0px; padding: 0px; transition: all 0.1s ease-in-out 0s; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;It checks for the latest version of the WebDriver binary.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;It downloads the WebDriver binary if it’s not present on your system.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;It exports the required WebDriver Java environment variables needed by Selenium&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;By default downloaded binary files (driver.exe) files will be stored in .m2 folder. By using below commands you can get the downloaded version and path of binary file.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;script src=&quot;https://pastebin.com/embed_js/r9vUVazG&quot;&gt;&lt;/script&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-family: &amp;quot;noto sans&amp;quot;; font-size: 15px;&quot;&gt;Below is sample code:&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-family: &amp;quot;noto sans&amp;quot;; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;script src=&quot;https://pastebin.com/embed_js/TTstWGwE&quot;&gt;&lt;/script&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-family: &amp;quot;noto sans&amp;quot;; font-size: 15px;&quot;&gt;Video is available here:&lt;/span&gt;&lt;/h2&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/dYuaBzQTTAw&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;span style=&quot;background-color: white; color: #282828; font-family: &amp;quot;noto sans&amp;quot;; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/5913526942844542342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2018/10/automatic-download-and-management-of.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/5913526942844542342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/5913526942844542342'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2018/10/automatic-download-and-management-of.html' title='Automatic download and management of Selenium WebDriver binaries (Driver.exe files)'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/dYuaBzQTTAw/default.jpg" height="72" width="72"/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-9096202785013755940</id><published>2017-01-18T15:10:00.002+05:30</published><updated>2017-01-18T17:39:49.379+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Git"/><category scheme="http://www.blogger.com/atom/ns#" term="GitHub"/><title type='text'>Git Installation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Git :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Git is a version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for software development,but it can be used to keep track of changes in any files. As a distributed revision control system it is aimed at speed,data integrity and support for distributed, non-linear workflows&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Steps to Install Git:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Download Latest Git installer &amp;nbsp;&lt;a href=&quot;https://git-for-windows.github.io/&quot;&gt;Git For Windows&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;While installing Git make sure you check 2 check boxes. GIT Bash and GIT GUI.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEiqTaaBlBqIFTrwdmjWHaMOS2LD_rs-j0BO-iafobEWikSjVryKp5r9ENGCB6_4tq2nTxaJK5CUmv7YQ0tfwAKF_QR_x2VZT6e7-95XtrUnQkwlMzsdMmU9x0Cm23EHK5UsJCE3qHarzUz4/s1600/Git.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;251&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqTaaBlBqIFTrwdmjWHaMOS2LD_rs-j0BO-iafobEWikSjVryKp5r9ENGCB6_4tq2nTxaJK5CUmv7YQ0tfwAKF_QR_x2VZT6e7-95XtrUnQkwlMzsdMmU9x0Cm23EHK5UsJCE3qHarzUz4/s320/Git.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When you&#39;ve successfully started the installer, you should see the Git Setup wizard screen. Follow the &lt;b&gt;Next &lt;/b&gt;and &lt;b&gt;Finish &lt;/b&gt;prompts to complete the installation.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;While installing keep default options that will be ok for most of the users.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once the installation is done if you search for git you will see Git Bash and GitGUI.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;GitBash:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the &quot;git&quot; command in LINUX and UNIX environments.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEjdSBcF01WiK7-JmiV64z7rqwdgUZLrO6KVhGm35rg83mBy-8kpXn-SJ9v5BpiwsUUCC0_pVNGB6aq8Bd_ij7hyphenhyphen8cghHroZlEJwFnB12KElg8bsihqVRMVEQmXw0bmyIpI9xDg-Xfsgc3bl/s1600/Bash.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 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/AVvXsEjdSBcF01WiK7-JmiV64z7rqwdgUZLrO6KVhGm35rg83mBy-8kpXn-SJ9v5BpiwsUUCC0_pVNGB6aq8Bd_ij7hyphenhyphen8cghHroZlEJwFnB12KElg8bsihqVRMVEQmXw0bmyIpI9xDg-Xfsgc3bl/s320/Bash.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;GitGUI:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command line function, as well as comprehensive visual diff tools.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEiILAlfaH13ExvBTmTBC9j9aPX8aItBWOOlQvKKxS22nEX4nDO8RAUWhgkZLeGGGn5WdkSo5yDJjSOMThtsYpxAoSyN8cl1m9iM1pcGDalzEyyZ3sUywt8hCp7lelqqcswOMyr221wvaanc/s1600/GUI.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiILAlfaH13ExvBTmTBC9j9aPX8aItBWOOlQvKKxS22nEX4nDO8RAUWhgkZLeGGGn5WdkSo5yDJjSOMThtsYpxAoSyN8cl1m9iM1pcGDalzEyyZ3sUywt8hCp7lelqqcswOMyr221wvaanc/s1600/GUI.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Shell Integration:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Simply right-click on a folder in Windows Explorer to access the BASH or GUI.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEinKVSmBV43fii0a1PObyPbu7hQcDhuHZAvJEwUkVRkhGRhHVIdZWYk-3-UMR1xSpK_MZNxoIcDXVbOV0J_vt_EFAkSy17pt1BQQwaNZns-VRE8CXYaF8ZzCe6b26lPlRakZARZL-OQBEcq/s1600/GitGui.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinKVSmBV43fii0a1PObyPbu7hQcDhuHZAvJEwUkVRkhGRhHVIdZWYk-3-UMR1xSpK_MZNxoIcDXVbOV0J_vt_EFAkSy17pt1BQQwaNZns-VRE8CXYaF8ZzCe6b26lPlRakZARZL-OQBEcq/s320/GitGui.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Next Post on Create Repository and Clone it to Local Machine.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://create%20repo%20using%20github/&quot;&gt;Create Repo Using GitHub&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/9096202785013755940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2017/01/git-installation.html#comment-form' title='102 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/9096202785013755940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/9096202785013755940'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2017/01/git-installation.html' title='Git Installation'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqTaaBlBqIFTrwdmjWHaMOS2LD_rs-j0BO-iafobEWikSjVryKp5r9ENGCB6_4tq2nTxaJK5CUmv7YQ0tfwAKF_QR_x2VZT6e7-95XtrUnQkwlMzsdMmU9x0Cm23EHK5UsJCE3qHarzUz4/s72-c/Git.jpg" height="72" width="72"/><thr:total>102</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-3791190408529764199</id><published>2017-01-18T14:38:00.000+05:30</published><updated>2017-01-18T15:11:02.836+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Git"/><category scheme="http://www.blogger.com/atom/ns#" term="GitHub"/><title type='text'>Git and GitHub</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;In this article I will discuss about Git and GitHub.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;First question comes in everybody&#39;s mind, what is Git and what is GitHub. Both are same or different?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;GIT:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Below is the definition from GIT official site.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;(&lt;a href=&quot;https://git-scm.com/&quot;&gt;https://git-scm.com/&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #f0efe7; color: #4e443c; font-size: 18px;&quot;&gt;Git is a&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://git-scm.com/about/free-and-open-source&quot; style=&quot;background-color: #f0efe7; color: #0388a6; font-size: 18px; text-decoration: none; transition-duration: 0.3s; transition-property: color;&quot;&gt;free and open source&lt;/a&gt;&lt;span style=&quot;background-color: #f0efe7; color: #4e443c; font-size: 18px;&quot;&gt;&amp;nbsp;distributed version control system designed to handle everything from small to very large projects with speed and efficiency&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f0efe7; color: #4e443c; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #f0efe7; color: #4e443c; font-size: 18px;&quot;&gt;Git is a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #f0efe7; color: #4e443c; font-size: 18px;&quot;&gt;distributed version control system.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f0efe7; color: #4e443c; font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #555555; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;There are two types of &amp;nbsp;version control systems out there. “centralized” and “distributed”.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Centralized&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #383838; font-size: 18px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;A single place everyone can check in and check out. &amp;nbsp;Example :&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fcfcfa; color: #4e443c; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;CVS, Subversion, and Perforce&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Distributed&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #555555; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #383838; font-size: 18px;&quot;&gt;Every developer/user has their own repo. E&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #383838; font-size: 18px;&quot;&gt;veryone can push changes into a common repo. Example :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fcfcfa; color: #4e443c; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Git, Mercurial, Bazaar or Darcs&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fcfcfa; color: #4e443c; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fcfcfa; color: #4e443c; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fcfcfa; color: #4e443c; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;The below diagram show the core difference.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fcfcfa; color: #4e443c; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;img alt=&quot;SVN &amp;amp; Git - Git Actions&quot; src=&quot;http://blog.walty8.com/wp-content/uploads/2016/06/SVN-Git-Git-Actions-581x1024.png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;To know more or practice git commands&amp;nbsp;please see this link&amp;nbsp;&lt;a href=&quot;https://try.github.io/levels/1/challenges/1&quot;&gt;https://try.github.io/levels/1/challenges/1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;GitHub:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #545454;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Online project hosting using Git. It Includes source-code browser, in-line editing, wikis and ticketing. Free for public open-source code.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #545454;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 18px;&quot;&gt;GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333; font-size: 15px;&quot;&gt;GitHub is a&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-size: 15px;&quot;&gt;web-based&lt;/b&gt;&lt;span style=&quot;color: #333333; font-size: 15px;&quot;&gt;&amp;nbsp;Git repository&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-size: 15px;&quot;&gt;hosting service&lt;/b&gt;&lt;span style=&quot;color: #333333; font-size: 15px;&quot;&gt;, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333; font-size: 15px;&quot;&gt;Below are some of the advantages of GitHub:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;color: #333333; font-size: 15px; list-style-image: initial; list-style-position: initial; margin: 0px 2em 1em 0px; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px 0px 0px 2em; padding: 0px 0px 0.7em; position: relative;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Version control your projects&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0px 2em; padding: 0px 0px 0.7em; position: relative;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Push your projects to GitHub and let the world know how nice and useful code you write&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0px 2em; padding: 0px 0px 0.7em; position: relative;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Explore other’s projects on GitHub, get inspired code more, or contribute to their project&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0px 2em; padding: 0px 0px 0.7em; position: relative;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Collaborate with others, by letting other people contribute to your projects or you contributing to other’s projects&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Below are some posts related to Git and Github.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.testerinyou.com/2017/01/git-installation.html&quot; target=&quot;_blank&quot;&gt;Git Installation&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.testerinyou.com/2015/09/creating-github-repository-for-selenium.html&quot; target=&quot;_blank&quot;&gt;Create Repo Using GitHub&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;http://www.testerinyou.com/2015/09/creating-github-repository-for-selenium.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;How to use Git commands&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/3791190408529764199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2017/01/git-and-github.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3791190408529764199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3791190408529764199'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2017/01/git-and-github.html' title='Git and GitHub'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-8032200140489168506</id><published>2016-07-12T16:18:00.000+05:30</published><updated>2019-08-09T15:55:21.335+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Perfect Example for Handling Window,popup,Frame and Alerts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;In this post i will explain about how to handle&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Multiple windows&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Popups&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Tabs&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Frames&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Alerts&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;and how to write customized functions, instead of duplicating the webdriver code.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Here is one example to switchToChildWindow()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;This method is useful to switch to new window/tab/popup if you have only 2 windows/tabs/popup then you can use below customized function.&lt;/span&gt;&lt;/div&gt;
&lt;script src=&quot;//pastebin.com/embed_js/Kq8aXbgx&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;In the below example i wrote different functions&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;isElepresent(By locator) --&amp;nbsp;Verify if the element is present or not&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;selectByText(By locator, String visibleText)&amp;nbsp;select a value from dropdown&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;switchToChildWindow() ---Switch to &amp;nbsp;child window. If there are only two windows.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;switchToWindowByTitle(String title) &amp;nbsp;---Switch to child window. Use this if title of the pages are unique.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;switchToFrame(WebElement locator) &amp;nbsp;--switch to frame by locating the frame.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Scenario: which has all multiple windows/tabs/popups/alerts/frames etc...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Open&amp;nbsp;http://www.hdfcbank.com/&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Close the Ad window if that is visible&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Click on Agri Link --which will open new window/tab&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Select &quot;Telugu&quot; from dropdown&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Handle the alert&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Select &quot;English&quot; from dropdown&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Click on Account Details --which will open new window/tab&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;In the new window, enter customer ID --&quot;test&quot; (Actually this text box is in frame)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Click on Privacy Policy link (Actually this link is in another frame) --which opens new window/tab/popup&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Click on CSR link on Privacy Policy page.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Now come back to Main window (Parent window)&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Click on Customer Care.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Below is the code:&lt;/span&gt;&lt;/div&gt;
&lt;script src=&quot;//pastebin.com/embed_js/9KTsjQtn&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/8032200140489168506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2016/07/perfect-example-for-handling.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8032200140489168506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8032200140489168506'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2016/07/perfect-example-for-handling.html' title='Perfect Example for Handling Window,popup,Frame and Alerts'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-7681864281001737749</id><published>2016-06-13T17:27:00.000+05:30</published><updated>2016-06-13T17:27:25.509+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="events"/><category scheme="http://www.blogger.com/atom/ns#" term="onchange"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="TestNG"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Handling OnChange events using Selenium webdriver and Java script</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;In this post I will discuss about onchange events.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;What is onchange event?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;The onchange event occurs when the value of an element has been changed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;For radiobuttons and checkboxes, the onchange event occurs when the checked state has been changed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;nobr style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;code&gt;onChange&lt;/code&gt;&lt;/nobr&gt;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;specifies script code to run when the data in the input field changes.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 21px;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;nobr style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;code&gt;onChange&lt;/code&gt;&lt;/nobr&gt;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;event is triggered when the contents of the field changes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;In this example if you type some thing in Quantity filed and click on anywhere on the page it will&amp;nbsp;automatically&amp;nbsp;update&amp;nbsp;Total.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/AVvXsEgxMikextJ3vXJMw9a69rXIJlRqcZSzsCr4R20PfE3oH8Oswa0PmvB_M1kT46WkkDIju7fiZ7uiMhfACTQGmuU7sin6RKh2eQLVhhkcz9DEA22pFPZTYkz4oCAeWPzdTOWflvp3Jngkcwc6/s1600/onchange.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;106&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxMikextJ3vXJMw9a69rXIJlRqcZSzsCr4R20PfE3oH8Oswa0PmvB_M1kT46WkkDIju7fiZ7uiMhfACTQGmuU7sin6RKh2eQLVhhkcz9DEA22pFPZTYkz4oCAeWPzdTOWflvp3Jngkcwc6/s320/onchange.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;We can handle onchange events in different ways.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;1. After entering quantity we can simulate clicking TAB button. But this is approach will not work always.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;2. By using Java script we can trigger onchange event.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Using Java script to trigger onchange event...&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;((JavascriptExecutor)driver).executeScript(&quot;arguments[0].&lt;b&gt;onchange&lt;/b&gt;()&quot;, driver.findElement(By.name(&quot;vn_qty&quot;)));&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Below is the sample script.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;script src=&quot;//pastebin.com/embed_js/1YbLtgmV&quot;&gt;&lt;/script&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;pt sans&amp;quot; , &amp;quot;helveticaneue&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/7681864281001737749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2016/06/handling-onchange-events-using-selenium.html#comment-form' title='75 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7681864281001737749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7681864281001737749'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2016/06/handling-onchange-events-using-selenium.html' title='Handling OnChange events using Selenium webdriver and Java script'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxMikextJ3vXJMw9a69rXIJlRqcZSzsCr4R20PfE3oH8Oswa0PmvB_M1kT46WkkDIju7fiZ7uiMhfACTQGmuU7sin6RKh2eQLVhhkcz9DEA22pFPZTYkz4oCAeWPzdTOWflvp3Jngkcwc6/s72-c/onchange.jpg" height="72" width="72"/><thr:total>75</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-3475517946632651980</id><published>2016-03-03T13:40:00.000+05:30</published><updated>2019-08-09T15:55:21.327+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Advanced Xpath"/><category scheme="http://www.blogger.com/atom/ns#" term="Locating Elements"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><category scheme="http://www.blogger.com/atom/ns#" term="Xpath"/><title type='text'>Advanced Xpath with Examples</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Here i am going to discuss about advanced usage of xpaths..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;I will provide examples how to use xpath Axes.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 18pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 18pt;&quot;&gt;Descendants&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 16.9pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt;&quot;&gt;A node&#39;s children, children&#39;s children, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt; line-height: 115%;&quot;&gt;In the following example; descendants of the form element are the
div, title, author, year, and price elements&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;Harry Potter&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;/title&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;author&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;J K. Rowling&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;/author&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;year&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;2005&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;/year&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;price&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;29.99&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;/price&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;/div&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;consolas&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: brown; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;/form&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;consolas&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt; line-height: 115%;&quot;&gt;Here is Example:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/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/AVvXsEjGgyzqBFzTMeZJonp_vOfyH33mux76xqfsJu96yX4X_9eWuu7yzqJDs_NsVXUVPGTNGnna1T_fuGrLHJn-GLeFHyo1zUK-EV7lrq6lZ4MjMEhVMWNI1usI8Pj0it6wWw_K4v82Lmy0gojF/s1600/descendant.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGgyzqBFzTMeZJonp_vOfyH33mux76xqfsJu96yX4X_9eWuu7yzqJDs_NsVXUVPGTNGnna1T_fuGrLHJn-GLeFHyo1zUK-EV7lrq6lZ4MjMEhVMWNI1usI8Pj0it6wWw_K4v82Lmy0gojF/s320/descendant.jpg&quot; width=&quot;316&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 11.5pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;If you want to find descendants of Div tag you need to use below syntax&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;//div[@id=&#39;browse-category&#39;]/descendant::*&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;If you want a specific element from descendants then use below syntax&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: magenta; font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;Here i want to identify Payment link using descendant.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;//div[@id=&#39;browse-category&#39;]/descendant::a[@data-category=&#39;Payment&#39;]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;In the above example descendant will search for child elements and child&#39;s child elements as well.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;UL is the child element for DIV and LI is the child element for UL and A is child element for LI. As we used descendant it will check for the matching element.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15.3333px; line-height: 17.6333px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 24px;&quot;&gt;Following:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Selects
everything in the document after the closing tag of the current nod&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%;&quot;&gt;e.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 14.6667px; line-height: 16.8667px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;selects all elements after closing tag of P&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 14.6667px; line-height: 16.8667px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 14.6667px; line-height: 16.8667px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//p[@class=&#39;fk-font-14&#39;]/following::*&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px; line-height: 16.8667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/AVvXsEi6X2xFryBUBo1XU4XVN7zsi4t64Cp-iub_S47nPFsCV-_YZFPKnWTGZwys5HAIQHFfarI7-1eMh6uB-bnVs7gdZ6LHNIP67MxLlxBrg5U-vCKJueU7PnWLdebDRo6qoXLldyqvWMjFMA1q/s1600/following.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 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/AVvXsEi6X2xFryBUBo1XU4XVN7zsi4t64Cp-iub_S47nPFsCV-_YZFPKnWTGZwys5HAIQHFfarI7-1eMh6uB-bnVs7gdZ6LHNIP67MxLlxBrg5U-vCKJueU7PnWLdebDRo6qoXLldyqvWMjFMA1q/s320/following.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;if you want a specific element using following below is the example&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//p[@class=&#39;fk-font-14&#39;]/following::div[@id=&#39;fk-mainfooter-id&#39;]&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px; line-height: 16.8667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px; line-height: 16.8667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 24px;&quot;&gt;Following-sibling:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Selects
all siblings after the current node&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; line-height: 16.8667px;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//div[@id=&#39;browse-category&#39;]/ul/li/following-sibling::*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;if you want a specific element then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//form[@class=&#39;faqsearchform&#39;]/following-sibling::div&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEg7ZPx-7B1OSJ3dL1zLvF2tLyzRj7VJmfJcXkRLyEQBsacZo1-QkeJhISRmHJaWCjTX5VaOL1P8jIDUJbhAhe-DOZDcDiOQbz7rC0I1wNeDgY-31TIrJHpzV7c1rgQZNm8qsrtzQb8wA4kH/s1600/following-sibling.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7ZPx-7B1OSJ3dL1zLvF2tLyzRj7VJmfJcXkRLyEQBsacZo1-QkeJhISRmHJaWCjTX5VaOL1P8jIDUJbhAhe-DOZDcDiOQbz7rC0I1wNeDgY-31TIrJHpzV7c1rgQZNm8qsrtzQb8wA4kH/s320/following-sibling.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Preceding&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Selects all nodes that appear before the current node in the document, except ancestors, attribute nodes and namespace nodes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;preceding-sibling&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Selects all siblings before the current node&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Here is the example:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//div[@id=&#39;browse-category&#39;]/preceding-sibling::form&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEiaylWKYZB1RCplsi8C4Cjv1bOmP23C42eXOh5BBq01Pen_4I7BHk8Kn_eLrwcNxZxcjSCEWFojdULp_SxzBeeqRKRBXv5KCA68mQilRZxcdUcu08FPXjPIH1J94Q5cd3NV_H1FpjoLh9wN/s1600/preceding.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaylWKYZB1RCplsi8C4Cjv1bOmP23C42eXOh5BBq01Pen_4I7BHk8Kn_eLrwcNxZxcjSCEWFojdULp_SxzBeeqRKRBXv5KCA68mQilRZxcdUcu08FPXjPIH1J94Q5cd3NV_H1FpjoLh9wN/s320/preceding.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Now Lets see a real time example how to use the above mentioned xpath Axes:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Below is scenario:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Navigate to flipkart&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;add two products to cart&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;I want to remove one product based on its name.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEhXNL1PiLpX5UPkXOD7-hBxHptTuoGKQa0miqy0Fqn_LaLecqUfbKIuFSsGZkWb_RbzeA8yKxsk4MOgpaifusxYIFpGtT3txgF9LdMWfIIK6rkMCQ9H0EmYAIupTa2K60bG8aE_QpLGBKo1/s1600/Remove.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;263&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXNL1PiLpX5UPkXOD7-hBxHptTuoGKQa0miqy0Fqn_LaLecqUfbKIuFSsGZkWb_RbzeA8yKxsk4MOgpaifusxYIFpGtT3txgF9LdMWfIIK6rkMCQ9H0EmYAIupTa2K60bG8aE_QpLGBKo1/s320/Remove.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Simple xpath without using product name ---&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;//a[@class=&#39;cart-remove-item fk-inline-block fk-uppercase&#39;] but it always identifies first Remove button&lt;/span&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;First Step: I will identify xpath for product Name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//span[text()=&#39;HP 15-af114AU Notebook(AMD Quad Core A8/ 4GB/...&#39;]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;From there&amp;nbsp;onward&amp;nbsp;using xpath Axes i need to identify Remove link.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;By loooking at DOM we can understand that there are two TR tags&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;in one TR --we have product details and in another TR we have remove link.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;so i have to traverse to second TR.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Second Step: Inorder to do that i need to traverse to parent element of span&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//span[text()=&#39;HP 15-af114AU Notebook(AMD Quad Core A8/ 4GB/...&#39;]/ancestor::tr[1]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Third Step: from there traverse to sibling of TR&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//span[text()=&#39;HP 15-af114AU Notebook(AMD Quad Core A8/ 4GB/...&#39;]/ancestor::tr[1]/following-sibling::tr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: magenta; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Fourth Step: From there traverse to tag A which has link text of Remove..here is the final xpath&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;//span[text()=&#39;HP 15-af114AU Notebook(AMD Quad Core A8/ 4GB/...&#39;]/ancestor::tr[1]/following-sibling::tr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;/descendant::a[text()=&#39;Remove&#39;]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkS4f0OTfvjWLAY4BrO4mugiI7lPV2AtUFrVfcc05yBH980UPWWplKrdTeiD5KNQ4yN1qs3xMb6ZY5H_ypQkPBRBWVW3fij5DWB5Lg3bmZQjpGV3locWDTaMrYyXTtxgE25-2KWIXZSCSI/s1600/Example.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkS4f0OTfvjWLAY4BrO4mugiI7lPV2AtUFrVfcc05yBH980UPWWplKrdTeiD5KNQ4yN1qs3xMb6ZY5H_ypQkPBRBWVW3fij5DWB5Lg3bmZQjpGV3locWDTaMrYyXTtxgE25-2KWIXZSCSI/s320/Example.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Hope this is useful in writing advanced xpaths....if you have any questions please do comment and I will be happy to help in you in writing xpaths..&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/3475517946632651980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2016/03/advanced-xpath-with-example.html#comment-form' title='64 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3475517946632651980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3475517946632651980'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2016/03/advanced-xpath-with-example.html' title='Advanced Xpath with Examples'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGgyzqBFzTMeZJonp_vOfyH33mux76xqfsJu96yX4X_9eWuu7yzqJDs_NsVXUVPGTNGnna1T_fuGrLHJn-GLeFHyo1zUK-EV7lrq6lZ4MjMEhVMWNI1usI8Pj0it6wWw_K4v82Lmy0gojF/s72-c/descendant.jpg" height="72" width="72"/><thr:total>64</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-7577291271266417838</id><published>2015-10-30T12:48:00.000+05:30</published><updated>2015-10-30T12:48:08.194+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium Basics"/><title type='text'>Run selenium tests in Chrome and IE browser</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How to run the selenium test scripts in Chrome/IE browser ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To run the selenium test cases in Chrome/IE browser is necessary and need of today&#39;s web world as Chrome being the one of the best and most widely used web browser.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Selenium by default supports only&amp;nbsp;Mozilla&amp;nbsp;Firefox&amp;nbsp;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;To run your tests in Chrome browser&amp;nbsp;please do the following set-up.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Download chrome browser related jar file from &lt;a href=&quot;http://chromedriver.storage.googleapis.com/index.html?path=2.20/&quot; target=&quot;_blank&quot;&gt;he&lt;span id=&quot;goog_1711524951&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1711524952&quot;&gt;&lt;/span&gt;re&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Set the System configuration by adding the following code.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;System.setProperty(&quot;webdriver.chrome.driver&quot;, &quot;Path to chrome related jar file downloaded in step 1&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;WebDriver driver = new ChromeDriver();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;To run the test in Internet explorer.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Download IE browser related jar file from &lt;a href=&quot;http://selenium-release.storage.googleapis.com/2.48/IEDriverServer_x64_2.48.0.zip&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Set the System configuration by adding the following code.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;System.setProperty(&quot;webdriver.ie.driver&quot;, &quot;C:\\Users\\ajain5\\Downloads\\IEDriverServer.exe&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;WebDriver driver = new InternetExplorerDriver();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&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/AVvXsEgy9i9EPTP1Z5DYm9c8bXrZyfym-iWhJFG82iJ0nLD9kLWlponoYcrbO10OynAkgXwFwbgEGz2mfCG-RMOf-K9Dgzydv0FQOCQLES5BgNRnVNBxkNHWwaIeMfxMLXD7Ypu-OlExLjf4F1fo/s1600/IE.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy9i9EPTP1Z5DYm9c8bXrZyfym-iWhJFG82iJ0nLD9kLWlponoYcrbO10OynAkgXwFwbgEGz2mfCG-RMOf-K9Dgzydv0FQOCQLES5BgNRnVNBxkNHWwaIeMfxMLXD7Ypu-OlExLjf4F1fo/s1600/IE.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/7577291271266417838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/10/run-selenium-tests-in-chrome-and-ie.html#comment-form' title='27 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7577291271266417838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7577291271266417838'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/10/run-selenium-tests-in-chrome-and-ie.html' title='Run selenium tests in Chrome and IE browser'/><author><name>Akash Jain</name><uri>http://www.blogger.com/profile/13815860266548197809</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qNDFoef80FJQVIy1o19M0FBbVf2klq_N92ZwwqKKqDS3RX-xsGQsz6aGvTwzMot1oSmShE8CU674JwfOfEwJii7gX55wapzr72P8w35b6xUGkGRGnOP2bXoM42HlRw/s220/download.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy9i9EPTP1Z5DYm9c8bXrZyfym-iWhJFG82iJ0nLD9kLWlponoYcrbO10OynAkgXwFwbgEGz2mfCG-RMOf-K9Dgzydv0FQOCQLES5BgNRnVNBxkNHWwaIeMfxMLXD7Ypu-OlExLjf4F1fo/s72-c/IE.png" height="72" width="72"/><thr:total>27</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-8943572077295926024</id><published>2015-10-20T18:53:00.000+05:30</published><updated>2019-08-09T15:55:21.339+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic Authentication"/><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Handling Basic Authentication Using Webdriver</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here is post which explains you how to handle basic authentication.&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
&lt;br /&gt;
Some of the applications that are secured with Basic Authentication. If you want to access those applications first you need to pass credentials. Those applications will launch a system level pop-up which cant not be handled by selenium.&lt;br /&gt;
&lt;br /&gt;
IF you access below url it will ask for authentication.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://the-internet.herokuapp.com/basic_auth&quot;&gt;http://the-internet.herokuapp.com/basic_auth&lt;/a&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/AVvXsEjL58X4jNz8kxBZtnegtMB3F286UAtpvHdt9XM2WIezHNZabqsBmlAJrFVMfUarzFaqTtp0BL0a73VwBvE8KQqURfxqUCrHnLPiWhtHEjMEoWOiGHKnu2wheyNArB8nXa90dwTXpjheEh_5/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL58X4jNz8kxBZtnegtMB3F286UAtpvHdt9XM2WIezHNZabqsBmlAJrFVMfUarzFaqTtp0BL0a73VwBvE8KQqURfxqUCrHnLPiWhtHEjMEoWOiGHKnu2wheyNArB8nXa90dwTXpjheEh_5/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
By specifying userName and password in URL when accessing the page we can avoid system level dialog. This approach will work for HTTP and HTTPS pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reference:&amp;nbsp;&lt;a href=&quot;http://elementalselenium.com/tips/13-work-with-basic-auth&quot; target=&quot;_blank&quot;&gt;http://elementalselenium.com/tips/13-work-with-basic-auth&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=vMXT0nd1&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/8943572077295926024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/10/handling-basic-authentication-using.html#comment-form' title='20 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8943572077295926024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8943572077295926024'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/10/handling-basic-authentication-using.html' title='Handling Basic Authentication Using Webdriver'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL58X4jNz8kxBZtnegtMB3F286UAtpvHdt9XM2WIezHNZabqsBmlAJrFVMfUarzFaqTtp0BL0a73VwBvE8KQqURfxqUCrHnLPiWhtHEjMEoWOiGHKnu2wheyNArB8nXa90dwTXpjheEh_5/s72-c/1.jpg" height="72" width="72"/><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-7411673273752391024</id><published>2015-10-08T17:30:00.000+05:30</published><updated>2015-10-08T17:30:01.547+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jenkins"/><category scheme="http://www.blogger.com/atom/ns#" term="Maven"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="TestNG"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Selenium Integration With Jenkins</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this post i am going to explain how to integrate with continuous integration tool Jenkins..&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Prerequisites&lt;/b&gt;:&lt;br /&gt;
Here i am trying to run Maven project scripts so&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Maven Project with TestNG (you can go through this post &amp;nbsp;&lt;a href=&quot;http://www.testerinyou.com/2015/08/create-sample-maven-project.html&quot; target=&quot;_blank&quot;&gt;create-sample-maven-project.html&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;and few webdriver scripts&lt;/li&gt;
&lt;li&gt;Downlaod Maven Project from Here....&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;Download Jenkins&lt;/b&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Navigate ti&amp;nbsp;&lt;a href=&quot;http://jenkins-ci.org/&quot; target=&quot;_blank&quot;&gt;http://jenkins-ci.org/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
2. Download .war file&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/AVvXsEjLQ1sq6fZsOGyy0yOanJtN0U612HSizGx5GKpIBrjoqd9oD4rhDiC0e9d_pONyojvQPVHcj9_DwAuRAI7MfEY2sjS0P06XU-cjLMvOhKAECF0tzK3hn0Umu8hQy9kkoAvLsG5WbuNkSgrD/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLQ1sq6fZsOGyy0yOanJtN0U612HSizGx5GKpIBrjoqd9oD4rhDiC0e9d_pONyojvQPVHcj9_DwAuRAI7MfEY2sjS0P06XU-cjLMvOhKAECF0tzK3hn0Umu8hQy9kkoAvLsG5WbuNkSgrD/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3. Save the jenkins.war file in any of the location, you need to run this Jenkins.war file.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Set Up Jenkins:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Navigate to folder where you kept your jenkis.war&lt;/div&gt;
&lt;div&gt;
2. type command java -jar jenkins.war and press Enter&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/AVvXsEiI077YCsvwp3B6e7a9_vNoiv7NJ7HwfxBVwJ30YQFfTIXanUji2xwqafr3BRuMnNcxsmpk441m3K7U_xU7rZR2qYZOQfRu2_YSP1lw-zvqqF7CXEqWZYhSmOJrtVzk7b4uUQx001L6pwvn/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI077YCsvwp3B6e7a9_vNoiv7NJ7HwfxBVwJ30YQFfTIXanUji2xwqafr3BRuMnNcxsmpk441m3K7U_xU7rZR2qYZOQfRu2_YSP1lw-zvqqF7CXEqWZYhSmOJrtVzk7b4uUQx001L6pwvn/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3. Will take some time to extract Jenkins, then you will get a success message.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
4. By default Jenkins will start in port number 8080&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
5. For Jenkins UI use this URL in browser&amp;nbsp;&lt;a href=&quot;http://localhost:8080/&quot; target=&quot;_blank&quot;&gt;http://localhost:8080/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;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/AVvXsEi2lxlbshJtM1THK7rtT6Q4Q2LhsdrjvLVGlzI6YUNmsKrNVg-KLd-K60x3_sQtYIZfaNOPgqrFcw6q6kBWvrM99QaLmyDzstvY6LC6emvLsdRB3yuhhF96PGzIcNs1FXB5D7daQNdQiOe3/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;143&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2lxlbshJtM1THK7rtT6Q4Q2LhsdrjvLVGlzI6YUNmsKrNVg-KLd-K60x3_sQtYIZfaNOPgqrFcw6q6kBWvrM99QaLmyDzstvY6LC6emvLsdRB3yuhhF96PGzIcNs1FXB5D7daQNdQiOe3/s320/3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Configure Jenkins:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Before creating any Jenkins job we need to perform some configuration steps.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
1. Click on Manage Jenkins link on the left side of the page&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
2. Click on Configure System.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3.&amp;nbsp;&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Navigate to JDK section and Click on Add JDK button&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Uncheck Install automatically check box so Jenkins will only take java which we have mention above&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Give the name as JAVA_HOME and Specify the JDK path&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGtM5lfpoymnEx3CW7AHJ0oUYggT2hGXEgC6sdeT6TjwrsDVb3n_F9vwUS9rAO1ojHGEV_OFpnuoy2XrZj5azPjfP5cD2uhFbP4WAxxnEQUjkjI7rMqpLlwtej7QSNHWngu0OMUzBP4UVF/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;104&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGtM5lfpoymnEx3CW7AHJ0oUYggT2hGXEgC6sdeT6TjwrsDVb3n_F9vwUS9rAO1ojHGEV_OFpnuoy2XrZj5azPjfP5cD2uhFbP4WAxxnEQUjkjI7rMqpLlwtej7QSNHWngu0OMUzBP4UVF/s320/4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
6. Add Maven. IF you already not downloaded maven, get it from here&amp;nbsp;&lt;a href=&quot;https://maven.apache.org/download.cgi&quot; target=&quot;_blank&quot;&gt;Download Maven&lt;/a&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/AVvXsEivlMCiK64hU6TNnXGiJ5IBuurQPqrWa70YUnzd-8_6q95DMFhivyW0ZqIRazSF3l3pOnhYXDkyoDW7FZweYFY0Ya4j-0bpzYwQboDw7qrDuhKnDRH9PoRp6J0tMstR2n6QjLqqCJKqIUl5/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;145&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivlMCiK64hU6TNnXGiJ5IBuurQPqrWa70YUnzd-8_6q95DMFhivyW0ZqIRazSF3l3pOnhYXDkyoDW7FZweYFY0Ya4j-0bpzYwQboDw7qrDuhKnDRH9PoRp6J0tMstR2n6QjLqqCJKqIUl5/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
6. Click on Save button.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Create Jenkins Job:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
1. Click on create new Jobs.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
2. Enter Job description and select Maven Project&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3. Go to Build section and Enter path of POM.xml in ROOT POM text box.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
4. Click apply and Save,&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;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/AVvXsEiclETz4SR32EMuFDtOQ6Ie01X9Sdxnv1UAXa876wDpn4HYNwPrEXko7h1oww4wW6G5WkO8S6PI94z_dCZAf3CRVfesJCCIa9qENdR9vD1CN6g-sZEWUlvjLJiq_NqvoNMAiXO1EpiV4zbw/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;133&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiclETz4SR32EMuFDtOQ6Ie01X9Sdxnv1UAXa876wDpn4HYNwPrEXko7h1oww4wW6G5WkO8S6PI94z_dCZAf3CRVfesJCCIa9qENdR9vD1CN6g-sZEWUlvjLJiq_NqvoNMAiXO1EpiV4zbw/s320/6.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Run Job:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Navigate to Home page of Jenkins, there you can see new Job is created. Click on Build now symbol&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/AVvXsEi8T2U4WsadwUksbaTW4ELHcIPbjzyIE3k6sduJuwMLrH8FocLjCgjklrGbzerDirGzSU6EDjnvJw1tIAw4sSUQgWcosHxzOOjEb7v2u_FeI5zZ5ZIDvW4esga9lkuYbwZgewxfDFv96Bkl/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;90&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8T2U4WsadwUksbaTW4ELHcIPbjzyIE3k6sduJuwMLrH8FocLjCgjklrGbzerDirGzSU6EDjnvJw1tIAw4sSUQgWcosHxzOOjEb7v2u_FeI5zZ5ZIDvW4esga9lkuYbwZgewxfDFv96Bkl/s320/7.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;Maven will build the project. It will then have TestNG execute the test cases&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;Once the build process is completed, in Jenkins Dashboard click on the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;Job1&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;&amp;nbsp;project&lt;/span&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/AVvXsEgYMzy11UpH02d-lVfqVy_kWHK5NMI6jg3wWu1nZNZhyDeWaL12p9uJkPf2kqBrF18XRdvGcGCpUypozaDfcGUU0fs_jUZrsV8Y1JBjF6XBCcY25MJfXSeRm60HqhVBru4UaVrPJWYqTe6p/s1600/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;111&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYMzy11UpH02d-lVfqVy_kWHK5NMI6jg3wWu1nZNZhyDeWaL12p9uJkPf2kqBrF18XRdvGcGCpUypozaDfcGUU0fs_jUZrsV8Y1JBjF6XBCcY25MJfXSeRm60HqhVBru4UaVrPJWYqTe6p/s320/8.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/7411673273752391024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/10/selenium-integration-with-jenkins.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7411673273752391024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7411673273752391024'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/10/selenium-integration-with-jenkins.html' title='Selenium Integration With Jenkins'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLQ1sq6fZsOGyy0yOanJtN0U612HSizGx5GKpIBrjoqd9oD4rhDiC0e9d_pONyojvQPVHcj9_DwAuRAI7MfEY2sjS0P06XU-cjLMvOhKAECF0tzK3hn0Umu8hQy9kkoAvLsG5WbuNkSgrD/s72-c/1.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-3892644298905404663</id><published>2015-10-07T19:42:00.000+05:30</published><updated>2015-10-07T19:45:01.953+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="log4J"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Log4J Configuration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this post i will discuss about Log4J and Log files.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Log file is just simple file, which keep track of the record or event or info when any event happens or any software run. This whole process known as logging. We can create log file as simple log file.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;b&gt;Why Log file is required:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;We can create log file for our simple script also so we can track or debug our script easily if anything goes wrong in script. For example, if our script is failing at some point then we can track back what went wrong&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;What is log4J&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Log4j is free open source tool &amp;nbsp;for creating log files It help us to generate log file.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px;&quot;&gt;Log4j is very lightweight and simple logging framework, comprising of three main components&lt;/span&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Loggers&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Appenders&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Layouts&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;
&lt;strong style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download Log4J jar file.&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1. Navigate to&amp;nbsp;&lt;a href=&quot;http://mvnrepository.com/&quot;&gt;http://mvnrepository.com/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2. Search for Log4J&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3. Download latest version of log4J&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/AVvXsEicggD4ykpjoBKlteQ18d3Z2710vaZJ_boN9hukrump-H5RTzTEkaJfpYtLHfpXj6YZJ3ZEvjaW0eeqemDTz_wcs3SxI5NoUlrb03Rcx9CJP-SNTvrfWbPpBQaTOjuEFxcbENHaT2C07JTQ/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicggD4ykpjoBKlteQ18d3Z2710vaZJ_boN9hukrump-H5RTzTEkaJfpYtLHfpXj6YZJ3ZEvjaW0eeqemDTz_wcs3SxI5NoUlrb03Rcx9CJP-SNTvrfWbPpBQaTOjuEFxcbENHaT2C07JTQ/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Create a sample Java project and add log4J. jar file to 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/AVvXsEhri4nLZBXILThcrkQOV5FBZj3CzrBacsfGAAaiza_PuklIuopUdV83uHDJ32_Htf3fhe-w1WM-LDqkyUfjWM4QZVbBxx6FZnC1Pox8ns047Zcoaz9CADSQ_fKL5oSt3op8nIsPGlVGL2sJ/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhri4nLZBXILThcrkQOV5FBZj3CzrBacsfGAAaiza_PuklIuopUdV83uHDJ32_Htf3fhe-w1WM-LDqkyUfjWM4QZVbBxx6FZnC1Pox8ns047Zcoaz9CADSQ_fKL5oSt3op8nIsPGlVGL2sJ/s1600/2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Create a properties file&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Right click on Project --New --File&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
give a name &lt;b&gt;log4j.properties&lt;/b&gt;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
and add below code in that file&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=DQnM7pyb&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;Create a Class file with below log levels:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;logger.debug(&quot;Sample debug message&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;logger.info(&quot;Sample info message&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;logger.warn(&quot;Sample warn message&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;logger.error(&quot;Sample error message&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;logger.fatal(&quot;Sample fatal message&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;Below is the sample code:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=K3rA6Kzj&quot;&gt;&lt;/script&gt;

&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;After executing test you can see logs in log4j.log file and in console as well.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/AVvXsEiGNNjdQaFlg_ttKhgf3qeN_uQBcmTgGWQ8xHX0aeZ1rg_0zeQqOJYCfFWorJpbtaSsaxv927wKJliKotowIxEHzDAHy7FYMJLB3sNgDU6gUhVAhcDngWOWmcz44JpaQdmUa3cNcElJJt4n/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGNNjdQaFlg_ttKhgf3qeN_uQBcmTgGWQ8xHX0aeZ1rg_0zeQqOJYCfFWorJpbtaSsaxv927wKJliKotowIxEHzDAHy7FYMJLB3sNgDU6gUhVAhcDngWOWmcz44JpaQdmUa3cNcElJJt4n/s1600/3.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;b&gt;OUTPUT of Log4J file:&lt;/b&gt;&lt;/span&gt;&lt;/span&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/AVvXsEj42RVPW1RdQxQ8MIDBtm5w4XwJga841pDB5J8J4frn6m3dQMS85UGt9WB8WP06rE4Iy3ErHL2HQRsKsql6PULS5rh7DZgIqRWY9sgI3IJF1JbpVR2AVGZ1EuTbkrMKe34BQpeCvQMzKgQb/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;307&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj42RVPW1RdQxQ8MIDBtm5w4XwJga841pDB5J8J4frn6m3dQMS85UGt9WB8WP06rE4Iy3ErHL2HQRsKsql6PULS5rh7DZgIqRWY9sgI3IJF1JbpVR2AVGZ1EuTbkrMKe34BQpeCvQMzKgQb/s320/4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/3892644298905404663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/10/log4j-configuration.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3892644298905404663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3892644298905404663'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/10/log4j-configuration.html' title='Log4J Configuration'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicggD4ykpjoBKlteQ18d3Z2710vaZJ_boN9hukrump-H5RTzTEkaJfpYtLHfpXj6YZJ3ZEvjaW0eeqemDTz_wcs3SxI5NoUlrb03Rcx9CJP-SNTvrfWbPpBQaTOjuEFxcbENHaT2C07JTQ/s72-c/1.jpg" height="72" width="72"/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-7776225729616613068</id><published>2015-10-02T21:31:00.000+05:30</published><updated>2015-10-02T21:32:06.552+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium Basics"/><category scheme="http://www.blogger.com/atom/ns#" term="Special commands"/><category scheme="http://www.blogger.com/atom/ns#" term="TestNG"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><category scheme="http://www.blogger.com/atom/ns#" term="WebTable"/><title type='text'>Handling webtables</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;This post explains about Handling Webtables.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Get Number of Columns&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Get Number of Rows&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Get Content of a specific cell based on Row and Column value.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below is the code:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=gdUUs55U&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/7776225729616613068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/10/handling-webtables.html#comment-form' title='58 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7776225729616613068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7776225729616613068'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/10/handling-webtables.html' title='Handling webtables'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><thr:total>58</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-2461099168730718650</id><published>2015-09-28T19:37:00.000+05:30</published><updated>2015-09-28T19:38:01.250+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="TestNG"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>isDisplayed vs isEnabled</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In this post i will &amp;nbsp;show you the difference between isDisplayed() and isEnabled()&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;background-color: #dee3e9; border-bottom-color: rgb(158, 173, 192); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(158, 173, 192); border-top-style: solid; border-top-width: 1px; color: #353833; font-family: Arial, Helvetica, sans-serif; font-size: 1.3em; margin: 0px 0px 6px -8px; padding: 2px 5px;&quot;&gt;
isDisplayed&lt;/h4&gt;
&lt;pre style=&quot;color: #353833; font-size: 1.3em;&quot;&gt;boolean&amp;nbsp;isDisplayed()&lt;/pre&gt;
&lt;div class=&quot;block&quot; style=&quot;color: #353833; font-family: Arial, Helvetica, sans-serif; font-size: 12.16px; margin: 3px 0px 0px;&quot;&gt;
Is this element displayed or not? This method avoids the problem of having to parse an element&#39;s &quot;style&quot; attribute.&lt;/div&gt;
&lt;dl style=&quot;color: #353833; font-family: Arial, Helvetica, sans-serif; font-size: 12.16px;&quot;&gt;
&lt;dt style=&quot;color: #4e4e4e; font-size: 1.1em; font-weight: bold; margin: 10px 0px 0px;&quot;&gt;&lt;span class=&quot;strong&quot;&gt;Returns:&lt;/span&gt;&lt;/dt&gt;
&lt;dd style=&quot;margin: 10px 0px 10px 20px;&quot;&gt;Whether or not the element is displayed&lt;/dd&gt;&lt;dd style=&quot;margin: 10px 0px 10px 20px;&quot;&gt;&lt;br /&gt;&lt;/dd&gt;&lt;dd style=&quot;margin: 10px 0px 10px 20px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;Method used to verify presence of a web element within the webpage. The method is designed to result a Boolean value with each success and failure. The method returns a “true” value if the specified web element is present on the web page and a “false” value if the web element is not present on the web page.&lt;/span&gt;&lt;/dd&gt;&lt;/dl&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4 style=&quot;background-color: #dee3e9; border-bottom-color: rgb(158, 173, 192); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(158, 173, 192); border-top-style: solid; border-top-width: 1px; color: #353833; font-family: Arial, Helvetica, sans-serif; font-size: 1.3em; margin: 0px 0px 6px -8px; padding: 2px 5px;&quot;&gt;
isEnabled&lt;/h4&gt;
&lt;pre style=&quot;color: #353833; font-size: 1.3em;&quot;&gt;boolean&amp;nbsp;isEnabled()&lt;/pre&gt;
&lt;div class=&quot;block&quot; style=&quot;color: #353833; font-family: Arial, Helvetica, sans-serif; font-size: 12.16px; margin: 3px 0px 0px;&quot;&gt;
Is the element currently enabled or not? This will generally return true for everything but disabled input elements.&lt;/div&gt;
&lt;span id=&quot;goog_1728189870&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1728189871&quot;&gt;&lt;/span&gt;&lt;a href=&quot;https://www.blogger.com/&quot;&gt;&lt;/a&gt;
&lt;dl style=&quot;color: #353833; font-family: Arial, Helvetica, sans-serif; font-size: 12.16px;&quot;&gt;
&lt;dt style=&quot;color: #4e4e4e; font-size: 1.1em; font-weight: bold; margin: 10px 0px 0px;&quot;&gt;&lt;span class=&quot;strong&quot;&gt;Returns:&lt;/span&gt;&lt;/dt&gt;
&lt;dd style=&quot;margin: 10px 0px 10px 20px;&quot;&gt;True if the element is enabled, false otherwise.&lt;/dd&gt;&lt;dd style=&quot;margin: 10px 0px 10px 20px;&quot;&gt;&lt;br /&gt;&lt;/dd&gt;&lt;dd style=&quot;margin: 10px 0px 10px 20px;&quot;&gt;&lt;b&gt;Reference : &lt;/b&gt;&amp;nbsp;&lt;a href=&quot;https://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/WebElement.html#isEnabled()&quot; target=&quot;_blank&quot;&gt;https://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/WebElement.html#isEnabled()&lt;/a&gt;&lt;span id=&quot;goog_1728189866&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1728189867&quot;&gt;&lt;/span&gt;&lt;a href=&quot;https://www.blogger.com/&quot;&gt;&lt;/a&gt;&lt;/dd&gt;&lt;/dl&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;Method used to verify if the web element is enabled or disabled within the webpage. Like isDisplayed() method, it is designed to result a Boolean value with each success and failure. The method returns a “true” value if the specified web element is enabled on the web page and a “false” value if the web element is not enabled (state of being disabled) on the web page&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEhqt3cl7oI3f8ejHs11it8ztG98zbjMS9gIJgcQBSKAC1OvcLjMg3le55yLscPOUTyjKettghEyzd9s2ymlc691oomUx2SJk9TCHVIkccFcMTHSc1cHvzkXOeiIyxvFE78kkEFflfXdJLyP/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;90&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqt3cl7oI3f8ejHs11it8ztG98zbjMS9gIJgcQBSKAC1OvcLjMg3le55yLscPOUTyjKettghEyzd9s2ymlc691oomUx2SJk9TCHVIkccFcMTHSc1cHvzkXOeiIyxvFE78kkEFflfXdJLyP/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;b&gt;After Executing code :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Verdana, sans-serif; font-size: 13px; line-height: 20.0005px;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEiPemDvndNvBRsZC3H_tgiacZ6AvZ1XHWW3ZUgdz67sSuHQQoR7kVltBqd_dW_lOVUpG8gqOew3P19m2F1NkZt6Q_L4VlqL2x1bUgA895bq6Gh_IIQT4zqiHBgPfqk3M4UtT-aNku8aNwnN/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;93&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPemDvndNvBRsZC3H_tgiacZ6AvZ1XHWW3ZUgdz67sSuHQQoR7kVltBqd_dW_lOVUpG8gqOew3P19m2F1NkZt6Q_L4VlqL2x1bUgA895bq6Gh_IIQT4zqiHBgPfqk3M4UtT-aNku8aNwnN/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Below is the Code:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=whSqx16Z&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=Fp1uykLT&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/2461099168730718650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/09/isdisplayed-vs-isenabled.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/2461099168730718650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/2461099168730718650'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/09/isdisplayed-vs-isenabled.html' title='isDisplayed vs isEnabled'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqt3cl7oI3f8ejHs11it8ztG98zbjMS9gIJgcQBSKAC1OvcLjMg3le55yLscPOUTyjKettghEyzd9s2ymlc691oomUx2SJk9TCHVIkccFcMTHSc1cHvzkXOeiIyxvFE78kkEFflfXdJLyP/s72-c/1.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-8372985011908065840</id><published>2015-09-16T15:58:00.000+05:30</published><updated>2015-09-16T15:58:00.948+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grid"/><category scheme="http://www.blogger.com/atom/ns#" term="Grid Extras"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Selenium Grid Extras</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In this post i am going to explain about Selenium Grid Extras.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Selenium Grid Extras :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Simplify the management of the Selenium Grid Nodes and stabilize said nodes by cleaning up the test environment after the build has been completed.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;For More information on Selenium Grid Extras you can refer to this link.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;a href=&quot;https://github.com/groupon/Selenium-Grid-Extras/blob/master/README.md&quot; target=&quot;_blank&quot;&gt;Selenium-Grid-Extras&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Features of Grid Extras:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Ability to control individual grid nodes, following is an incomplete list of OS level tasks:&lt;ul style=&quot;box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Killing any browser instance by name&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Stopping any Process by PID&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Moving mouse to specific location&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Get Memory usage and disk statistics&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Automatically upgrade WebDriver binaries&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Restart node after a set number of test executions&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Central storage of configurations for all nodes on the HUB server&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Screenshots at the OS level&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;And much more.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 25.6px;&quot;&gt;Reference: &amp;nbsp;&lt;a href=&quot;https://github.com/groupon/Selenium-Grid-Extras/blob/master/README.md&quot; target=&quot;_blank&quot;&gt;https://github.com/groupon/Selenium-Grid-Extras/blob/master/README.md&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif;&quot;&gt;&lt;b&gt;Steps to Install / Configure Selenium Grid Extras:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif;&quot;&gt;Download Grid Extras Jar file from Here :&amp;nbsp;&lt;a href=&quot;https://github.com/groupon/Selenium-Grid-Extras/releases&quot; target=&quot;_blank&quot;&gt;Download Selenium-Grid-Extras&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji60ylKkCZJVso1cJXGcNgXwJNwF3Hor7vcT17Jjj7HUfpi6pvWjfCQqJEi2x0eItltx6xINbd_mI0QZNo6Bp0WvTGlvipUZEDGkxD9tXNPFPjRDbEheNBx73QguouyCMGY_7faMO9nbH6/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji60ylKkCZJVso1cJXGcNgXwJNwF3Hor7vcT17Jjj7HUfpi6pvWjfCQqJEi2x0eItltx6xINbd_mI0QZNo6Bp0WvTGlvipUZEDGkxD9tXNPFPjRDbEheNBx73QguouyCMGY_7faMO9nbH6/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;&quot;&gt;
Selenium Grid Extras is a project that helps you set up and manage your local Selenium Grid. Typical instances of the Grid consists of the HUB and Nodes. The HUB is responsible for managing test sessions and assigning new session idle nodes.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;&quot;&gt;
Setup of Grid Extras is made to be simple, just run the packaged JAR file and point the node at the HUB location, Grid Extras will take care of the rest for you.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;&quot;&gt;
&lt;b&gt;Hub SetUp:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. After downloading selenium grid extras jar file, open command prompt and navigate to folder where grid extras jar file is available.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. Type in command &amp;nbsp;java -jar &lt;grid extras.jar=&quot;&quot;&gt;&lt;/grid&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPvOoqLvv7ZN93E5cIkmxo2sPPx_fMCh0KhkLF2kD4B8CpgCuK00-kkQ9WpW8FEZuCQcAysfyJ92M1C4HCY8LOCxxFhWFE0c87F-ZdN-DVdtCtx8NMl8ulQDLFY63xjM4ir9C7nT93AwWQ/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;40&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPvOoqLvv7ZN93E5cIkmxo2sPPx_fMCh0KhkLF2kD4B8CpgCuK00-kkQ9WpW8FEZuCQcAysfyJ92M1C4HCY8LOCxxFhWFE0c87F-ZdN-DVdtCtx8NMl8ulQDLFY63xjM4ir9C7nT93AwWQ/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;I renamed selenium grid extras jar file to&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;b&gt;SeleniumGridExtras.jar&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;After starting seleniumgridextras it will prompt several questions.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;What is the default Role of this computer? (1 - node | 2 - hub | 3 - hub &amp;amp; node)&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 1&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;if you want to use your machine as Hub..then you need to type 2, if you want to use your machine as hub and node then type 3.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In this case i am using it as hub &amp;nbsp;so i type in 2.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;What is the HOST for the Selenium Grid Hub?&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 127.0.0.1&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In my case it is default value so i just click Enter&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;What is the PORT for the Selenium Grid Hub?&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 4444&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Press Enter port will be set to 4444&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;What is node Platform? (WINDOWS|XP|VISTA|WIN8|WIN8_1|MAC|LINUX|UNIX|ANDROID)&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;Default Value: VISTA&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;I left it as default&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Would you like WebDriver, IEDriver and ChromeDriver to auto update (1-yes/0-no)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Default Value: 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Press Enter --it will automatically updte your webdriver,IE and chrome drivers&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Once you set all options your command prompt should look like this&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZwbl1TTAgqP-YECJBgWm9FBU1rhn4D-MepNgYvZ-DGWqUa3kFZ4xVoDQVYTsSbJmNgeKyk747sxaJFs-nikoOQytkfWEp6ip5sY1Cq-2FVs50-GNXZTWdVmiVdE5tnN2oQlimxEenXCJo/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;164&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZwbl1TTAgqP-YECJBgWm9FBU1rhn4D-MepNgYvZ-DGWqUa3kFZ4xVoDQVYTsSbJmNgeKyk747sxaJFs-nikoOQytkfWEp6ip5sY1Cq-2FVs50-GNXZTWdVmiVdE5tnN2oQlimxEenXCJo/s320/6.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Verify Grid Console and Grid Extras&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
type in the IP address which is shown in command prompt and output looks like this&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&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/AVvXsEjE8dNdKphDG0XsGtvnHq7dii6l0CS_4cedKW9bNZtI69SYxanDCTLAdZnFVf-hqvvhQJTWA3_q8zC3Rk-w5Pr-WUTJisNeigdxSmV2O_Aw60jaUrRV-gPbC5rtkySri34QJhlaISlHarda/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE8dNdKphDG0XsGtvnHq7dii6l0CS_4cedKW9bNZtI69SYxanDCTLAdZnFVf-hqvvhQJTWA3_q8zC3Rk-w5Pr-WUTJisNeigdxSmV2O_Aw60jaUrRV-gPbC5rtkySri34QJhlaISlHarda/s320/7.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
It shows you &amp;nbsp;RAM and OS details&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Now open grid console ---&amp;nbsp;http://localhost:4444/grid/console&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLSafjho3COwkaJv0c_b_iY-9n1j1H-VGLTlvUx7Bime9iUk7HaupUxwxmOIC6w2VtiUwEV8boy_uvPO9YdwXRIrksQ1T5plY2WmIyZDPV7ojUvk5ApRL_Tly3hhhXq3O2tKiGMiK33uls/s1600/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;113&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLSafjho3COwkaJv0c_b_iY-9n1j1H-VGLTlvUx7Bime9iUk7HaupUxwxmOIC6w2VtiUwEV8boy_uvPO9YdwXRIrksQ1T5plY2WmIyZDPV7ojUvk5ApRL_Tly3hhhXq3O2tKiGMiK33uls/s320/8.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Segoe UI&#39;, Arial, freesans, sans-serif; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em; position: relative;&quot;&gt;
Grid Node Set Up:&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Go to another machine and start seleniumgridExtras.jar&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;It will prompt several questions:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;What is the default Role of this computer? (1 - node | 2 - hub | 3 - hub &amp;amp; node)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Default Value: 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;type 1 ..bcs we want to use this as node&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;What is the HOST for the Selenium Grid Hub?&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 127.0.0.1&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;type in IP address of HUB ..ex: 172.xx.xx.xx&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;What is the PORT for the Selenium Grid Hub?&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 4444&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Press Enter port will be set to 4444&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Will this node run &#39;Firefox&#39; (1-yes/0-no)&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 0&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Yes I want to run Firefox so i type in 1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;What version of &#39;Firefox&#39; is installed?&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 36&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;It will identify your firefox version. Press Enter&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Will this node run &#39;InternetExplorer&#39; (1-yes/0-no)&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 0&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Yes I want to run IE so i type in 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Similarly it will prompt questions for Chrome, Safari based on your requirement you have to choose option.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Would you like this Node to auto update browser versions? (1-yes/0-no)&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 1&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;press 1 if you want to auto update browser versions.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Should this Node record test runs? (1-yes/0-no)&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Default Value: 1&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Press Enter&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Once you set all the options it will start Grid Extras..&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;it should look like this....&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYR1iPwJn656B2oMtzlHvPZEAnPzKx_yqKu6L0KcIeYCJ3XEVgllGuz24dEpYDMBL_iKNc0LghSxL6g62B6LTOUJ1dEhro-vS_X3vLdvQZAbentK2Vn8tqq-2xsOohLfhHdvrJj3drvTbB/s1600/9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYR1iPwJn656B2oMtzlHvPZEAnPzKx_yqKu6L0KcIeYCJ3XEVgllGuz24dEpYDMBL_iKNc0LghSxL6g62B6LTOUJ1dEhro-vS_X3vLdvQZAbentK2Vn8tqq-2xsOohLfhHdvrJj3drvTbB/s320/9.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&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;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Now you are all set to run your scripts on grid extras.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Again come back to HUB and navigate to&amp;nbsp;&lt;a href=&quot;http://localhost:4444/grid/console&quot; target=&quot;_blank&quot;&gt;http://localhost:4444/grid/console&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
it should look like this&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;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/AVvXsEhO2HmQzYu1utXfgDahrL8-Idet3IgdIAvPw-ZxFBqYrXhx6MKA6d7eg7lIvF78-PwzGD5lo_EjBmec7hz47ao1U8mrBfW6Pp79XEC5tmrhiDyJHpAjjaxeP4KsV0iSd6i8-GCna3yaBKQ9/s1600/10.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO2HmQzYu1utXfgDahrL8-Idet3IgdIAvPw-ZxFBqYrXhx6MKA6d7eg7lIvF78-PwzGD5lo_EjBmec7hz47ao1U8mrBfW6Pp79XEC5tmrhiDyJHpAjjaxeP4KsV0iSd6i8-GCna3yaBKQ9/s320/10.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Now i can run scripts in FF,IE and Chrome.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;The rest is same..you have to run your webdriver script.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below is the sample script.&lt;/span&gt;&lt;/div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=0xviH6Zx&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Once the execution is done...Open HUB URL&amp;nbsp;http://1xx.xx.xx.xx:3000/ or in HUB machine open url&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://localhost:3000/&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;http://localhost:3000/&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;It should look like this...&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;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/AVvXsEgLtWUN1IK2JUkQVRNwTvHpRC6L1LyMV7ibjhU_igRayAKLCGAMW2ZlCJx9mkqai4fhxxZWM5W0-vSeEuJse37u3SV6geLhnfFAbVWtzUD_SbxhHc3oxTECiwyuO8HLgQrvLbb7XpCqny1c/s1600/11.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLtWUN1IK2JUkQVRNwTvHpRC6L1LyMV7ibjhU_igRayAKLCGAMW2ZlCJx9mkqai4fhxxZWM5W0-vSeEuJse37u3SV6geLhnfFAbVWtzUD_SbxhHc3oxTECiwyuO8HLgQrvLbb7XpCqny1c/s320/11.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;You can see videos in seleniumgrid extras folder...where you seleniumgridextras jar file is available. One folder will be created with name &quot;video_output&quot; in that folder you can see video files.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-fat5m2csvk1Osh-da3ufb_kkKjXnwa5sjJeO7j1FR_jVy6bzEwYiWyfmxTzycsSww6xvcqJsHyXw743_xOIGyijGK-6JtIhhLq3lIM5KcltJhci7UDIFWqVUmHsuA5q3umrl0cIZb8Fl/s1600/12.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-fat5m2csvk1Osh-da3ufb_kkKjXnwa5sjJeO7j1FR_jVy6bzEwYiWyfmxTzycsSww6xvcqJsHyXw743_xOIGyijGK-6JtIhhLq3lIM5KcltJhci7UDIFWqVUmHsuA5q3umrl0cIZb8Fl/s320/12.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/8372985011908065840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/09/selenium-grid-extras.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8372985011908065840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/8372985011908065840'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/09/selenium-grid-extras.html' title='Selenium Grid Extras'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji60ylKkCZJVso1cJXGcNgXwJNwF3Hor7vcT17Jjj7HUfpi6pvWjfCQqJEi2x0eItltx6xINbd_mI0QZNo6Bp0WvTGlvipUZEDGkxD9tXNPFPjRDbEheNBx73QguouyCMGY_7faMO9nbH6/s72-c/1.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-4348248985583954134</id><published>2015-09-08T15:51:00.002+05:30</published><updated>2015-09-08T16:15:53.250+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grid"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="TestNG"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Selenium Grid by using VisGrid</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this I will explain you what is selenium grid and how to setup this grid in simple way...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Selenium Grid:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;Selenium-Grid allows you run your tests on different machines against different browsers in parallel. That is, running multiple tests at the same time against different machines running different browsers and operating systems. Essentially, Selenium-Grid support distributed test execution. It allows for running your tests in a&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;distributed test execution&lt;/em&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&amp;nbsp;environment&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;(From&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 16.9px;&quot;&gt;http://www.seleniumhq.org/docs/07_selenium_grid.jsp&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;b&gt;When to Use It:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Generally speaking, there’s two reasons why you might want to use Selenium-Grid.&lt;/span&gt;&lt;/div&gt;
&lt;ul class=&quot;simple&quot; style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-top: 0.2em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To run your tests against multiple browsers, multiple versions of browser, and browsers running on different operating systems.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-top: 0.2em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To reduce the time it takes for the test suite to complete a test pass.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;(From&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 16.9px;&quot;&gt;http://www.seleniumhq.org/docs/07_selenium_grid.jsp&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;b&gt;Grid Set Up:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;To set up grid its a bit tedious task..&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;1. Set up Hub&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;2 .Register your nodes to Hub&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;3. Mention max number of instances and sessions...etc etc...Everything you have to do it from command prompt...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;Do we need to use boring&amp;nbsp;command&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&amp;nbsp;prompt..??&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;b&gt;No&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;Do we have any GUI for grid?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;b&gt;Answer is Yes&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;What is the tool??&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;Here is Answer &lt;b&gt;VisGrid&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;b&gt;VisGrid:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;VisGrid is a GUI for Selenium Grid. You can start hub, create and attach a Selenium node very easily and quickly.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/AVvXsEjVh7qdTgPmTllc6iv6z9OApTK1sjplayhD5cPwbVIA_Y6qwVjBHpDZ2SHdWnWPB0oshgdef8_ArE_rpdRceTBRUPzhc3TAjZ4LL8N4IWirZP0eIA4st4m6qSmgebZtyfbv2x9c2c8KARkE/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&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/AVvXsEghFU1Q-oEa3cY2Es3Xez2dYAFXkQtbXet_rsNRSM32acPvol5ViUOSbtdVb2pCHlcVS1M4q9PRTsD07Kfs4-6CBlpDwvP8GKZY8UVKe5OdmZzrh2qL6L5ucL_EZLFf61I4hFqZMEjI_cp5/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghFU1Q-oEa3cY2Es3Xez2dYAFXkQtbXet_rsNRSM32acPvol5ViUOSbtdVb2pCHlcVS1M4q9PRTsD07Kfs4-6CBlpDwvP8GKZY8UVKe5OdmZzrh2qL6L5ucL_EZLFf61I4hFqZMEjI_cp5/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here are details about VisGrid usage:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.codoid.com/products/view/2/30&quot; target=&quot;_blank&quot;&gt;How to Use VisGrid&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;b&gt;Steps to Download VisGrid:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Navigate to&amp;nbsp;&lt;a href=&quot;http://www.codoid.com/products/view/2/30&quot; target=&quot;_blank&quot;&gt;http://www.codoid.com/products/view/2/30&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scroll down to bottom of page and Enter email id and click download.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can see Release notes here --&amp;nbsp;&lt;a href=&quot;http://www.codoid.com/products/downloadNotes/30&quot; target=&quot;_blank&quot;&gt;http://www.codoid.com/products/downloadNotes/30&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6ZzIM5m03ZUZPdELipeF2CIF6Au7S5rzYvvDMeg9bfVx5hmHsRCH9wZjhVEnvL0a0m3tH_DqwtHzL_uTOloPLC4p3jV3GlKv12KWhQlNkP3BL0uoVuzLOR2gOZdXojxbaURxOTJh63tPh/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After&amp;nbsp;downloading, unzip&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;VisGrid.zip&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Double click on Visgrid-1.8.jar&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click Start Hub Button&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now Hub is started and &#39;Create Node&#39; &amp;amp; &#39;Stop Hub&#39; buttons are displayed&lt;/span&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/AVvXsEhSeRWHYRMmIoyh1ooUYalbN4dYVo1hJI8gk4J980UlQv0oqCVyHYuYKHFulSmFoDfM8KVd1Vg3zbbaYpBMT5SWsENprxVuk4kjsf3FPmwtJN8tNur8Cko257Ula5LLJUaIMdWZinDwnlr5/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSeRWHYRMmIoyh1ooUYalbN4dYVo1hJI8gk4J980UlQv0oqCVyHYuYKHFulSmFoDfM8KVd1Vg3zbbaYpBMT5SWsENprxVuk4kjsf3FPmwtJN8tNur8Cko257Ula5LLJUaIMdWZinDwnlr5/s320/3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Click &#39;Create Node&#39; button&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Select a browser and click &#39;Add&#39; button&lt;/span&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/AVvXsEjXgx_fjiUwX7fXbdUKvoVc5vbyGytYRIJkonPWR2HYMw5gx80_hnOUqPVidMfmPFswD4k4pNCD7uhYAh3gQ2j13GKOP2FNJ7nsozxKJGaZ6NQAc5T4Fklfh949yopvI26XjQ6rc3P6RKq6/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;164&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXgx_fjiUwX7fXbdUKvoVc5vbyGytYRIJkonPWR2HYMw5gx80_hnOUqPVidMfmPFswD4k4pNCD7uhYAh3gQ2j13GKOP2FNJ7nsozxKJGaZ6NQAc5T4Fklfh949yopvI26XjQ6rc3P6RKq6/s320/4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;That&#39;s it. You have created Hub and attached a node successfully&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hit &lt;a href=&quot;http://localhost:4444/grid/console&quot;&gt;http://localhost:4444/grid/console&lt;/a&gt; to cross check your actions&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisIL8NrvX-0S6lcI4m66yG0hP2U57RvVE4H1myfX432Lcf0XoIpPqcjW1RplwG6SBoO7ZAu5NsA77pUFKh9YDYgZ-YR8purM6cdTTyxq6ALeqm2E7wjXFS8Gp2oGtV7-TD87l4nY3DJ0Eo/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;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/AVvXsEjRzT7vh3gEzG929OGdBgDfeVUJi5dcUZo7wSiXJuC2GdyigiqLmMAQWZ6Jr5IdfmkB8du8ALzbc0AqjxS2QOXhPGTAJIenlfEQCSEiDM2Ts9NrG8hVXGEImYsex_B8RAbJZGsZJX7YN24Z/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 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/AVvXsEjRzT7vh3gEzG929OGdBgDfeVUJi5dcUZo7wSiXJuC2GdyigiqLmMAQWZ6Jr5IdfmkB8du8ALzbc0AqjxS2QOXhPGTAJIenlfEQCSEiDM2Ts9NrG8hVXGEImYsex_B8RAbJZGsZJX7YN24Z/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEga_VrWFePxa0iFY-ndtH53GD3Wg71yTXCf8JKUMFN14hHEJPPsuSoHcLeHFfjAh491_UpsYbwQH9BxR0I0Ul-xcj0Q2Z8GaM0Zhyq7hSPmz-D2LGhHhLkmpU2h7Re-isrnXEWlVDDcFkDt/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEixcPOpq9vj2uqMHs09fGaMD01Q7HCAoSNDwx-Bi24Lr5Jbryc4g8CaHRQVyCpNSCIYqHb6Wk0fMZYTEG_vA3GqTKhl6te7uxbOYfQNeZqkPaG91yv0zaMj2i7WNyTjWGNlTx-526jRmBdq/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;By default VisGrid-1.8 came with 2.46, if you want you can change selenium-server and drivers.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq8aQ-ymFk3uqaJvfDuj_xCucfDfyk_4d7mMHDFUpSsueAyfPFTpKE6Oux6aJPn8hjF9hETprePFBEFGNDVDhB0N0KP7YZuFpFKBatmu_6CziuJEndSsy6UzWaNKAwS0DYZB3l51dfSrK9/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq8aQ-ymFk3uqaJvfDuj_xCucfDfyk_4d7mMHDFUpSsueAyfPFTpKE6Oux6aJPn8hjF9hETprePFBEFGNDVDhB0N0KP7YZuFpFKBatmu_6CziuJEndSsy6UzWaNKAwS0DYZB3l51dfSrK9/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now your Grid is configured and ready to run scripts in parallel using Selenium Grid and VisGrid.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Steps to Create Grid_Maven Project:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create a Maven Project ---&amp;nbsp;&lt;a href=&quot;http://www.testerinyou.com/2015/08/create-sample-maven-project.html&quot; target=&quot;_blank&quot;&gt;Create-sample-maven-project&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Difference between normal webdriver script and Grid script is how you instantiate your browser&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;What is Hub:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The hub is the central point where you load your tests into.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Controlling of execution will be done from Hub&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The hub is launched only on a single machine&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The machine containing the hub is where the tests will be run,&amp;nbsp;but you will see the browser being automated on the node.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What is Node:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Nodes are the Selenium instances that will execute the tests that you loaded on the hub.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There can be one or more nodes in a grid.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Nodes can be launched on multiple machines with different platforms and browsers.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The machines running the nodes need not be the same platform as that of the hub.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Develop Script that can run on Grid:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;There are two important classes which plays major role while running scripts using Grid&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;DesiredCapabilites &lt;/b&gt;is used to set the type of browser and OS that we will automate&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;RemoteWebDriver &lt;/b&gt;is used to set which node (or machine) that our test will run against.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is the sample script which can run script on Grid.&lt;/span&gt;&lt;/div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=Dsr3DJWS&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is sample testng.xml file&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=JieKnk1N&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: x-small; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: x-small; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;Final Project you can Download from here ...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 16.9px;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B-7LhDoS38TwQ0xDb2x0a05TT1U/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;Grid_Maven_VisGrid&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/4348248985583954134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/09/selenium-grid-by-using-visgrid.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/4348248985583954134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/4348248985583954134'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/09/selenium-grid-by-using-visgrid.html' title='Selenium Grid by using VisGrid'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghFU1Q-oEa3cY2Es3Xez2dYAFXkQtbXet_rsNRSM32acPvol5ViUOSbtdVb2pCHlcVS1M4q9PRTsD07Kfs4-6CBlpDwvP8GKZY8UVKe5OdmZzrh2qL6L5ucL_EZLFf61I4hFqZMEjI_cp5/s72-c/1.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-3899294194011963344</id><published>2015-09-03T17:47:00.000+05:30</published><updated>2015-09-03T17:47:11.066+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANT"/><category scheme="http://www.blogger.com/atom/ns#" term="Reports"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="TestNG"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><category scheme="http://www.blogger.com/atom/ns#" term="XSLT"/><title type='text'>Generate XSLT reports for Webdriver scripts using ANT build.xml </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;This is continuation of my previous post &lt;a href=&quot;http://www.testerinyou.com/2015/08/ant-with-selenium-webdriver-and-testng.html&quot; target=&quot;_blank&quot;&gt;Ant-with-selenium-webdriver-and-testng.html&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In previous post i explained how to integrate ant with selenium and testNG. In this post i will explain how to Generate XSLT reports using Ant.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Need of &amp;nbsp;XSLT reports:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Till now we are relying on reports generated by testNG. But those reports are not much interactive. XSLT reports are very interactive and easy to understand. Below is sample report.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEirYGRS4dzruvxi6ObZJKO_KefYT4kBe2YztERRtGHuBon7cF76G-FOKZNhEr0c8edKlGmWyF5y2YGCyeCNQF5v8wtZVkids7KYScJHIIUn_ghoi_F2NNiqhPBeA_JbBRJDFJ0siLWFCx_q/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirYGRS4dzruvxi6ObZJKO_KefYT4kBe2YztERRtGHuBon7cF76G-FOKZNhEr0c8edKlGmWyF5y2YGCyeCNQF5v8wtZVkids7KYScJHIIUn_ghoi_F2NNiqhPBeA_JbBRJDFJ0siLWFCx_q/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Steps to Configure XSLT reports:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Prerequisites:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. SeleniumWebdriver Project developed using ANT. If you want you can download it from here.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B-7LhDoS38TwMFpiakFCMlNBS00/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Ant_SeleniumWebdriver_TestNG&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. Download XSLT from here&amp;nbsp;&lt;a href=&quot;https://docs.google.com/file/d/0BzkrPqcwKBnZaGlHZ0YxYzRyeW8/edit&quot; target=&quot;_blank&quot;&gt;Download XSLT&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Configure XSLT:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Download testng-xslt-1.1.2-master.zip and unzip it&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Copy all jar files and place them in jar library folder in your project.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Copy the testng-results.xsl from the testng-xslt folder(path: XSLT jartestng-xslt-1.1.2-mastertestng-xslt-1.1.2-mastersrcmainresources) and place in your project folder.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Modify xml code in build.xml&lt;/span&gt;&lt;/li&gt;
&lt;/ol&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/AVvXsEgnggR724rs-qrCiBIex_55yY9hKfTNevP8HvRQ0kio6hCvfXfvye5d_Z_GglxwvafcSy6dmpB2HOxq-17VZU_xuVqE5gPBJVfN38UOmsy3ON6el3doLruHIq2WKexNUMoHjF25_gw_0t7O/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnggR724rs-qrCiBIex_55yY9hKfTNevP8HvRQ0kio6hCvfXfvye5d_Z_GglxwvafcSy6dmpB2HOxq-17VZU_xuVqE5gPBJVfN38UOmsy3ON6el3doLruHIq2WKexNUMoHjF25_gw_0t7O/s1600/2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Below is updated build.xml file. which has xslt code included.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=C7d05S2m&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;How to Generate XLST Reports:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;To generate XSLT report you need to run build.xml file and need to check the task check box (makexsltreports&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;) then report will be generated under your project with folder Name ---&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;XSLT_Reports---output--index.html&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below is folder path screenshot:&lt;/span&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/AVvXsEiRUt90uvEUw6fySpKN_tUhshNIn3oYJsMSJQ4b15dOlbfD-yOnVmCszc4zFlUQahOeUT6Fc8_dG0qrgOeHCw_CUkMzyGHrTCqPsJ2PNtQ_UJFpq-jAV1Iakz0xnIJJV6stjaisuh1R8r0I/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRUt90uvEUw6fySpKN_tUhshNIn3oYJsMSJQ4b15dOlbfD-yOnVmCszc4zFlUQahOeUT6Fc8_dG0qrgOeHCw_CUkMzyGHrTCqPsJ2PNtQ_UJFpq-jAV1Iakz0xnIJJV6stjaisuh1R8r0I/s320/3.jpg&quot; width=&quot;175&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below is sample report: (PASSED)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEjtQwrXdZhblVoSpQYU_PsNiv9WAqhbe69UeCKlc2-WfEIqtvtIblpPdMfauTgh8DUy5ZUFcWU5PSIz5FXF8gSi810MX8sYYgghdYlV6b_2ESiC5nR1faKHwhzq3GRsmQ6UFam1D5Nvup7i/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;128&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtQwrXdZhblVoSpQYU_PsNiv9WAqhbe69UeCKlc2-WfEIqtvtIblpPdMfauTgh8DUy5ZUFcWU5PSIz5FXF8gSi810MX8sYYgghdYlV6b_2ESiC5nR1faKHwhzq3GRsmQ6UFam1D5Nvup7i/s320/4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Run From Command prompt:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;You can run makexsltreports task from comamnd prompt also. Here is the way to run&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Navigate to projetc folder from command prompt and type in --- ant &lt;taskname&gt;&amp;nbsp;&lt;/taskname&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;ant&amp;nbsp;makexsltreports&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;I updated &amp;nbsp;code to generate failed report.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below is failed report:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs-7DLKGgvj7S20CK_b3zMOZRhCnRyx6a2O1IEWFUXDjnCnylCDXl-VUPsSl64ibBQHL2yeWOFbWdesxtMpSzkrWVLbjtqootfcs3v37p94tcXK3S3nKZuglZNa8QxWPj4ihof3HyY9C53/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs-7DLKGgvj7S20CK_b3zMOZRhCnRyx6a2O1IEWFUXDjnCnylCDXl-VUPsSl64ibBQHL2yeWOFbWdesxtMpSzkrWVLbjtqootfcs3v37p94tcXK3S3nKZuglZNa8QxWPj4ihof3HyY9C53/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Click on Test which is under TestNG Results.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Click on Failed test case method name (&lt;/span&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; style=&quot;background-color: #ffbbbb; color: navy; cursor: pointer; font-family: Arial, sans-serif; font-size: 12px;&quot;&gt;testTC2()&lt;/a&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;). and click on exception..it will show you details about exception.&lt;/span&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/AVvXsEi2DeQCNsrYRUJ877PVR7F4mJan4sZhaR0JGSYmUTXsmDUkcoUFDiSwyoWhRTfT4DofHiEm0C8WZJOPTKnbsaQa6fE4Pp-jj4lPiszXG_6-DpWSZ2Bxph8BDJVgzNPm14v0_wd4FVJqDcPZ/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2DeQCNsrYRUJ877PVR7F4mJan4sZhaR0JGSYmUTXsmDUkcoUFDiSwyoWhRTfT4DofHiEm0C8WZJOPTKnbsaQa6fE4Pp-jj4lPiszXG_6-DpWSZ2Bxph8BDJVgzNPm14v0_wd4FVJqDcPZ/s320/6.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;You can download project Here ...&amp;nbsp;&lt;a href=&quot;https://drive.google.com/file/d/0B-7LhDoS38TwMWlocjh6eFNSVVU/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;ANT_Webdriver_TestNG_XSLT&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/3899294194011963344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/09/generate-xslt-reports-for-webdriver.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3899294194011963344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3899294194011963344'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/09/generate-xslt-reports-for-webdriver.html' title='Generate XSLT reports for Webdriver scripts using ANT build.xml '/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirYGRS4dzruvxi6ObZJKO_KefYT4kBe2YztERRtGHuBon7cF76G-FOKZNhEr0c8edKlGmWyF5y2YGCyeCNQF5v8wtZVkids7KYScJHIIUn_ghoi_F2NNiqhPBeA_JbBRJDFJ0siLWFCx_q/s72-c/1.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-524013220754710992</id><published>2015-09-02T19:34:00.001+05:30</published><updated>2015-09-02T20:08:45.989+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="EventFiringWebDriver"/><category scheme="http://www.blogger.com/atom/ns#" term="Hihilight"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Screenshot"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><category scheme="http://www.blogger.com/atom/ns#" term="WebDriverEventListener"/><title type='text'>Class EventFiringWebDriver and Interface WebDriverEventListener</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In this post i will try to explain what is the use of&amp;nbsp;Class EventFiringWebDriver and Interface WebDriverEventListener in selenium webdriver.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;EventFiringWebDriver is a class and is used to wrap your webdriver around to throw events.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;WebDriverEventListner is an interface which you have to implement to catch the webdriver events.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;EventFiringWebDriver implements WebDriver interface, meaning you will get all regular methods like findElement,get,getText etc...apart from those methods you will also get register and unregister.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Register method is used to register your implementation of WebdriverEventListner to Webdriver events.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below programs explains you how to implement&amp;nbsp;Class EventFiringWebDriver and Interface WebDriverEventListener.&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Here in this example i am trying to&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;1. Highlight element before performing any action and&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;2. Capture screenshot after every step.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;First Lets implement&amp;nbsp;WebDriverEventListener interface...&lt;b&gt;MyListener &lt;/b&gt;is class Name which implemnts&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;WebDriverEventListener&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; interface.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;You can get this code from My Gitrepo:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;https://github.com/mourya2175/RandD&quot; target=&quot;_blank&quot;&gt;https://github.com/mourya2175/RandD&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
Google drive.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/file/d/0B-7LhDoS38TwSEhldDZzc0tOaDA/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Experiment_WebDriverEventListener Project&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;package&lt;/span&gt; util;

&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; java.io.File;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; java.io.IOException;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; java.util.UUID;

&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.apache.commons.io.FileUtils;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.By;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.JavascriptExecutor;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.OutputType;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.TakesScreenshot;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.WebDriver;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.WebElement;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.support.events.WebDriverEventListener;

&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; experiment.Facebook;

&lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;MyListener&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;implements&lt;/span&gt; WebDriverEventListener{

 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterChangeValueOf(WebElement element, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }

 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterClickOn(WebElement element, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterFindBy(By by, WebElement element, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;//this is class which will generate unique number for screenshot&lt;/span&gt;
  UUID sc = UUID.randomUUID();

  &lt;span style=&quot;color: green;&quot;&gt;//Capture screenshot&lt;/span&gt;
  &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;(Facebook.screenshot)
  {
   File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
   &lt;span style=&quot;color: green;&quot;&gt;// Now you can do whatever you need to do with it, for example copy somewhere&lt;/span&gt;
   &lt;span style=&quot;color: blue;&quot;&gt;try&lt;/span&gt; {

    FileUtils.copyFile(scrFile, &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; File(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Screenshots\\&quot;&lt;/span&gt;+Facebook.screenshotFolder+&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;\\&quot;&lt;/span&gt;+sc+&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;.jpg&quot;&lt;/span&gt;));
   } &lt;span style=&quot;color: blue;&quot;&gt;catch&lt;/span&gt; (IOException e) {
    &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated catch block&lt;/span&gt;
    e.printStackTrace();
   }
  }

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterNavigateBack(WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterNavigateForward(WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterNavigateTo(String url, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterScript(String script, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeChangeValueOf(WebElement element, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeClickOn(WebElement element, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeFindBy(By by, WebElement element, WebDriver driver) {


  &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;(Facebook.highlight)
  {
   WebElement elem = driver.findElement(by);
   &lt;span style=&quot;color: green;&quot;&gt;// draw a border around the found element&lt;/span&gt;
   &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (driver &lt;span style=&quot;color: blue;&quot;&gt;instanceof&lt;/span&gt; JavascriptExecutor) {
    ((JavascriptExecutor)driver).executeScript(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;arguments[0].style.border=&#39;2px solid red&#39;&quot;&lt;/span&gt;, elem);
    &lt;span style=&quot;color: green;&quot;&gt;//((JavascriptExecutor)driver).executeScript(&quot;arguments[0].setAttribute(&#39;style&#39;, arguments[1]);&quot;, elem, &quot;color: yellow; border: 2px solid yellow;&quot;); &lt;/span&gt;
   }
  }

 }




 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeNavigateBack(WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeNavigateForward(WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeNavigateTo(String url, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }


 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeScript(String script, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }

 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; onException(Throwable throwable, WebDriver driver) {
  &lt;span style=&quot;color: green;&quot;&gt;// TODO Auto-generated method stub&lt;/span&gt;

 }

}
&lt;/pre&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;/div&gt;
Here is my Class which uses EventFiringWebDriver. Class Name is Facebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;package&lt;/span&gt; experiment;

&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; java.text.SimpleDateFormat;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; java.util.Date;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; java.util.concurrent.TimeUnit;

&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.By;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.WebDriver;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.firefox.FirefoxDriver;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.openqa.selenium.support.events.EventFiringWebDriver;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.testng.annotations.AfterClass;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.testng.annotations.BeforeClass;
&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; org.testng.annotations.Test;

&lt;span style=&quot;color: blue;&quot;&gt;import&lt;/span&gt; util.MyListener;

&lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Facebook&lt;/span&gt; {
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; WebDriver wdriver;
 &lt;span style=&quot;color: green;&quot;&gt;//create a variable for EventFiringWebDriver&lt;/span&gt;
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; EventFiringWebDriver driver;
 &lt;span style=&quot;color: green;&quot;&gt;//boolean value for screenshot --if you set false it will highlight element&lt;/span&gt;
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;boolean&lt;/span&gt; screenshot=&lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;
 &lt;span style=&quot;color: green;&quot;&gt;//boolean value for highlight --if you set false it will not capture screenshot&lt;/span&gt;
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;boolean&lt;/span&gt; highlight=&lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;
 &lt;span style=&quot;color: green;&quot;&gt;//date --simple date format for screenshot folder name&lt;/span&gt;
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; Date dNow = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; Date( );
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; SimpleDateFormat ft = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; SimpleDateFormat(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;ddMMyy_HHmmss&quot;&lt;/span&gt;);
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; String screenshotFolder=ft.format(dNow);

 @Test
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; testFacebook() &lt;span style=&quot;color: blue;&quot;&gt;throws&lt;/span&gt; Exception {
  driver.get(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;https://www.facebook.com&quot;&lt;/span&gt;);
  driver.findElement(By.id(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;email&quot;&lt;/span&gt;)).sendKeys(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;WebDriverEventListener&quot;&lt;/span&gt;);
  driver.findElement(By.id(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;pass&quot;&lt;/span&gt;)).sendKeys(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Password&quot;&lt;/span&gt;);
  driver.findElement(By.id(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;u_0_1&quot;&lt;/span&gt;)).sendKeys(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;FirstName&quot;&lt;/span&gt;);
  driver.findElement(By.id(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;u_0_3&quot;&lt;/span&gt;)).sendKeys(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;LastName&quot;&lt;/span&gt;);
  driver.findElement(By.id(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;u_0_5&quot;&lt;/span&gt;)).sendKeys(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;1234567890&quot;&lt;/span&gt;);
  driver.findElement(By.id(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;u_0_8&quot;&lt;/span&gt;)).sendKeys(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;1234567890&quot;&lt;/span&gt;);
  driver.findElement(By.id(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;u_0_a&quot;&lt;/span&gt;)).sendKeys(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;password&quot;&lt;/span&gt;);
  
 }

 @BeforeClass
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; beforeClass() {
  &lt;span style=&quot;color: green;&quot;&gt;//create an object for webdriver&lt;/span&gt;
  wdriver = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; FirefoxDriver();
  &lt;span style=&quot;color: green;&quot;&gt;//create an object for EventFiringWebDriver&lt;/span&gt;
  driver = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; EventFiringWebDriver(wdriver);
  &lt;span style=&quot;color: green;&quot;&gt;//this is class which implements WebDriverEventListener&lt;/span&gt;
  MyListener myListener = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; MyListener();
  &lt;span style=&quot;color: green;&quot;&gt;//registering EventFiringWebDriver to normal webdriver&lt;/span&gt;
  driver.register(myListener);
  driver.manage().window().maximize();
  driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
  &lt;span style=&quot;color: green;&quot;&gt;/*System.setProperty(&quot;webdriver.chrome.driver&quot;, &quot;D:\\Jar\\chromedriver.exe&quot;);&lt;/span&gt;
&lt;span style=&quot;color: green;&quot;&gt;  driver = new ChromeDriver();*/&lt;/span&gt;
 }

 @AfterClass
 &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;void&lt;/span&gt; afterClass() &lt;span style=&quot;color: blue;&quot;&gt;throws&lt;/span&gt; Exception {
  driver.quit();
 }

}
&lt;/pre&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/524013220754710992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/09/class-eventfiringwebdriver-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/524013220754710992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/524013220754710992'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/09/class-eventfiringwebdriver-and.html' title='Class EventFiringWebDriver and Interface WebDriverEventListener'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-7949759089047989571</id><published>2015-09-02T09:22:00.000+05:30</published><updated>2015-09-02T09:22:24.422+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="GitHub"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Creating a Github Repository for Selenium Webdriver Project</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;This post is regarding Creating a repository using Git and Eclipse.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;GitHub:&lt;/b&gt;&lt;br /&gt;
&lt;ol style=&quot;background-color: white; border: 0px; color: #222222; font-family: arial, sans-serif; font-size: small; line-height: 15.6000003814697px; margin: 0px; padding: 0px;&quot;&gt;
&lt;li class=&quot;mod&quot; data-md=&quot;61&quot; style=&quot;border: 0px; clear: none; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;&quot;&gt;&lt;div class=&quot;_oDd&quot; data-hveid=&quot;36&quot; style=&quot;overflow: hidden; padding-bottom: 20px;&quot;&gt;
&lt;span class=&quot;_Tgc&quot; style=&quot;font-size: 16px;&quot;&gt;&lt;b&gt;GitHub&lt;/b&gt;&amp;nbsp;is a Web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features. More information about GitHub:&amp;nbsp;&lt;a href=&quot;https://github.com/about&quot; target=&quot;_blank&quot;&gt;Click Here&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;What is need of Version Control System?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Version Control/Source Control/Revision Control is a system remembers history of your files.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Ex:&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below are some of the reasons why we use Repository.&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. Lets assume there are 4 resources in your project and Resource 1 developed a function which is useful to other members, then he need to save that file in central location where every one can get that function.&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2.&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;Made a change to code,&amp;nbsp;realized&amp;nbsp;it was a mistake and wanted to revert back&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; font-size: 15px; line-height: 19.5px;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-size: 15px; line-height: 19.5px;&quot;&gt;Lost code or had a backup that was too old&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; font-size: 15px; line-height: 19.5px;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-size: 15px; line-height: 19.5px;&quot;&gt;Wanted to see the difference between two (or more) versions of your code&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Advantages&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #222222; font-size: 15px; line-height: 19.5px; margin: 0px 0px 1em 30px; padding: 0px;&quot;&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Made a change to code, realized it was a mistake and wanted to revert back?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Lost code or had a backup that was too old?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Had to maintain multiple versions of a product?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Wanted to see the difference between two (or more) versions of your code?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Wanted to prove that a particular change broke or fixed a piece of code?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Wanted to review the history of some code?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Wanted to submit a change to someone else&#39;s code?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Wanted to share your code, or let other people work on your code?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Wanted to see how much work is being done, and where, when and by whom?&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; margin: 0px 0px 0.5em; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Wanted to experiment with a new feature without interfering with working code?&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Create GitHub Account:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Navigate to&amp;nbsp;&lt;a href=&quot;https://github.com/join&quot; target=&quot;_blank&quot;&gt;Join GitHub&lt;/a&gt;&amp;nbsp;and Create an account.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;By default Free account will be chosen. Click Finish Signup button.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;You will get a verification email and click Verify Email button in that email.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;After clicking that it will navigate you to GitHub Home Page. Where you can create repositories.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Prerequisites:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Eclipse Latest Version (At least Luna)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Sample Webdriver Project using Maven (&lt;a href=&quot;http://www.testerinyou.com/2015/08/create-sample-maven-project.html&quot; target=&quot;_blank&quot;&gt;Create-sample-maven-project.html&lt;/a&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;GitHub Account&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Steps to Create Git Repository:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. In eclipse Right click on Project Team --Share Project.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. Select Git and Click Next.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;3. Click on Create button and Give path of local repository (F:\Gitrepo&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEhT4Rqd_5jF_J5sUYz_KAHTr5zH-Ov640Wxf3qL_31rLMxvPWMM_YtijNKplvV-y3OqSE02U-yF-iJK2IYIa5amhms1R7YD32h7pNR2JN-nJ-3l-aYdqd7DeUgfAA1hPY4v2wt4gzlMGxDM/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT4Rqd_5jF_J5sUYz_KAHTr5zH-Ov640Wxf3qL_31rLMxvPWMM_YtijNKplvV-y3OqSE02U-yF-iJK2IYIa5amhms1R7YD32h7pNR2JN-nJ-3l-aYdqd7DeUgfAA1hPY4v2wt4gzlMGxDM/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
4. Now Enable Git related Views ... Window--Show View --Other --Git --Git repositories and Git Staging&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/AVvXsEilTC5JyGAqp_7jGYws2uOsaAQ1Bc5UZ9dBx8GIxO_AkMHRn-_zl4JeoI4U9-ZrgcXnVmd2dQ629pMa6k3fDwpir9ZoQFTUb6m19utQ7xNW_5_hpVrJ63kDPNtMsOzqvZh1G6H_WzuGTByV/s1600/2.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;88&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilTC5JyGAqp_7jGYws2uOsaAQ1Bc5UZ9dBx8GIxO_AkMHRn-_zl4JeoI4U9-ZrgcXnVmd2dQ629pMa6k3fDwpir9ZoQFTUb6m19utQ7xNW_5_hpVrJ63kDPNtMsOzqvZh1G6H_WzuGTByV/s320/2.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
5. Now if you observe project is moved to (F:\Gitrepo)&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;6. Now lets commit our changes to local repo.. Right click on project --Team---Commit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;7. Enter a commit message this is a best practice and select files you want to commit. Click Commit.&lt;/span&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/AVvXsEgZNTjZZ4_1JYL_BKsNW3oqOYVUW2naus286mCMrg52O0FY55tpBpH9CDvITyjS9mX723aQUcW8wNd9A5UerrXFnUdyxjEzyhen32TxiRci_YhRPKAa9C5RG0omulYaN-UNGBX6qTvTYC7T/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZNTjZZ4_1JYL_BKsNW3oqOYVUW2naus286mCMrg52O0FY55tpBpH9CDvITyjS9mX723aQUcW8wNd9A5UerrXFnUdyxjEzyhen32TxiRci_YhRPKAa9C5RG0omulYaN-UNGBX6qTvTYC7T/s320/3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;8. Once you committed it will create a master under local folder.&lt;/span&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/AVvXsEgT2MbHcfjszthkDWZLTuuzPAVfTu-dAhhm2eIW4YjuMG4dUe5kxAabxkZwGIZguDDA-dZeBZISOJ_KUd2UpdSwz8czlC1GCN3CJ5kEQ0JkAINMtwbeD358pCxMa7J7Yti-OWWQAarY8SbI/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT2MbHcfjszthkDWZLTuuzPAVfTu-dAhhm2eIW4YjuMG4dUe5kxAabxkZwGIZguDDA-dZeBZISOJ_KUd2UpdSwz8czlC1GCN3CJ5kEQ0JkAINMtwbeD358pCxMa7J7Yti-OWWQAarY8SbI/s320/4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
9. Now Navigate to GitHUb and create a repository.&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/AVvXsEg-EtiZjTmlHgKb8WV2EAk77EVDipBaDpP-40iL27dMH3EcPQZP0AzRaQW7vF1hyDRloiTI_dUzqRgwClcZqA21YczI1QbrrSp7iucE8LE-6CU-v9y_PTXmZrM79C9mgqQdIhPaV3ftqtEe/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-EtiZjTmlHgKb8WV2EAk77EVDipBaDpP-40iL27dMH3EcPQZP0AzRaQW7vF1hyDRloiTI_dUzqRgwClcZqA21YczI1QbrrSp7iucE8LE-6CU-v9y_PTXmZrM79C9mgqQdIhPaV3ftqtEe/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
10. Once the repo is created copy repo URL as shown in below screenshot.&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/AVvXsEhk8qPUUe_KHDF1-ZcKVLDaHx7HfV63VepuXB3h8C1-DDTSjs_tCdf1ZEKo0-CtFQVCu3yUukz6dyxGUXOHRwnOnyNmRh4JuC991GjCIeFXHRfWw4TunIHPp0lheZkVC1ld42dONafkBErv/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhk8qPUUe_KHDF1-ZcKVLDaHx7HfV63VepuXB3h8C1-DDTSjs_tCdf1ZEKo0-CtFQVCu3yUukz6dyxGUXOHRwnOnyNmRh4JuC991GjCIeFXHRfWw4TunIHPp0lheZkVC1ld42dONafkBErv/s320/6.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
11. Now back to eclipse and Right click on remotes under Git repositories --Create Remotes&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
12. No Need to change name..Click OK.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
13. in the next screen click Change and enter repo url and credentials.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;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/AVvXsEiOPuSqaIHkSHiPENbermg2D7gBUsGb9TN01CfBrv2iN9Qvxg1rUV_0PJVjsgrLGyqp7IzY0csrT7ToNRiRCOzxxaaoetxf-At5Mg4SG-hLVSaJEDXT1JEgjBbQGLBIDx-16Iul1mPNHX3a/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;293&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOPuSqaIHkSHiPENbermg2D7gBUsGb9TN01CfBrv2iN9Qvxg1rUV_0PJVjsgrLGyqp7IzY0csrT7ToNRiRCOzxxaaoetxf-At5Mg4SG-hLVSaJEDXT1JEgjBbQGLBIDx-16Iul1mPNHX3a/s320/7.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
14. Click advanced select Master from dropdown and click add spec and check save configuration check box...click finish..&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
15. Click Save.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
16. Expand remote under Git repositories and you can see Origin under remote folder.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
17. Right click on Red arrow Under Origin and select push.&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/AVvXsEjOmPOATg4FMbbexo8tj09fVlCWJcahlP80mFCpc7Fd9FQLdXKntNuznI-dFI-ZJ7bYxR6wX-5rJDZLLsnedz8Ezq9SLklqOE7_CWsGPlQKZsTaxOtSq3YBlM4m7lcak7Y8JKh6jYwzM08q/s1600/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;141&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOmPOATg4FMbbexo8tj09fVlCWJcahlP80mFCpc7Fd9FQLdXKntNuznI-dFI-ZJ7bYxR6wX-5rJDZLLsnedz8Ezq9SLklqOE7_CWsGPlQKZsTaxOtSq3YBlM4m7lcak7Y8JKh6jYwzM08q/s320/8.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
18. Changes will be pushed to repo. Check your Github repo.&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/AVvXsEiVKUYGm4UzLwEIEN3sFdeoOBbFFB_1XcXkubJ4Y2BOF-9lGTGHGlu2txx25ft1CE5xDZMPOLDYfQ7zJVOaDPZHSc8I5Pq9eJ-rv6QaTAEl7aSdaL-5Ps8erioyNFbO63UlSX5kw42mQ2H6/s1600/9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVKUYGm4UzLwEIEN3sFdeoOBbFFB_1XcXkubJ4Y2BOF-9lGTGHGlu2txx25ft1CE5xDZMPOLDYfQ7zJVOaDPZHSc8I5Pq9eJ-rv6QaTAEl7aSdaL-5Ps8erioyNFbO63UlSX5kw42mQ2H6/s320/9.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
This is How to create repo in Github....&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Update local file and commit changes to Gitrepo:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
1. Update one file in eclipse.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
2.&amp;nbsp;&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/AVvXsEi27MNQB59LJj_gF7Kn8iPcozwwtfB1k0AnxjOKMZJTvcmo1qpN_a_E61rj1OJMzuLyn1DKR5tzjaUIzhnSUtaakTU9WqMhH7Am5ZCptk7FCBR4CkccGetc1ryZ0kmoIIG7_r5e_IPkRHdT/s1600/10.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi27MNQB59LJj_gF7Kn8iPcozwwtfB1k0AnxjOKMZJTvcmo1qpN_a_E61rj1OJMzuLyn1DKR5tzjaUIzhnSUtaakTU9WqMhH7Am5ZCptk7FCBR4CkccGetc1ryZ0kmoIIG7_r5e_IPkRHdT/s320/10.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3. Right click on File Team --Commit and enter commit message&lt;/div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEj8l4uz-kPfKo0BKH1-9hiBXu_1rUKigOdYdodws1Evb6F1x0g3_HFGKiH1n2sDE1VYRBncmkp_bdZubBIcvPnsVVbPG0WMnTkr_GfKUJ_N06f4mb1FXr8Ry_kNrroFlSaqRvTCUQ8pFTwY/s1600/11.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8l4uz-kPfKo0BKH1-9hiBXu_1rUKigOdYdodws1Evb6F1x0g3_HFGKiH1n2sDE1VYRBncmkp_bdZubBIcvPnsVVbPG0WMnTkr_GfKUJ_N06f4mb1FXr8Ry_kNrroFlSaqRvTCUQ8pFTwY/s320/11.jpg&quot; width=&quot;316&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
4. Click Commit and Push..Enter credentials changes will be pushed to repo.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
5.&amp;nbsp;&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/AVvXsEj3zUaugZ28g4pqffV54nPlaAHy1ce5AkI9Cgef5e9EpE-U2v_vffWSJuvV9TPYv2PtepWyCJ3T7rA6sVQV7c3i7PBFE8hE8QCfz99tHtuZLLcDH3MASb0GQggnlnSHvxmzJoHW0Thn1Fnd/s1600/12.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3zUaugZ28g4pqffV54nPlaAHy1ce5AkI9Cgef5e9EpE-U2v_vffWSJuvV9TPYv2PtepWyCJ3T7rA6sVQV7c3i7PBFE8hE8QCfz99tHtuZLLcDH3MASb0GQggnlnSHvxmzJoHW0Thn1Fnd/s320/12.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Thats it..this is how to create repo and commit your changes.&lt;/div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/7949759089047989571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/09/creating-github-repository-for-selenium.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7949759089047989571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/7949759089047989571'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/09/creating-github-repository-for-selenium.html' title='Creating a Github Repository for Selenium Webdriver Project'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT4Rqd_5jF_J5sUYz_KAHTr5zH-Ov640Wxf3qL_31rLMxvPWMM_YtijNKplvV-y3OqSE02U-yF-iJK2IYIa5amhms1R7YD32h7pNR2JN-nJ-3l-aYdqd7DeUgfAA1hPY4v2wt4gzlMGxDM/s72-c/1.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-3482078227697065614</id><published>2015-08-26T15:33:00.000+05:30</published><updated>2015-08-26T15:33:13.500+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AutoIT"/><category scheme="http://www.blogger.com/atom/ns#" term="File Upload"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Integrate AutoIT with Selenium Webdriver</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this post we will discuss about how to Integrate AutoIT with Selenium Webdriver.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Need of AutoIT in Webdirver:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Webdriver can only interact with web applications, it can not interact with desktop components or Browser related popups.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here are some of the situations where we need to take help of 3rd Party tools (Auto IT).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;File Uploads.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Downloads.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Handling User Authentications etc..&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;We will see below points:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. What is AutoIT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Features of AutoIT&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3. How to Install?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4. How to use?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;5. Integrate AutoIT and Webdriver&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;What is AutoIT and Features :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-size: 14px; line-height: 23.7999992370605px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying “runtimes” required!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-size: 14px; line-height: 23.7999992370605px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #666666; font-size: 14px; line-height: 26px; margin: 0px; outline: 0px; padding: 0px 0px 23px 16px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background: transparent; border: 0px; box-sizing: border-box; list-style-position: inside; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Easy to learn BASIC-like syntax&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; box-sizing: border-box; list-style-position: inside; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Simulate keystrokes and mouse movements&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; box-sizing: border-box; list-style-position: inside; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Manipulate windows and processes&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; box-sizing: border-box; list-style-position: inside; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Interact with all standard windows controls&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; box-sizing: border-box; list-style-position: inside; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scripts can be compiled into standalone executables&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; box-sizing: border-box; list-style-position: inside; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create Graphical User Interfaces (GUIs)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 26px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;More details you can find here &amp;nbsp;--&lt;/span&gt;&lt;span style=&quot;font-family: Open Sans, Arial, sans-serif;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.autoitscript.com/site/autoit/&quot; style=&quot;font-family: &#39;Open Sans&#39;, Arial, sans-serif;&quot; target=&quot;_blank&quot;&gt;AutoIT Features&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Install AutoIT:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #555555; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;To install AutoIt first download the AutoIt exe file from the below location.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #555555; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #555555; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&lt;a href=&quot;https://www.autoitscript.com/site/autoit/downloads/&quot; target=&quot;_blank&quot;&gt;Download AutoIT&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Click on the topmost download for AutoIT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Follow the instructions to install AutoIT.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Record AutoIT script&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;AutoIT has record feature. We can record script using AutoIT, for that we need AutoIT script Editor&lt;/span&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Download AutoIT Script Editor:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In Auto IT downloads page we have one more file called &quot;Download Editor&quot;. Once you click on that it will navigte to downlaods page, then download &quot;&lt;/span&gt;&lt;a href=&quot;https://www.autoitscript.com/cgi-bin/getfile.pl?../autoit3/scite/download/SciTE4AutoIt3.exe&quot;&gt;SciTE4AutoIt3.exe&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&quot; file.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;How to Use:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Scenario:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Navigate to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;http://www.dropzonejs.com/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Click on Try it Out section --It will open window (upload file window)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3. select a file and click open&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4. Verify uploaded file in Try it Out section.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAdESGAw6vZXxxidFCwaIsGXrbHloYubEvUVZW15U9DR7AA_kGw38LVnN56EudZ_Ld6xq_U-VQGTwhOnamtxk14WVLNfLdT3gNdU9ho5WNcbP1hXUJdiFVIvML0bUX1JSVTYRjimw5vuya/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAdESGAw6vZXxxidFCwaIsGXrbHloYubEvUVZW15U9DR7AA_kGw38LVnN56EudZ_Ld6xq_U-VQGTwhOnamtxk14WVLNfLdT3gNdU9ho5WNcbP1hXUJdiFVIvML0bUX1JSVTYRjimw5vuya/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;First lets see how to create AutoIT script to upload file.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you want help about commands you can navigate to&amp;nbsp;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;Start &amp;nbsp;&amp;gt; All Program &amp;gt; AutoIt v3&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;gt; Autoit Help file. &amp;nbsp;and search for commands.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;In the above scenario i need to upload file. After clicking on try it Out it will open a Upload file window.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;Need to identify Locators (text box).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-size: 14px; line-height: 22px;&quot;&gt;AutoIt has given us Windows Info tool, it is same like&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;Object Spy&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp;in QTP and Element Inspector in any Browser. To open it go to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;All Program&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;AutoIt v3&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;AutoIt Window Info.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;Now&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;drag&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&amp;nbsp;the ‘&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); box-sizing: border-box; color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0px; padding: 0px;&quot;&gt;Finder Tool&lt;/span&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;‘ box to the object in which you are interested.&lt;/span&gt;&lt;/span&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/AVvXsEi4PZ0P8xlq9-9cdKGIapgmyHCWTnSe9Hx21dRtrXYkHmOLZWRz3nAUEX-gRDjE8IoMvShZ6Pjo8PUkb7gAHpcmfWqR5Omtmq0DRZvREuJuCnJX_MmNwMgJmdavUqjYDPEoTZSQ-diIq1QA/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4PZ0P8xlq9-9cdKGIapgmyHCWTnSe9Hx21dRtrXYkHmOLZWRz3nAUEX-gRDjE8IoMvShZ6Pjo8PUkb7gAHpcmfWqR5Omtmq0DRZvREuJuCnJX_MmNwMgJmdavUqjYDPEoTZSQ-diIq1QA/s320/3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;You can see that Windows Info tool has populated all the information which is required to use the method.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;Write Automation script to Upload file:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=B9BSg1bV&quot;&gt;&lt;/script&gt;
&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); color: #38393a; font-family: &#39;Open Sans&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;Save that file with extension .au3 and Convert script to .exe file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&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/AVvXsEik70DKSKX526jdQDDnpGW5NYqtIX7Vk5FQ0JnZ9ruZpYOgbzOfSR685exZHXQLjSpjTKtkYYWy0nvKH01yCrzMM1lUEe9gLZs0Cv1RmjAu_g1U9bPZ3CkO-9yhDFtFbdrWnFK4OecUm86v/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik70DKSKX526jdQDDnpGW5NYqtIX7Vk5FQ0JnZ9ruZpYOgbzOfSR685exZHXQLjSpjTKtkYYWy0nvKH01yCrzMM1lUEe9gLZs0Cv1RmjAu_g1U9bPZ3CkO-9yhDFtFbdrWnFK4OecUm86v/s320/4.jpg&quot; width=&quot;147&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After compilation you will get Upload.exe file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;How to use file in Webdriver:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: rgba(255, 255, 255, 0.541176); font-size: 14px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;Runtime&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;getRuntime&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;exec&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;&quot;D:\downloads\Uplaod.exe&quot;&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 11px; height: inherit; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; height: inherit; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Below is the code how to use Auto It in Webdirver:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=nXRe0Bq2&quot;&gt;&lt;/script&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; height: inherit; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;background-color: #fdfdfd; height: inherit; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666; font-family: Open Sans, Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;

&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/3482078227697065614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/08/integrate-autoit-with-selenium-webdriver.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3482078227697065614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3482078227697065614'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/08/integrate-autoit-with-selenium-webdriver.html' title='Integrate AutoIT with Selenium Webdriver'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAdESGAw6vZXxxidFCwaIsGXrbHloYubEvUVZW15U9DR7AA_kGw38LVnN56EudZ_Ld6xq_U-VQGTwhOnamtxk14WVLNfLdT3gNdU9ho5WNcbP1hXUJdiFVIvML0bUX1JSVTYRjimw5vuya/s72-c/2.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-3960741415413173138</id><published>2015-08-25T16:45:00.000+05:30</published><updated>2015-08-25T16:45:16.459+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANT"/><category scheme="http://www.blogger.com/atom/ns#" term="Build tool"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="TestNG"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>ANT with Selenium Webdriver and TestNG (Selenium Ant TestNG)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In this article i would like to write something about Build tool ANT.&amp;nbsp;&lt;a href=&quot;http://ant.apache.org/&quot; target=&quot;_blank&quot;&gt;http://ant.apache.org/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;A build tool stores, executes automates all the process in a sequential order(Clean, SetPath, Compile and Execute) mentioned in Ant&#39;s build.xml file.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Benefits of ANT:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. It is a simple build tool all configurations we can do from build.xml file.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. Configuration is separate from application.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;3. ANT is written in Java but its a platform independent tool. (Requires JDK)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;4. We can create Jar files, Java doc.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;5. Copy files to different locations&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;6. Can create directories and folders&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;7. Can create HTML reports.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;8. It supports Junit4 and TestNG unit testing frameworks.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;How to Setup ANT&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. Download ant from &amp;nbsp;&lt;a href=&quot;http://ant.apache.org/bindownload.cgi&quot; target=&quot;_blank&quot;&gt;Download ANT&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJHB8UferVaQWnlZACBiOr0r5o-GqniNp0SfNV869fNq9xM8dTMyY0UhOi-VPmIe3yUe0Emn6Oq31jc9gEp8lITgzbf5qz6fEYKwAFCeqvpkqAYiAuuzCkXtFwwHfl-aKPrKC8V6QKZHh0/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJHB8UferVaQWnlZACBiOr0r5o-GqniNp0SfNV869fNq9xM8dTMyY0UhOi-VPmIe3yUe0Emn6Oq31jc9gEp8lITgzbf5qz6fEYKwAFCeqvpkqAYiAuuzCkXtFwwHfl-aKPrKC8V6QKZHh0/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. Unzip ant folder and place it in a folder (D:\ant)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;3. Set ANT_HOME and Path in environmental variable.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiybmzoo4pZXvby62GKMfPxIiMxSS51GjfoQqM9LHqiXbRd8Ot-YGMOQsYYzVfpBYRDE0iG_428lAKI92_RNf09Be-KQ2RZ_brHIsb7xRykQQAe0tQb7ZaL1cAf7zfskTOezHLXG0HED5im/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiybmzoo4pZXvby62GKMfPxIiMxSS51GjfoQqM9LHqiXbRd8Ot-YGMOQsYYzVfpBYRDE0iG_428lAKI92_RNf09Be-KQ2RZ_brHIsb7xRykQQAe0tQb7ZaL1cAf7zfskTOezHLXG0HED5im/s320/2.jpg&quot; width=&quot;268&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYrBkVU5nHQHwpD6p9iBW6wUvbnavF4g6JJKGoaxSBpFRhxNwibYqR1DNv9Wc3Vpu7QSwgdxnoMcCSJdAzBnjVUyrMRVgwP8LV6WM95kygymp6GaYG9Xlu5GIe984A5dDtgKZ0hCSZQH8A/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYrBkVU5nHQHwpD6p9iBW6wUvbnavF4g6JJKGoaxSBpFRhxNwibYqR1DNv9Wc3Vpu7QSwgdxnoMcCSJdAzBnjVUyrMRVgwP8LV6WM95kygymp6GaYG9Xlu5GIe984A5dDtgKZ0hCSZQH8A/s320/3.jpg&quot; width=&quot;269&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;4. Verify ANT. Open Command prompt and type in ant -version...shows you version of ANT.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Using ANT from Eclipse:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Download Sample ANT Selenium and TestNG&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;project From Here..&lt;a href=&quot;https://drive.google.com/file/d/0B-7LhDoS38TwMFpiakFCMlNBS00/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;ANT-Selenium-TestNG&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Folder Structure of Project Looks like this:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&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/AVvXsEiiIrpzLpFl9LY7Cxf5kspmRc03mNwpzNUgjjSafjDeaGNB2Mi6BvVcebd09puXmgXOlEV_MEBybsahfqVVxfzkDQ87kB81fBEYwk1lQfBZmkHBKcd42yLjidqB-ehMWGYgjjyJEzmBZ7sg/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiIrpzLpFl9LY7Cxf5kspmRc03mNwpzNUgjjSafjDeaGNB2Mi6BvVcebd09puXmgXOlEV_MEBybsahfqVVxfzkDQ87kB81fBEYwk1lQfBZmkHBKcd42yLjidqB-ehMWGYgjjyJEzmBZ7sg/s1600/5.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;If you want to run ant from command prompt then use brlow command&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. Navigate to project directory&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. use command &amp;nbsp;--- ant run.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Below is build.xml file.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&amp;lt;project name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Experiment_Ant&quot;&lt;/span&gt; basedir=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;.&quot;&lt;/span&gt;&amp;gt;

 &lt;span style=&quot;color: green;&quot;&gt;&amp;lt;!-- Defining property --&amp;gt;&lt;/span&gt;

 &amp;lt;property name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;project.dir&quot;&lt;/span&gt; value=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${basedir}&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;property name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;build.dir&quot;&lt;/span&gt; value=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${basedir}/build&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;property name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;jar.dir&quot;&lt;/span&gt; value=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${basedir}/lib&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;property name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;src.dir&quot;&lt;/span&gt; value=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${basedir}/src&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;property name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;ng.result&quot;&lt;/span&gt; value=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;test-output&quot;&lt;/span&gt; /&amp;gt;

 &lt;span style=&quot;color: green;&quot;&gt;&amp;lt;!-- Setting Classpath for jar files --&amp;gt;&lt;/span&gt;
 &amp;lt;target name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;setClassPath&quot;&lt;/span&gt;&amp;gt;
  &amp;lt;path id=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;classpath_jars&quot;&lt;/span&gt;&amp;gt;
   &amp;lt;pathelement path=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${basedir}/&quot;&lt;/span&gt; /&amp;gt;
   &amp;lt;fileset dir=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${jar.dir}&quot;&lt;/span&gt;&amp;gt;
    &amp;lt;include name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;*.jar&quot;&lt;/span&gt; /&amp;gt;
   &amp;lt;/fileset&amp;gt;
  &amp;lt;/path&amp;gt;
  &amp;lt;pathconvert pathsep=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;:&quot;&lt;/span&gt; property=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;test.classpath&quot;&lt;/span&gt; refid=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;classpath_jars&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;/target&amp;gt;
 &lt;span style=&quot;color: green;&quot;&gt;&amp;lt;!-- Loading Testng --&amp;gt;&lt;/span&gt;
 &amp;lt;target name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;loadTestNG&quot;&lt;/span&gt; depends=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;setClassPath&quot;&lt;/span&gt;&amp;gt;
  &amp;lt;taskdef resource=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;testngtasks&quot;&lt;/span&gt; classpath=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${test.classpath}&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;/target&amp;gt;
 &lt;span style=&quot;color: green;&quot;&gt;&amp;lt;!-- Deleting directories --&amp;gt;&lt;/span&gt;
 &amp;lt;target name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;clean&quot;&lt;/span&gt;&amp;gt;
  &amp;lt;echo message=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;deleting existing build directory &quot;&lt;/span&gt; /&amp;gt;
  &amp;lt;delete dir=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${build.dir}&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;/target&amp;gt;
 &lt;span style=&quot;color: green;&quot;&gt;&amp;lt;!-- Creating build folder to store compiled classes --&amp;gt;&lt;/span&gt;
 &amp;lt;target name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;init&quot;&lt;/span&gt; depends=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;clean,setClassPath&quot;&lt;/span&gt;&amp;gt;
  &amp;lt;mkdir dir=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${build.dir}&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;/target&amp;gt;
 &lt;span style=&quot;color: green;&quot;&gt;&amp;lt;!-- Compiling java files --&amp;gt;&lt;/span&gt;
 &amp;lt;target name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;compile&quot;&lt;/span&gt; depends=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;clean,init,setClassPath,loadTestNG&quot;&lt;/span&gt;&amp;gt;
  &amp;lt;echo message=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&quot;&lt;/span&gt; /&amp;gt;
  &amp;lt;echo message=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;compiling……….&quot;&lt;/span&gt; /&amp;gt;
  &amp;lt;javac destdir=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${build.dir}&quot;&lt;/span&gt; srcdir=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${src.dir}&quot;&lt;/span&gt;
   includeantruntime=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;false&quot;&lt;/span&gt; classpath=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${test.classpath}&quot;&lt;/span&gt; /&amp;gt;
 &amp;lt;/target&amp;gt;
 &amp;lt;target name=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;run&quot;&lt;/span&gt; depends=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;compile&quot;&lt;/span&gt;&amp;gt;
  &amp;lt;testng classpath=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${test.classpath}:${build.dir}&quot;&lt;/span&gt;&amp;gt;
   &amp;lt;xmlfileset dir=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;${basedir}&quot;&lt;/span&gt; includes=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;testng.xml&quot;&lt;/span&gt; /&amp;gt;
  &amp;lt;/testng&amp;gt;
 &amp;lt;/target&amp;gt;

&amp;lt;/project&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/3960741415413173138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/08/ant-with-selenium-webdriver-and-testng.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3960741415413173138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/3960741415413173138'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/08/ant-with-selenium-webdriver-and-testng.html' title='ANT with Selenium Webdriver and TestNG (Selenium Ant TestNG)'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJHB8UferVaQWnlZACBiOr0r5o-GqniNp0SfNV869fNq9xM8dTMyY0UhOi-VPmIe3yUe0Emn6Oq31jc9gEp8lITgzbf5qz6fEYKwAFCeqvpkqAYiAuuzCkXtFwwHfl-aKPrKC8V6QKZHh0/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3462645937568625140.post-6918019703882897035</id><published>2015-08-18T16:28:00.001+05:30</published><updated>2015-08-18T16:33:38.973+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Maven"/><category scheme="http://www.blogger.com/atom/ns#" term="Selenium 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Webdriver"/><title type='text'>Create a Sample Maven Project</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;In this post i would like to discuss about Maven.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Here are few basic questions:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;What is Maven?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;What are the advantages of Maven.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;How to use Maven in Selenium projects.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;How to Create a maven project?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;What is Maven:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Maven -- is a build tool and it is mainly used for Java projects.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Maven is used to manage dependencies.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;For example if you are using selenium latest version 2.47.1 and later point of time if you have to upgrade to newer version of selenium, then it can be manged very easily by using Maven dependencies.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;What are the advantages of Maven.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;It is a build tool, so it is used to setup everything which is required to run your java code independently.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Maven provides pom.xml which is core to any project.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Maven is used to manage dependencies.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Maven is a plugin for many of IDEs. (Eclipse, Netbeans, IntelliJ etc..)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Frequently used terms in Maven:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;GroupID&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Group id refers to domain ID. For example you can use company name as groupID.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Artifact ID:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Name of the project. what ever the name you provide in artifact ID it is nothing but your project ID.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Local repository:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Maven downloads all required jar files and stores in local repository with folder name .m2 (C:\Users\username\.m2&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Maven Set Up:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Pre-requisites:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Make sure Java is installed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Make sure Java_Home and path are set under environmental properties.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Latest version of eclipse (Luna or Mars)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;If you are using Luna or Mars you need not to install Maven plug in, bcs maven plug in is already installed in these versions of&amp;nbsp;Eclipse&amp;nbsp;&lt;a href=&quot;http://www.eclipse.org/downloads/&quot; target=&quot;_blank&quot;&gt;EclipseIDE&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Verify Maven is already installed or not.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. Open Eclipse, Click on Help ----&amp;gt; select About Eclipse..a window will open.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;if you see m2 symbol there ..that means maven is installed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&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/AVvXsEj_yB8XJ6FWlByGXo88JD0xN8POiFRGn_6DnEw1gWCECwTxdykYTGq7A9DZQ8tf47AQ8QI0rFXEg6nF6Ainp4rGzQdJB53ZRyOy7ivp_Z6LlloK3x1XiY9ik_RGxA99kRKEFxRwD7TDce8z/s1600/m2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_yB8XJ6FWlByGXo88JD0xN8POiFRGn_6DnEw1gWCECwTxdykYTGq7A9DZQ8tf47AQ8QI0rFXEg6nF6Ainp4rGzQdJB53ZRyOy7ivp_Z6LlloK3x1XiY9ik_RGxA99kRKEFxRwD7TDce8z/s320/m2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Create Maven Project:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;1. File ---New --Other ---Expand Maven and select Maven Project&lt;/span&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/AVvXsEj9MnluOu69edT2TBJKMa2mFdqxs5y2dAY6LoJv4XJNFtkYIXDJvMOQMjUKLfETqQiR6cNC5cjp3KhG3dd2dmL5KZALylR_zu1mbvAulAotB6yJa_oVX1VTbyoeCCK6QjhhEN4j5PAZMTgU/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;307&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9MnluOu69edT2TBJKMa2mFdqxs5y2dAY6LoJv4XJNFtkYIXDJvMOQMjUKLfETqQiR6cNC5cjp3KhG3dd2dmL5KZALylR_zu1mbvAulAotB6yJa_oVX1VTbyoeCCK6QjhhEN4j5PAZMTgU/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;2. Click Next in &quot;New Maven Project Screen&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;3. select &quot;maven-archetype-quickstart&quot; from list of artifacts. (be default quickstart will be selected)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;4. Enter Group ID, Artifact ID Click Finish&lt;/span&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/AVvXsEj0h23GUevQGg_pb6JN4kOVbNMhPjrzxlqeF4zIted0cIxuZIdC02KVb_BIWLTCSuQgH8WF2bYwaHPc4KeXM-ioftewNkr2wkpPNK_Ol2XhB5Oq5tL0LS_LtMCvQeGje8Db8SzvH2yYfbEJ/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0h23GUevQGg_pb6JN4kOVbNMhPjrzxlqeF4zIted0cIxuZIdC02KVb_BIWLTCSuQgH8WF2bYwaHPc4KeXM-ioftewNkr2wkpPNK_Ol2XhB5Oq5tL0LS_LtMCvQeGje8Db8SzvH2yYfbEJ/s320/3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;5. Once you created a project in eclipse you can see the project&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;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/AVvXsEincHw7rsJ-YyJyM5s7bUn7x_eT8XluEEi_DOa_Op0G_52WvOrtxMXiqQVEtVeS_8SRSLxCZTs85E-RiwLpC4n_kERNEIGGglL28tfI8i-wqjUct0zOW0ru3-v197JExwl9wwtQozI-_Rzx/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEincHw7rsJ-YyJyM5s7bUn7x_eT8XluEEi_DOa_Op0G_52WvOrtxMXiqQVEtVeS_8SRSLxCZTs85E-RiwLpC4n_kERNEIGGglL28tfI8i-wqjUct0zOW0ru3-v197JExwl9wwtQozI-_Rzx/s1600/4.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Add Dependencies:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Open &lt;i&gt;pom.xml&lt;/i&gt;&lt;br /&gt;
Click on pom.xml tab&lt;br /&gt;
Add a testNG dependency.&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Navigate to&amp;nbsp;&lt;a href=&quot;http://mvnrepository.com/&quot; target=&quot;_blank&quot;&gt;MavenRepository&lt;/a&gt;&amp;nbsp;and search for TestNG&lt;/li&gt;
&lt;li&gt;Select the desired version.&lt;/li&gt;
&lt;li&gt;Copy testNG dependency and paste it in pom.xml&lt;/li&gt;
&lt;/ol&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/AVvXsEhWgpUNi0xGuxfq5k-eQpwMAxQtO7XKv3_6ddJntAoCAz0yNm9zzPCLh9iKKPVlO6FG9KphyphenhyphenP9wEdpAFzTZAKpFXo3e3aeNYM-Zlm_tbgBpSjXzGVywNSxyAle3BtEbGByfaGsY7dHY3I1q/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWgpUNi0xGuxfq5k-eQpwMAxQtO7XKv3_6ddJntAoCAz0yNm9zzPCLh9iKKPVlO6FG9KphyphenhyphenP9wEdpAFzTZAKpFXo3e3aeNYM-Zlm_tbgBpSjXzGVywNSxyAle3BtEbGByfaGsY7dHY3I1q/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
4. Add Selenium related dependencies.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java/2.47.1&quot;&gt;http://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java/2.47.1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;dependency&gt;&lt;/dependency&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;groupid&gt;org.seleniumhq.selenium&lt;/groupid&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;artifactid&gt;selenium-java&lt;/artifactid&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;version&gt;2.47.1&lt;/version&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-server/2.47.1&quot;&gt;http://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-server/2.47.1&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;dependency&gt;&lt;/dependency&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;groupid&gt;org.seleniumhq.selenium&lt;/groupid&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;artifactid&gt;selenium-server&lt;/artifactid&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;version&gt;2.47.1&lt;/version&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Allow some time to download those Jar files and these files will be automatically added to your project. Files will be stored under .m2 folder&amp;nbsp;(C:\Users\username\.m2)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;Now you can write your normal Selenium-TestNG program and run the script.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;If you want to run test case from maven you need below dependencies:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Pre requisite: Create a testNG test suite.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.testerinyou.com/2011/02/test-suite-using-test-ng.html&quot; target=&quot;_blank&quot;&gt;http://www.testerinyou.com/2011/02/test-suite-using-test-ng.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Add below plugins to POM.xml&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px; margin: 0px 0px 15px 20px; padding: 0px;&quot;&gt;
&lt;li&gt;maven-compiler-plugin&lt;/li&gt;
&lt;li&gt;maven-surefire-plugin&lt;/li&gt;
&lt;li&gt;testng.xml&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;The maven-surefire-plugin is used to configure and execute tests. Here plugin is used to configure the testing.xml for TestNG test and generate test reports.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;The maven-compiler-plugin is used to help in compiling the code and using the particular JDK version for compilation. Add all dependencies in the following code snippet, to pom.xml in the &lt;plugin&gt; node&lt;/plugin&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;Maven-Compiler-plugin:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;http://maven.apache.org/plugins/maven-compiler-plugin/usage.html&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;Maven-sure-fire plugin:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;To run your test cases:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;Right click on POM.xml--Run As ---mvn test&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;scripts which are in testNG.xml will be executed and results will be available under:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;Project---target---surefire--report&lt;/span&gt;&lt;/span&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/AVvXsEjCaF0Gz0eF8LOzlP64FSS_FPsUcFpAr8yJqooLC7GXxsgvSnjpDviKtDZbI5PQO9-15EkLcg-qyom-rYNdC3BLynulnZAl8cHB7v_0riV76Ug_gwjUPviLyTl-hzJ8rfluEDkph67ZkpmV/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCaF0Gz0eF8LOzlP64FSS_FPsUcFpAr8yJqooLC7GXxsgvSnjpDviKtDZbI5PQO9-15EkLcg-qyom-rYNdC3BLynulnZAl8cHB7v_0riV76Ug_gwjUPviLyTl-hzJ8rfluEDkph67ZkpmV/s1600/6.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcWZg0Hw0akDFoTFPxrfqRY3jIW9W8F_2-4r_xLAfG_W06sChO_zr9LVyy4OQXqpru3Dfg0Te8Ii0-2hr8jv1DcNyZMdZg5diw3KYaOaMvBl8ZyzCj_QCyMzlgjkPiN7udwLyaWOk4PMiL/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcWZg0Hw0akDFoTFPxrfqRY3jIW9W8F_2-4r_xLAfG_W06sChO_zr9LVyy4OQXqpru3Dfg0Te8Ii0-2hr8jv1DcNyZMdZg5diw3KYaOaMvBl8ZyzCj_QCyMzlgjkPiN7udwLyaWOk4PMiL/s1600/6.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-size: 17px; line-height: 24px;&quot;&gt;&lt;span style=&quot;color: #343434; font-family: Droid Sans;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #343434; font-family: &#39;Droid Sans&#39;; font-size: 17px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;POM.xml looks like this:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;http://pastebin.com/embed_js.php?i=1LcSS5px&quot;&gt;&lt;/script&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://testerinyou.blogspot.com/feeds/6918019703882897035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://testerinyou.blogspot.com/2015/08/create-sample-maven-project.html#comment-form' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/6918019703882897035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3462645937568625140/posts/default/6918019703882897035'/><link rel='alternate' type='text/html' href='http://testerinyou.blogspot.com/2015/08/create-sample-maven-project.html' title='Create a Sample Maven Project'/><author><name>Naga</name><uri>http://www.blogger.com/profile/04577184292527750864</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IVI-mqi2xdqKzg7UjGlTnHbfNFManvFaaOTP768DOD8Iu3Z1HNQCrB_9Y5Ta86LSGDwfxoA11uOvCWS3Rum0JtuaJQ8GvSDyoS1DkXtlJGNzvJPZtTchFlyp6IcEACI/s220/DSC02453.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_yB8XJ6FWlByGXo88JD0xN8POiFRGn_6DnEw1gWCECwTxdykYTGq7A9DZQ8tf47AQ8QI0rFXEg6nF6Ainp4rGzQdJB53ZRyOy7ivp_Z6LlloK3x1XiY9ik_RGxA99kRKEFxRwD7TDce8z/s72-c/m2.jpg" height="72" width="72"/><thr:total>17</thr:total></entry></feed>