<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Max Kolotilkin on Medium]]></title>
        <description><![CDATA[Stories by Max Kolotilkin on Medium]]></description>
        <link>https://medium.com/@kolotilkin?source=rss-bf5f031cd16f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Du2Z-dVA6d0UW0xgGZggyQ.jpeg</url>
            <title>Stories by Max Kolotilkin on Medium</title>
            <link>https://medium.com/@kolotilkin?source=rss-bf5f031cd16f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:55:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kolotilkin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Easy WebDriver management with Wix WebDriver Manager]]></title>
            <link>https://medium.com/wix-engineering/easy-webdriver-management-with-wix-webdriver-manager-479155ab41c4?source=rss-bf5f031cd16f------2</link>
            <guid isPermaLink="false">https://medium.com/p/479155ab41c4</guid>
            <category><![CDATA[selenium-webdriver]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[test-automation-framework]]></category>
            <category><![CDATA[test-automation-tools]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[Max Kolotilkin]]></dc:creator>
            <pubDate>Mon, 22 Jun 2020 09:34:46 GMT</pubDate>
            <atom:updated>2020-06-22T10:48:57.122Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*NLVBoAKWf5Z6js0U" /></figure><p>Selenium WebDriver is a common standard when it comes to web automation. This framework allows us to work with websites and web applications programmatically using real web browsers like Chrome or Firefox. Similarly Appium is an — automation framework for mobile applications. The latter was built on the same basis as Selenium, which allows you to use similar approaches when working wit either one.</p><p>Both these frameworks require launching a driver to connect to either a web browser, a mobile device or a mobile device simulator. The simplest setup looks like this:</p><pre>WebDriver webDriver = new ChromeDriver();</pre><pre><em>// some code here…</em></pre><pre>webDriver.quit();</pre><p>This code will run the Chrome browser locally with default settings. We all know that this is just the beginning, of course. Next you need to add other things, like select which browser to run, configure that browser with certain settings — like removing cookies, clearing history, specifying a download folder, setting up user profile, and so on. Besides browser configuration you might also want to add the possibility of running a remote browser in some cloud environment. Implementing all these features will basically result in creating a separate module that will be responsible for managing those browsers.</p><p>When a new automation project starts, you have to copy this module into it. While also maybe adding more stuff to satisfy all new requirements. After implementing everything, you copy your new stuff into the previous project. See a problem brewing here? Basically, just a few projects later you find yourself copying code from one class to another and trying not to forget something. That’s why we created the WebDriverManager so you could focus on developing tests instead of moving infrastructural code between projects.</p><h4><strong>Basic usage</strong></h4><p>Before going into details, let’s describe some key concepts about this module:</p><p>1. <strong>WebDriver type</strong> — type of browser to run. Alongside standard browsers like Chrome, Firefox, Safari or Edge, WebDriverManager also supports iOS and Android drivers via Appium.</p><p>2. <strong>Run on</strong> — were to run the browser. Selenium and Appium support running drivers locally on your computer or remotely on either a dedicated machine or in a cloud service (i.e. BrowserStack, SauceLabs, etc).</p><p>3. <strong>Strategy type</strong> — either NewInstance or Recycled. Used to specify if a new browser instance needs to be launched per every test (NewInstance), or if just one instance needs to be reused from test to test with clean-up procedures (Recycled).</p><p>Now that we are familiar with the concepts of the Manager, we can dive deeper into code. WebDriver Manager is available in the Maven Central repository so all you need to do is just to add it as a dependency:</p><pre>&lt;<strong>dependency</strong>&gt;<br>    &lt;<strong>groupId</strong>&gt;com.wix&lt;/<strong>groupId</strong>&gt;<br>    &lt;<strong>artifactId</strong>&gt;wix-webdriver-manager&lt;/<strong>artifactId&gt;<br>    </strong>&lt;<strong>version</strong>&gt;1.2.0&lt;/<strong>version</strong>&gt;<br>&lt;/<strong>dependency</strong>&gt;</pre><p>And in your TestBase class all you need to write is this next:</p><pre>WebDriverManager wdm = new WebDriverManager();<br>WebDriver driver = wdm.getAvailableWebDriver();</pre><pre><em>//…</em></pre><pre>wdm.releaseWebDriver(driver);</pre><p>Yes, it’s that easy!</p><p>A huge advantage of the Manager is that it comes with handy default configurations. If you’re developing a small project (or just testing tasks) you can use it as is without a need to spend time writing a lot of infrastructure code. And you still have all the power and possibilities to configure things the way you want, whatever you want!</p><h4><strong>Advanced usage</strong></h4><p>How do I configure WebDriver with what i need, you ask? There’s a special config class for custom configuration:</p><pre>WebDriverConfig config = new WebDriverConfig.WebDriverConfigBuilder()<br>    .withWebDriverType(“firefox”)<br>    .withFirefoxVersion(“75”)<br>    .withScreenResolution(“1920x1024”)<br>    .build();</pre><pre>WebDriverManager wdm = new WebDriverManager(config);</pre><pre><em>//…</em></pre><pre>wdm.releaseWebDriver(driver);</pre><p>And here’s how you can set things up to run in a cloud:</p><pre>WebDriverConfig config = new WebDriverConfig.WebDriverConfigBuilder()<br>    .withWebDriverType(“edge”)<br>    .withScreenResolution(“1920x1024”)<br>    .withPlatform(“Window”)<br>    .withBinariesManager(true)<br>    .withCloudService(“browserstack”)<br>    .withCloudUserName(“cloud_user”)<br>    .withCloudUserPass(“cloud_pass”)<br>    .build();</pre><pre>WebDriverManager wdm = new WebDriverManager(config);</pre><pre><em>//…</em></pre><pre>wdm.releaseWebDriver(driver);</pre><p>WebDriver Manager supports a variety of different setups. That’s not all though!</p><p>We also support mobile automation via the Appium Framework. Here the approach is the same:</p><pre>WebDriverConfig config = new WebDriverConfig.WebdriverConfigBuilder()<br>    .withWebDriverType(“ios”)<br>    .withIOSPlatformVersion(“13”)<br>    .withIOSDeviceName(“iPhone 11 Max”)<br>    .withMobileApplicationPath(“/Users/username/App/myapp.app”)<br>    .build();</pre><pre>WebDriverManager wdm = new WebDriverManager(config);<br>IOSDriver driver = wdm.getAvailableWebDriver();</pre><pre><em>// …</em></pre><pre>wdm.releaseWebDriver(webDriver);</pre><h4><strong>Finalizing</strong></h4><p>As you could see, the WebDriver Manager is powerful and yet easy to use tool to help you manage your web drivers in automation projects. No need to clone the repository, just add it as a dependency to your project and start playing with it right away.</p><p>In case you have any suggestions or feature request you can learn more about contributing here: <a href="https://github.com/wix/wix-webdriver-manager">https://github.com/wix/wix-webdriver-manager</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=479155ab41c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wix-engineering/easy-webdriver-management-with-wix-webdriver-manager-479155ab41c4">Easy WebDriver management with Wix WebDriver Manager</a> was originally published in <a href="https://medium.com/wix-engineering">Wix Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 Easy Steps How to Start Test Automation]]></title>
            <link>https://medium.com/@kolotilkin/4-easy-steps-how-to-start-test-automation-de3e46953df5?source=rss-bf5f031cd16f------2</link>
            <guid isPermaLink="false">https://medium.com/p/de3e46953df5</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[selenium-test-automation]]></category>
            <dc:creator><![CDATA[Max Kolotilkin]]></dc:creator>
            <pubDate>Sat, 25 Nov 2017 14:05:13 GMT</pubDate>
            <atom:updated>2017-11-25T14:05:13.863Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*TNAPwUm4WybO1nDfjss_6w.jpeg" /></figure><p>After leading a course for the last year every new group asks the same question again and again: How to start the automation? And it’s not about just knowing the tools.</p><p>That’s a bit tricky question since there can be several points to start with. And I hope to cover all of them later.</p><p>Let’s assume you have some infrastructural layers already built and ready to use. One day a developer enters your room:<br>“Hey, we’ve just finished first version of our new ultra cool project and we have huge plans for the future. We’d like to setup some automation for it. Can you help us?”<br>“Yeah. Why not? Give me a link”</p><p>In a couple of minutes you are already reading an email with short description and you’re opening a link. From now I usually suggest to follow these four simple steps:</p><p><strong>Research the project</strong><br>Pretty easy step. Just walk around the project. Maybe draw some sort of a roadmap of the project to get a generic overview what’s going on there<br>Later this step will help you with planning your business objects, logical parts, page objects and shared components and other generic stuff</p><p><strong>Plan your objects</strong><br>You have a pretty good overview and understanding of the project and now you can structure your drivers for the project.<br>Even more, you can just create them. High level classes, without specific methods. Just templates<br>Later you will add all required methods and logic for the tests</p><p><strong>Write test cases</strong><br>Depending on the group/project structure there are might be a separate groups of testers and automators. In any case there will be a nice person who would write all required test cases with steps, checks, test data and other relevant information<br>That’s the point where cooperation between groups really matters. And the whole automation will be relied on the quality of written test cases.</p><p><strong>Develop</strong><br>The last step is just a simple development phase. You take prepared test cases and start implementing them in the code. Here you will fill all pre-created classes with methods which will reflect the work with pages/screens.</p><p>At the end you will get a pretty well structured and good written automation project.</p><p>When you’re starting to develop new project don’t just start writing some tests, make a research and planning. This will save you a lot of time in future</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de3e46953df5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>