<?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 Paul Grossman on Medium]]></title>
        <description><![CDATA[Stories by Paul Grossman on Medium]]></description>
        <link>https://medium.com/@paulgrossman?source=rss-ba38a7f645e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*67XEEPxBaq1KPM5M.</url>
            <title>Stories by Paul Grossman on Medium</title>
            <link>https://medium.com/@paulgrossman?source=rss-ba38a7f645e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 10:13:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@paulgrossman/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[CloudBeat’s Oxygen IDE 1.12.1 at a glance: A new automation IDE for Selenium and JavaScript]]></title>
            <link>https://medium.com/@paulgrossman/cloudbeats-oxygen-ide-1-12-1-at-a-glance-a-new-automation-ide-for-selenium-and-javascript-84b26035b4c0?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/84b26035b4c0</guid>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Wed, 05 Feb 2020 10:38:17 GMT</pubDate>
            <atom:updated>2020-02-05T10:52:34.451Z</atom:updated>
            <content:encoded><![CDATA[<p>At the <a href="http://guildconferences.com/">AutomationGuild </a>2020 conference Angie Jones took attendees on a tour of a new JavaScript IDE from <a href="https://cloudbeat.io/">CloudBeat </a>called Oxygen. Her demo had some exciting points. So I decided to try it out myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*hXkXH5S5mt77GyjTrVljWA.png" /></figure><h3><strong>Installation</strong></h3><p>Oxygen can be downloaded from <a href="https://docs.oxygenhq.org/download-and-installation/download-oxygen-ide">https://docs.oxygenhq.org/download-and-installation/download-oxygen-ide</a> in Windows, OSX and Linux. Mac users need Xcode installed and Windows users need Java 8.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*hlVTvSi4_FUwpUvQ_lsv4Q.png" /></figure><p>The first concern I had was that Oxygen does not support Java 11. However it did clean up my other Java versions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*XNkLLRsF3x-7KEVx5A25MQ.png" /></figure><p>The Java 8 link dutifully removed my existing Java 9 instance and upgraded Java 8.161 to Java 8.241.</p><p>The installation was relatively painless. The Java updates required a system reboot before the IDE would launch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Y69qYqwTi8_AZLRCvtdkyw.png" /></figure><p>The IDE is rather simplistic offering basic file options, test environment selections, record (the microphone icon) and playback and a global delay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*IDRaqpvxKR2nlZ5HaC-liA.png" /></figure><p>It provides cloud settings for running scripts in the cloud with SauceLabs, LambdaTest or Testingbot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*1IGFZqTBqIuyxvS1B564xA.png" /></figure><p>Oxygen offers an online Tour and access to it’s online Guide from it’s Welcome page. However when I tried them both links were dead. The <a href="https://cloudbeat.io/">CloudBeat</a> and YouTube video links worked as expected.</p><p>Documentation on Oxygen can be found at <a href="https://docs.oxygenhq.org/">https://docs.oxygenhq.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nNbP-xf177xAbzUqRDWKGg.png" /></figure><p>With a physical iPhone attached and a Virtual Android Pixel 2 running from Android Studio’s Virtual Device Manager, Oxygen’s Mobile Mode was unable to detect either out of the box.</p><p>A quick search in the documentation revealed the Android Debug Bridge SDK and a special Appium Desktop build for Oxygen for <a href="https://github.com/oxygenhq/appium-desktop/releases/download/v1.13.0/Appium-windows-1.13.0.exe">Windows </a>or Mac were required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZdpRwNSCqMGggC8EOZ5hg.png" /></figure><p>While the Oxygen website provides textual descriptions for installing and configuring Mobile devices, all the image links that were referred to were also broken.</p><p>This appeared to be much more convoluted than other automation platforms like <a href="https://link.testproject.io/r0w">TestProject.io</a> that can detect mobile devices with just an agent running.</p><p>For the sake of this article I decided to just stick with the basic Web testing.</p><h3>The Smoke Test</h3><p>Oxygen records against Chrome with a browser extension. The test I executed was a basic ten step process against the <a href="http://andymapper.com/">CandyMapper.com </a>public automation sandbox with GoDaddy as it’s backbone.</p><ol><li>Launch the browser</li><li>Navigate to the CandyMapper website</li><li>Click ‘Get In Touch’ link</li><li>Enter ‘Paul’ into the Name field</li><li>Click the SEND button</li><li>Verify ‘Please enter a valid email address’ appears</li><li>Enter a valid email into the Email* field</li><li>Enter ‘Hello’ in the Message TextArea</li><li>Click the SEND button</li><li>Verify ‘ Thank you for your inquiry! We will get back to you within 48 hours.’ appears</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I-Gl-XlgV7qyJxIV0Cmz-w.png" /></figure><p>The recorder showed the first significant feature of Oxygen IDE. Following in the footsteps of <a href="https://selenium.dev/selenium-ide/">Selenium IDE</a>, Oxygen provides multiple ways to locate elements in JavaScript and adds them as comments in the code. Where SIDE provides up to five alternative locator strategies, Oxygen provided six and possible more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*btHFctm4gc-qihjq_mDiqw.png" /></figure><p>Inserting a simple assertion was extremely easy. Right-clicking on the browser provided three selections from the dropdown. It also provided the timing synchronization steps to wait for text, values or an element.</p><p>Oxygen easily found the text to verify and the ‘Get In Touch’ link. However it stumbled entering text into the fields and clicking the SEND button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*RpITnAJN1QQLc-lEwXB39g.png" /></figure><p>Lastly I looked at Oxygen as a JavaScript IDE for Selenium. In this regard I was impressed. Oxygen provides a great contextual autocomplete and shows it has a significant support for building a custom framework.</p><p>In addition, Oxygen claims to have the capability to automate Native Windows applications which is often overlooked by other tools.</p><h3><strong>CONCLUSION</strong></h3><p>Oxygen still has a ways to go before I would use it on a day to day basis. It has no visual indicator that it is still recording and no Pause button. There is no Spy to help you figure out if the description you provided found one or more elements. Other IDEs like <a href="http://cypress.io/">Cypress </a>are way ahead as far as features go.</p><p>Cloudbeat states it manages UI elements in one central place which was not fully apparent. However it does appear that it could support the Page Object Model as well as the Magic Object Model element factory.</p><p>It’s broken links in the documentation and particularly on the front page made me wonder what other issues will I find under the hood.</p><p>As an IDE for JavaScript it certainly makes coding in Selenium much easier without a lot of bells and whistles that are only used by app developers in VS Code, IntelliJ or Eclipse. But it also lacks the <a href="http://www.patterson-consulting.net/products/testdesignstudio">static code analysis</a> most modern IDE tools provide.</p><p>I would also like to see a Cucumber / Gherkin integration.</p><p>CloudBeat also touts a monitoring platform with screenshots, broken links report, user experience and performance measurements. This will have to wait for a deeper review.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84b26035b4c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Skip Jenkins Setup — for now: TestProject has a drag and drop CI/CD Pipeline from Day One]]></title>
            <link>https://medium.com/@paulgrossman/skip-jenkins-setup-for-now-testproject-has-a-drag-and-drop-ci-cd-pipeline-from-day-one-aeaec0bc1481?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/aeaec0bc1481</guid>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[testproject]]></category>
            <category><![CDATA[pipeline]]></category>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Sat, 28 Dec 2019 12:29:24 GMT</pubDate>
            <atom:updated>2019-12-31T08:09:07.584Z</atom:updated>
            <content:encoded><![CDATA[<h3>Skip Jenkins Setup — for now: TestProject has a drag and drop CI/CD Pipeline from Day One</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*Qv55q1RxBusanj0mhM5S0w.png" /><figcaption>The CD/CD Pipeline Puzzle Piece</figcaption></figure><p><a href="https://link.testproject.io/r0w">Free Test Automation For All - TestProject</a></p><p><strong>Show me: </strong>S<a href="https://www.youtube.com/watch?v=nU-e76LVPa8">ee the TestProject Job queue in action.</a></p><p>When we first begin to plan a Test automation project we look at goals, both near-term and future. We are often so busy installing and configuring our automation software development environment in the first few days, we would hardly consider implementing a CI/CD Pipeline with a tool such as Jenkins to automatically execute our scripts on Day One.</p><p>And for good reason. A CI/CD Pipeline — a way to automatically execute scripts — only becomes valuable when we have so many scripts to run that launching them all manually begins to impact our daily productivity of development and maintenance.</p><p>But of course showing the advantages of such a tool could pay off big, particularly when working with a new client who might be skeptical of our abilities as a seasoned SDET. And sometimes the concept itself can seem so foreign to management that they may postpone green-lighting the project because they have not seen it.</p><p>What if there was a way to demonstrate the benefits of a Continuous Integration Pipeline for Test Automation, without installing and configuring Jenkins, right from the first day on the project? That’s where <a href="https://link.testproject.io/r0w">TestProject</a> in. If you are unfamiliar with TestProject check out this <a href="https://medium.com/@paulgrossman/easy-selenium-test-automation-recording-and-creation-with-testproject-54eed9852b1a">product overview.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qPMwysIMxtM6po73jY2yyg.png" /><figcaption>Adding a new CI/CD Job</figcaption></figure><p>The CI/CD pipeline in TestProject begins by adding a new Job. Each Job can have multiple Test assigned, thus a Smoke and Regression Test set suite can be built up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*RW4IjTpvDsJpNiFq4v9pxw.png" /><figcaption>Name, Type and Description of the Test Suite Job</figcaption></figure><p>Setting up a new job is easy. Simply add the type of job to execute with an optional description. Job suites are organized into three categories: Running on multiple Browser on the Web, Multiple Android devices and multiple Mac OS devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*bKoEOqOEANkRhvjVlrWecQ.png" /></figure><p><strong>Pro Tip</strong>: Virtual mobile devices can take up a lot of drive space. So you may want to spread the devices across multiple systems and assign them multiple Agents.</p><p>Next we choose which browsers we want this test suite to run on. TestProject automatically recognizes the installed browsers. It supports most modern browsers including IE, Edge, Chrome and Firefox.</p><p>We can create the Job and configure the schedule now or later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*i_jP8r6rJzy1LS6ryrQkkw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*lRN5QS71-5Y2H7sYK4kgbA.png" /><figcaption>Schedule an overnight run every Friday or every night at 3:30 and 5:30 AM CST</figcaption></figure><p>The TestProject Scheduler makes this a breeze. The Suite can be configured to run as often as every 10 minutes 7 days a week, to as few as once a week.</p><p>In addition a Test Suite can be set to execute once at a future date and time. Or on demand by just clicking the <strong>Run Job </strong>button (See below)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sqMSo98wWv-LC0gv8YWNqw.png" /></figure><p>Next we need to notify important stakeholders when test runs are executing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*AeshO5UiVGO0llwfG6WzsQ.png" /><figcaption>An Email will be sent when this Suite starts and finishes</figcaption></figure><p>TestProject makes email configuration easy. Notifications can be sent on start, finish, or only when there is a failure. However only project members can be emailed the execution status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vVqEWMJTvEDAM6Py5O-SCw.png" /></figure><p>Our last step is to drag the tests to execute to the Job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWCO5h7uaQyC5bFSXCNvxw.png" /></figure><p>Our job is now set to execute on a schedule. We can add more tests on the fly by dragging them over to the job. From here we can launch the Job on demand by clicking on the Run icon.</p><p>If we hover over the Monitor Tab we will see any Jobs that are currently executing as well as our upcoming jobs.</p><p>Let’s look at the Monitor page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*--qzTQ_JrxnWu2mgZ5i_Tw.png" /></figure><p>The monitor page displays the status of any currently running jobs, all upcoming jobs, and recently run jobs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*RzBlSQjX9HrElgCv8UlGTg.png" /></figure><p>Once the test completes summary emails are sent to the project members on the email list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JEnr8LuGXf6DP9onrMsVbg.png" /></figure><p>To see further details click <strong>Full Report</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CENKUtayrsOnSf8Lw79KXQ.png" /></figure><p>From here details about the job can be explored. Note that TestProject takes screen captures when an error occurs.</p><p>The last question you may have is “Do I still need Jenkins?”</p><p>The answer is “Probably”. Jenkins provides a lot more functionality. If you want to execute a Job when Dev has a new push to Staging, or when QA has a new change to the test automation framework code base, then you need Jenkins.</p><p>And TestProject has a <a href="https://blog.testproject.io/2019/02/28/integrating-testproject-with-jenkins-ci/">Plugin for integrating Jenkins</a> for when you are ready to scale up.</p><p>TestProject CI/CD Pipeline is easy to build, run, and scale.</p><p>S<a href="https://www.youtube.com/watch?v=nU-e76LVPa8">ee the TestProject Job queue in action.</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnU-e76LVPa8%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnU-e76LVPa8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnU-e76LVPa8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0de30a2d35b5e4ea03892df24b3e27cb/href">https://medium.com/media/0de30a2d35b5e4ea03892df24b3e27cb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aeaec0bc1481" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t Get Hacked: Use a Unique Password Pattern for secure credentials.]]></title>
            <link>https://medium.com/@paulgrossman/dont-get-hacked-use-unique-password-pattern-for-secure-credentials-bd586bfab3ab?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd586bfab3ab</guid>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[secure]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[unique]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Tue, 24 Dec 2019 12:00:15 GMT</pubDate>
            <atom:updated>2019-12-24T15:51:27.266Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/177/1*_aWCesJt5geHptM0NV8TTQ@2x.jpeg" /></figure><p>I have been using a “Password Pattern” to generate unique credentials successfully for over a decade. I read about this technique in Wired magazine many years ago.</p><p>It ensures most individual sites have a unique and highly secure password. One that almost always meets the most common password rules. And can be recalled from memory correctly without much effort.</p><p>It’s a Key/Lock technique.</p><p>The first 8 characters are a key — the same 8-character sequence for all passwords that you are probably already using.</p><p>How did I know your password is 8 characters long? Because I’m a mind-reader in my spare time. Also you are human, and humans tend to take the path of least resistance.</p><p>If your current 8-char password has an English word like “PA$$w0rd“ consider starting fresh with 4 letter initials instead, followed by 4 numbers.</p><p>So let’s say you worked at “Yosemite Park (and) Curry Company” during the Summer of 1987. The initials are:</p><p><strong>ypcc</strong></p><p>followed by a 4 digit number that has a strong meaning for you, but not a birth year or home address.</p><p>It could be as easy as:</p><p><strong>ypcc1987</strong></p><p>or your could use the same 4 letters as your key on the phone key pad</p><p>ypcc = <strong>9722</strong></p><p><strong>ypcc9722</strong></p><p>This key part won’t change — ever.</p><p>Next add the LOCK which can be two letters, always in ALL CAPS, based on the site name.</p><p>Citibank — CI</p><p>FaceBook — FB</p><p>which gives you a unique 6 character password for each account:</p><p><strong>ypcc9722CI</strong></p><p><strong>ypcc9722FB</strong></p><p>This part of the pattern also won’t change — ever.</p><p><strong>Tip: </strong>Don’t get lost debating if Facebook should be “FB” or “FA ”— use the first pair in the pattern that comes to mind — just stick with the two letter, ALL CAPS pattern.</p><p>If you find yourself logging in twice because the letter pattern was ambiguous, change the password to the two letters that came to mind first.</p><p>Lastly, most password sites require you to use a special character — I usually like to start at a random shifted year like 87 which is :</p><p><strong>*&amp;</strong></p><p>This gives you a final secure password — with a pattern only you know.</p><p><strong>ypcc9722CI*&amp;</strong> for Citibank</p><p><strong>ypcc9722FB*&amp;</strong> for Facebook</p><p>You use this password pattern on all your logins. It passes 95% most known password requirements, it’s more secure than a 8-char password, has a unique password for most websites, all while being easy to recall. And the Shift key is held down for the four consecutive characters of the password.</p><p>If your username and password ever gets compromised it won’t allow black hats into your other accounts.</p><p>Even if they see just one of your passwords it is unlikely they will deduce the pattern to gain access to other accounts.</p><p>Because data leaks are often millions of account credentials the black hats will go after the easy ones first like “PA$$w0rd19” making your password a needle in a needle stack.</p><p>If your account does get hacked, decrement your last one or two shifted lock characters from shifted 87 *&amp; to shifted 86 *^ and so one.</p><p><strong>ypcc9722CI*&amp;</strong></p><p><strong>ypcc9722FB*&amp;</strong></p><p>This works with numbers 1 — 8 but mobile device users will prefer shifted 1, 2, 4, 7 combos as 3, 5, 6, and 8 (#%^*) add another tap on the smartphone — path of least resistance.</p><p>Shifted 9 and zero are parenthesis and tend to be excluded from the list of valid special characters.</p><p>After a breach don’t worry about trying to track the old pattern and the new one — just change the passwords as you log into accounts.</p><p>It’s good practice to know the password requirements of each site. And a very small percent will have weird rules that don’t fit the pattern — like 6 character max, or no special characters. That’s a sign they are a target for a breach and you should close accounts before their roof falls in.</p><p>The last tip in this approach is — Stick to the pattern. There have been times where I have thought “Well I’ll just make this one account three shifted digits — I’ll remember that”. No, you won’t. A single 13 character one off in a collection of 12 character passwords will not stay in your mind.</p><p>But you don’t want to write down that one off password somewhere. <br>A compromise could be to write a <strong>masked pattern reminder.</strong></p><p>“<strong>xxxxddddXX^^3</strong>”</p><p>which reminds you the one off password is : ypcc9722FB*&amp;# — ending with a shifted 3.</p><p>Sure there is no perfect solution. Black hats will get credentials, but we don’t need to make it easy for them while putting a burden on ourselves.</p><p>Invent your own <strong>password pattern</strong>, and make it your own.</p><p>Hope you enjoyed this trip into cyber password security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd586bfab3ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Codingame — Learning 22 Programming Languages the Fun Way!]]></title>
            <link>https://medium.com/@paulgrossman/codingame-learning-22-programming-languages-the-fun-way-585a5d8ecc42?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/585a5d8ecc42</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Mon, 18 Nov 2019 10:21:12 GMT</pubDate>
            <atom:updated>2019-11-18T10:21:12.299Z</atom:updated>
            <content:encoded><![CDATA[<h3>Codingame — Learning 22 Programming Languages the Fun Way!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGTZ0yzg431F0thQvwtIzw.png" /></figure><p>As a Software Developer Engineer in Test (SDET), I am often are asked if I know how to code in multiple other languages.<br> <br>“Sure you know VbScript from UFT, but what about Java in Selenium?” <br>“Java is fine and all, but we are a Python shop.”<br>“Python is dead. Go is the way to go.”</p><p>If you are like me and want to be considered for the widest range of job opportunities, then you need to know multiple programming languages. At the very least you need to know the differences among similar languages.</p><p>Knowing that Java is closer the C# than it is to JavaScript, and why — passing variables by reference — has opened doors for me in interviews.</p><p>But learning those nuances takes time and it can be boring.<br>I recently discovered <a href="http://www.codingame.com/">Codingame</a> a fun way to get developers to solve challenges in 22 different languages in a an online IDE, but with feature missing from Eclipse, IntelliJ, PyCharm, Visual Studio and every other coding environment: embedded video games!</p><p>Each game challenge has a different logic concept being taught with easy to difficult test cases to solve. It gives you hints if you get stuck. And once solved you can look at the solutions of other developers to learn new programming tips and tricks from others.</p><p><strong>Want to see how it works?</strong> Click the link below to see it in action.</p><p>If you like it please subscribe, please give a clap, and share with other developers.</p><p><a href="https://www.youtube.com/watch?v=GfVhdZrT0s0">https://www.youtube.com/watch?v=GfVhdZrT0s0</a></p><p><strong>Bonus:</strong> If you think that is fun and easy, you might be wondering if the same could be possible for implementing a <strong>Selenium Test Automation Framework in C# or Java?</strong></p><p>If so, please check out <a href="http://www.testproject.io/"><strong>TestProject</strong></a> — a free, all-in-one Test Automation Platform for Everyone, Novice to Experts — and judge for yourself.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=585a5d8ecc42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHAT’S EATING MY DRIVE SPACE?]]></title>
            <link>https://medium.com/@paulgrossman/whats-eating-my-drive-space-4ecbbd278df2?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ecbbd278df2</guid>
            <category><![CDATA[music]]></category>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Sun, 17 Nov 2019 00:33:41 GMT</pubDate>
            <atom:updated>2019-11-17T00:37:49.838Z</atom:updated>
            <content:encoded><![CDATA[<p>Want to become an expert at finding massive files eating up your drive space? Look at the hidden AppData folder and try using a Space Sniffer utility.</p><p>Please share, and if you like please clap, and comment and follow on my YouTube channel.</p><p><a href="https://www.youtube.com/watch?v=3C7bsXU4WZ4">https://www.youtube.com/watch?v=3C7bsXU4WZ4</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*SXCV2rWFFbKmp34nFJxKOQ.png" /></figure><p>Want to learn how to create test automation scripts in Java or C# the free and easy way? Click here: <a href="http://www.testproject.io/">www.TestProject.io</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ecbbd278df2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Top 10 Best Automation Testing Tools for 2020]]></title>
            <link>https://medium.com/@paulgrossman/the-top-10-best-automation-testing-tools-for-2020-1266d8a8d207?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1266d8a8d207</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[selenium-ide]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[appium]]></category>
            <category><![CDATA[top-10]]></category>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Tue, 12 Nov 2019 19:50:19 GMT</pubDate>
            <atom:updated>2019-12-29T16:42:47.839Z</atom:updated>
            <content:encoded><![CDATA[<p>Having success in test automation means selecting the tool that best fits your needs. Just because a tool is free does not mean it provides all the resources you will need to fully test your front ends and back ends. There are many questions to consider.</p><p>Will you want to store all your test resources on premises or is the cloud an option? Are your tests focused more on UI testing or would they benefit from RESTful API testing? Which tool matches the skill level of your SDETs? Will it support your Tech Stack?</p><p>Here is a list of the top ten tools to consider for 2020 with their Pros and Cons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*ziojcxj8ePNgVVUaryWCEw.png" /></figure><h3><strong>1) Selenium 4 (Alpha) / Selenium IDE</strong></h3><p>Selenium is a portable open-source web automation framework. It can automate across <strong>Windows, Mac,</strong> and <strong>Linux</strong> OS browsers including Chrome, Firefox, IE, Safari as well as headless browsers.</p><p>Selenium has several language bindings <strong>including Java, C#, Python </strong>and <strong>JavaScript </strong>to name a few.</p><p>Selenium also offers a record and playback browser add-on <strong><em>Selenium IDE</em></strong> which has been revised and extended in recent months to speed initial test development in multiple languages and frameworks.</p><p><strong>License</strong> : Open Source</p><p><strong>Category</strong>: Web Testing</p><h3><strong>Pros:</strong></h3><ul><li>Selenium has a<strong> large support base</strong>.</li><li>Its open source code making the solution <strong>highly cost effective</strong></li><li>Extensive additional language bindings: <strong>Groovy, Ruby, Perl, PHP, Objective-C, Haskell, R, Dart, Tcl </strong>and <strong>Elixer</strong></li><li><strong>Selenium IDE</strong> test recorder exports code to <br> <strong>Java / Junit<br> JavaScript / Mocha<br> Python / PyTest <br> Ruby / RSpec</strong></li><li>And for .Net development<br> <strong>C# / NUnit <br> C# / xUnit</strong></li></ul><h3><strong>Cons:</strong></h3><ul><li>Setup and configuration can take a lot of time</li><li>Requires a software developer resource to a implement a framework to build test cases</li><li>The most popular language binding <strong>Java</strong> has the greatest learning curve</li><li>Not an all-in-one solution</li></ul><p><strong>Learn more: </strong><a href="https://www.seleniumhq.org/"><strong>https://www.seleniumhq.org/</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*m729cjepLeocrwHWP1oSog.png" /></figure><h3><strong>2) Appium</strong></h3><p>Appium is an open source test automation framework for use with <strong>native</strong>, <strong>hybrid</strong> and <strong>mobile web apps</strong>. It drives iOS, Android, and Windows apps using the WebDriver protocol</p><p><strong>License</strong> : Open Source</p><p><strong>Category</strong>: Mobile</p><h3><strong>Pros:</strong></h3><ul><li>Extensive language bindings Python, JavaScript, Java, Ruby, PHP</li><li>Works on both physical Mobile devices as well as simulators.</li><li>Supports both iOS and Android</li><li><a href="https://saucelabs.com/blog/recap-10-things-you-didnt-know-about-appium-whats-new-in-appium-15-webinar">Visual testing </a>with integration with <a href="https://applitools.com/features/test-automation">Applitools Eyes</a></li></ul><h3><strong>Cons:</strong></h3><ul><li>Requires a software developer resource to a implement framework to build test cases</li><li>Lacking in support of React.js and AngularJS</li><li>Running scripts on multiple iOS simulators concurrently is not possible.</li><li>Not an all-in-one solution.</li></ul><p><strong>Learn more:</strong> <a href="https://appium.io/">https://appium.io/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*nJhCZl3zBgTq4i6Sgmpp_g.png" /></figure><h3><strong>3) TestProject</strong></h3><p>TestProject is a free end-to-end test automation platform for teams. It supports <strong>web, mobile and API</strong> testing out of the box. With an installation of a <strong>single executable of </strong><a href="https://link.testproject.io/r0w">TestProject</a><strong> agent</strong> you get the <strong>power of Selenium and Appium </strong>on any target. TestProject agent takes care for all of the configurations for you. TestProject’s <strong>distributed architecture</strong> allows users with different automation and testing skills to collaborate, share and execute tests everywhere, effortlessly. While tests and reports stored in TestProject Cloud, the execution is done locally on any target associated with your account.</p><p><strong>License</strong> : Free</p><p><strong>Category</strong>: Web/Mobile/API/Reports/Execution</p><h3><strong>Pros</strong>:</h3><ul><li>Costs. Free Forever account provides <strong>2GB cloud storage</strong>, unlimited Agents and team members.</li><li>Easy setup with wizards helping new users <strong>write test cases within minutes</strong>.</li><li>Selenium based cross-browser testing under <strong>Windows, Mac</strong> and <strong>Linux </strong>with an Testproject Agent.</li><li>Grid execution out of the box, manages the agent in one place remotely</li><li>Appium based cross-platform testing for <strong>iOS </strong>and <strong>Android</strong> devices, virtual and physical.</li><li><strong>RESTful API </strong>testing with one-click install <strong>Addon</strong></li><li>High level abstraction <strong>modular architecture</strong> that can be <strong>extended with 100s of Addons</strong>.</li><li>Script-less data-driven test <strong>export to Java </strong>or <strong>C# </strong>for coders to customize and re-import.</li><li><strong>Internal CI/CD Jobs pipeline</strong> using resources worldwide; also provides Jenkins plugin option.</li><li>Intuitive analytics <strong>Trend graph dashboard </strong>and<strong> Reports </strong>that can be <strong>exported as PDFs</strong>.</li><li>Community supported <strong>Addon extensions</strong>, blogs, articles and support</li></ul><h3><strong>Cons:</strong></h3><ul><li>Hidden icons and scrollbars can make navigation less intuitive</li><li>Lacking version control and release management integration</li><li>Lacking requirement tool integrations</li><li>Lacking desktop automation of thick client applications</li></ul><p><strong>Learn more: </strong><a href="http://www.testproject.io/"><strong>www.TestProject.io</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*_GiB-SDPGO9x2PhlFcOs_A.png" /></figure><h3><strong>4) Postman</strong></h3><p>Postman is a tool to dissect <strong>RESTful</strong> HTTP APIs. It offers a sleek user interface with which to make HTML requests, without the hassle of writing code just to test an API’s functionality.</p><p><strong>License</strong> : Free and Commercial versions<br>Free for Individuals, small teams, up to 1000 API calls</p><p>Commercial licenses at $8/$18 per month, per user<br>10–100k API calls for $20 per month</p><p><strong>Category</strong>: API</p><h3><strong>Pros</strong>:</h3><ul><li>Ease of use with many tutorials available</li><li>Easy to create test suites.</li><li>CI/CD Pipeline with Jenkins.</li><li>Easy to move tests cases between environments</li><li>Task monitoring</li></ul><h3><strong>Cons</strong>:</h3><ul><li>No script-less web service testing.</li><li>Not an all-in-one solution.</li></ul><p><strong>Learn more:</strong> <a href="https://www.getpostman.com/">https://www.getpostman.com/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*lnsEOvzK8oH20tdIzfikEA.png" /></figure><h3><strong>5) SmartBear Soap UI</strong></h3><p>SoapUI is an open-source web service testing application for service-oriented architectures and representational state transfers. Can test <a href="https://en.wikipedia.org/wiki/SOAP">SOAP</a> and REST web services, <a href="https://en.wikipedia.org/wiki/Java_Message_Service">JMS</a>, <a href="https://en.wikipedia.org/wiki/Action_Message_Format">AMF</a>, as well as make any <a href="https://en.wikipedia.org/wiki/HTTP">HTTP</a>/HTTPS and <a href="https://en.wikipedia.org/wiki/JDBC">JDBC</a> calls</p><p><strong>License</strong> : EUPL for <strong>SoapUI </strong>Open source. Commercial for <strong>SoapUI Pro</strong></p><p><strong>Category:</strong> Web /API</p><h3><strong>Pros</strong>:</h3><ul><li>Ease of use and setup particularly when WSDL is available.</li><li>Scripting in <strong>Groovy </strong>or <strong>JavaScript</strong></li><li>Has custom Plugins.</li><li><strong>Large and responsive community</strong>.</li><li><strong>API mockups</strong> that quickly allow a working API mockup interface.</li></ul><h3><strong>Cons</strong>:</h3><ul><li>Authentications can be troublesome</li><li>Not an all-in-one solution</li><li>Uses child windows to control all views.</li><li>Graphing module not integrated for load testing, unable to analyze the timings of the responses and how that changes over time with changes in the API implementation logic</li><li>Some features only available in commercial SoapUI Pro edition</li></ul><p><strong>Learn more:</strong> <a href="https://www.soapui.org/">https://www.soapui.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*BHMkVsbP4Id3FPYtDh9JUw.png" /></figure><h3>6) Robot Framework</h3><p>The Robot Framework is a generic test automation framework for acceptance testing and <strong>acceptance test-driven development (ATDD)</strong>. It is a keyword-driven testing framework that uses tabular test data syntax to provide human friendly syntax.</p><p><strong>License</strong> : Open Source</p><p><strong>Category</strong>: Web/Mobile/API/Reports/Execution/RPA</p><h3><strong>Pros</strong>:</h3><ul><li>High level abstraction with a <strong>modular architecture</strong> that can be extended with test libraries.</li><li>Uses <strong>keywords </strong>from test data to interact with the system under test.</li><li>Report details clearly viewable statistics including Pass/Fail ratios and elapsed times.</li><li>Can create custom Keywords using Python, IronPython or Jython</li><li>Includes <strong>tools for code cleanup </strong>and documentation.</li></ul><h3><strong>Cons</strong>:</h3><ul><li>The framework becomes complicated gradually as it grows and a number of new keywords are introduced</li></ul><p><strong>Learn more:</strong> <a href="http://www.robotframework.org/">www.robotframework.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*XPNsA0EiZqMTMEfQD2pUbQ.png" /></figure><h3><strong>7) SauceLabs</strong></h3><p>Sauce Labs is a cloud-hosted, web and mobile application automated testing platform company. Resources, tests and results are all stored off-prem.</p><p><strong>License</strong> : Commercial</p><p><strong>Category</strong>: Web/Mobile/API/ Reports/Execution</p><h3><strong>Pros:</strong></h3><ul><li>Can run<strong> Tests in Parallel</strong></li><li><strong>900+ desktop browser &amp; OS combinations</strong></li><li>200+ mobile emulators &amp; simulators</li><li>Access to <strong>real mobile devices</strong></li><li><strong>Provides CI/CD Pipeline </strong>integration</li><li>Limited number of free monitoring calls per month</li></ul><h3><strong>Cons:</strong></h3><ul><li>Costs. Each new unit of concurrency adds to your enterprise license representing a relatively linear increase in cost.</li><li>Logs may not be very useful for front-end web tests.</li></ul><p>Learn more: <a href="https://saucelabs.com/">https://saucelabs.com/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*yMKBX-oQsvf8l8xqVvBJmA.png" /></figure><h3><strong>8) Katalon Studio</strong></h3><p>Katalon Studio is an automation testing solution. The software is built on top of the open-source automation frameworks <strong>Selenium, Appium</strong> with a specialized IDE interface for <strong>API, web, mobile </strong>and <strong>desktop application testing</strong></p><p><strong>License </strong>: Commercial — 30-day trial version available</p><p><strong>Category</strong>: Web/Mobile/API/Reports/Execution</p><h3><strong>Pros</strong>:</h3><ul><li>Freemium test automation application</li><li>Native integrations with <strong>Git, qTest Manager, JIRA</strong>, and <strong>Slack</strong>.</li><li>Also integrates with <strong>Jenkins</strong> and <strong>TeamCity</strong></li><li>Integrations with cloud CI tools including <strong>12 CircleCI, Travis CI, SauceLabs, BrowserStack, Selenium Grid</strong>, and <strong>Kobiton</strong></li><li>Intuitive analytics dashboard and reports</li><li><strong>Supports BDD Cucumber keyword</strong>, data-driven, API/WebService and cross-browser testing.</li></ul><h3><strong>Cons:</strong></h3><ul><li>Limited to the Groovy scripting language</li><li>Small community size</li><li>Not open source — many features unavailable after trial license expires</li><li>Documentation lags behind the tool releases</li></ul><p>Learn more: <a href="https://www.katalon.com/">https://www.katalon.com/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*yC1dP8-lQKY8lku25lRkxQ.png" /></figure><h3><strong>9) Tricentis Tosca TestSuite</strong></h3><p>Tosca is an enterprise agile software test tool that is used to automate end-to-end testing for software application. Tosca applies a model-based testing approach create a model of the application under test</p><p><strong>License</strong> : Commercial</p><p><strong>Category</strong>: Web/Mobile/API/Load/Reports/Execution</p><h3><strong>Pros</strong>:</h3><ul><li>Easy <strong>script-less test development</strong></li><li><strong>SAP </strong>Focused solution</li><li>Integration to Micro Focus UFT, Selenium, SoapUI</li><li>Risk Coverage Optimization</li><li>Integration with various Continuous Integration technologies</li></ul><h3><strong>Cons</strong>:</h3><ul><li>Support can be lagging</li><li>No programming language option for developers</li><li>Brief 14-Day Free Trial period compared to other commercial tools</li></ul><p><strong>Learn more</strong>: <a href="https://www.tricentis.com/products/automate-continuous-testing-tosca/">https://www.tricentis.com/products/automate-continuous-testing-tosca/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*PVw8L6JIJFhxQ9AvMl0s1w.png" /></figure><h3><strong>10) Micro Focus UFT One &amp; UFT Developer (aka LeanFT)</strong></h3><p>Unified Functional Testing One and Unified Functional Testing Pro (Formally LeanFT) are functional <a href="https://en.wikipedia.org/wiki/Automated_testing">a</a>utomated testing tools developed by <a href="https://en.wikipedia.org/wiki/SmartBear_Software">Micro</a> Focus/HP.</p><p>Unified Functional Tester is a combination of two former Mercury tool sets: <strong>ServiceTest</strong> for <strong>API testing </strong>and <strong>QuickTest Professional </strong>for <strong>Web, mobile </strong>and <strong>desktop application testing</strong>. UFT One gives testers the ability to create automated tests for <a href="https://en.wikipedia.org/wiki/Microsoft_Windows">Microsoft Windows</a>, Web, <a href="https://en.wikipedia.org/wiki/Android_%28operating_system%29">Android (operating system)</a>, and <a href="https://en.wikipedia.org/wiki/IOS">iOS</a> applications in VbScript. LeanFT offers similar features in C# and Javascript.</p><p><strong>License</strong> : Commercial</p><p><strong>Category</strong>: Web/Mobile/API/Hybrid/<strong>RPA</strong></p><h3><strong>Pros:</strong></h3><ul><li><strong>Parallel test execution</strong> up to four browsers</li><li>Automates Windows thick client applications aside from web browsers</li><li>Easy <strong>Keyword View </strong>as well as <strong>advanced Code Editor View</strong></li><li>200+ supported tech stacks: <strong>SAP, mainframes, Salesforce, PDF, Java, Citrix</strong> and <strong>Terminal Emulators</strong></li><li>Supports languages with <strong>easy learning curves </strong>for quick development</li><li>Tests with shared object repository can be recorded or scripted.</li><li>Integrations with <strong>Jenkins, Bamboo</strong> and <strong>Microsoft DevOps</strong>.</li><li>AI-Based object recognition with advanced image-based OCR</li><li>Provides Mac and Linux support in UFT Developer</li></ul><h3><strong>Cons:</strong></h3><ul><li>End to end integrations to proprietary tools like ALM , BPT and Mobile Center increases costs</li><li>Proprietary IDE lacks developer tools found in open source alternatives.</li></ul><p><strong>Learn more:</strong> <a href="https://www.microfocus.com/en-us/products/unified-functional-automated-testing/features">https://www.microfocus.com/en-us/products/unified-functional-automated-testing/features</a></p><p><strong>Final Takeaway</strong></p><p>There’s a lot to consider when choosing a software testing tool. It can be a balance of costs and features or requires additional learning for advanced users. Make sure you request free trials of proprietary tools to allow your testers to ease into the workflow before the official testing begins.</p><p>Recap of the key points you should consider when choosing an automation tool or platform:</p><p><strong>Platforms:</strong> <br>Not all solutions offer a wide variety of operating systems for execution. Do consider if the tool you choose will execute under Windows or will include Mac and Linux. Also consider support needed for other platforms outside of browsers and mobile devices such as Terminal Emulators.</p><p><strong>Coding Skills:</strong> <br>You need flexibility with the testing staff resources. Some tools and languages require a steep learning curve and expert coders. Others like Tosca provide an entirely scriptless solution. Choose a tool that allows less skilled developers to join the project and grow to expert level with the assist from code export and a mentor.</p><p><strong>Languages:</strong><br>A common misconception is that a test automation solution must be developed in the programming language of the application under test. This simply isn’t true. Tools such as Micro Focus’ UFT One with VBScript have worked efficiently for decades executing against applications built in a multitude of languages. Similarly supporting an automation framework solution under multiple programming languages can lead to increased redundant maintenance. Choose a tool with flexible language options that best fit the skill set of your SDETs.</p><p><strong>Continuous Integration &amp; Deployment:</strong> <br>CI/CD is a standard in the development world. Since test automation is also a development project, it is better to focus on tools that built to support an Agile environment. Choose a tool that has scheduled Job execution Grid embedded or integrates with such tools like Jenkins or TeamCity.</p><p><strong>Source Code Control Systems: <br></strong>Being able to perform pull requests to track, discuss and revert code changes is just as important in test automation as in development. Choose tools that integrate with version control tools like Git.</p><p><strong>Hardware Resources: <br></strong>One of the biggest choices is deciding how to handle storage of physical laptops and mobile devices. Commercial solutions like SauceLabs provide cloud access to physical and virtual devices off-premises. Others like TestProject have a Bring-Your-Own-Device approach testing on physical or virtual mobile devices on premises.</p><p><strong>Costs: <br></strong>This list combines both commercial and open source tool solutions. While free solutions are attractive, they may not include all the features needed to setup an efficient and flexible test automation department. However, TestProject is the only end to end platform that both supports all platforms and targets and is completely free.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gwCjbfF6uHk15qCcIT4RxQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1266d8a8d207" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Supercharging Selenium and Appium with TestProject]]></title>
            <link>https://medium.com/@paulgrossman/supercharging-selenium-and-appium-with-testproject-e29874ea1c6b?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e29874ea1c6b</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[appium]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[testproject]]></category>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Tue, 05 Nov 2019 21:47:58 GMT</pubDate>
            <atom:updated>2019-12-29T16:46:24.869Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvVAkPIOJdX2j5rYp9DcHg.png" /></figure><h3>What is TestProject?</h3><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>is a fully-featured <strong>Test Automation Platform </strong>that leverages both <strong>Selenium</strong> and <strong>Appium</strong> development and execution on multiple operating systems. <strong>It provides new test automation engineers an easy steppingstone to starting a full test automation project</strong> with test creation, reporting, a CI/CD pipeline, historical graphs and more in just a few hours.</p><p>Free. Forever.</p><p>But to fully understand how TestProject supercharges automation projects, we need to look at the humble beginning of Selenium and Appium and the challenges TestProject resolves.</p><h3>A Brief History of Selenium…</h3><p>Over the last fifteen years <strong>Selenium based automation testing has become the most widely used test automation method</strong> for web-based applications. But what is Selenium and how did it become the de-facto standard for testing today? While Selenium and Appium have too many contributors to list in detail, these are the major players involved.</p><p>It starts with the inception of the name “Selenium” with a tongue-in-cheek poke at its biggest competitor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*ki5RKHi2K3rvBbX_crJt-w.png" /><figcaption>Jason Huggins</figcaption></figure><p>The story goes that <strong>in 2004, Jason Huggins</strong> was working at <strong>ThoughtWorks</strong> on a project named <strong>JavaScriptTestRunner</strong> when he cracked a joke about <strong><em>Selenium </em></strong>being the antidote for <strong><em>Mercury </em></strong>poisoning. This referred to their lead competitor at the time, <strong>Mercury Interactive</strong> and their <strong>Quick Test Professional tool</strong>, known today as <strong>UFT One </strong>from <strong>Micro Focus</strong> and <strong>HP</strong>. Jason’s team like the term and adopted the name <strong>Selenium Core</strong> for their fledgling competing automation framework project.</p><p>But Selenium had a problem called the <strong>Same Origin Policy</strong>. This meant access to the elements of one domain could not be reached by JavaScript code launched from another domain. The workaround, having a lot of duplicate installations of Selenium, was problematic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/1*N3C3l0pPGum4G6-0p8KYWQ.png" /><figcaption>Paul Hammant</figcaption></figure><p><strong>Paul Hammant</strong> of ThoughtWorks came up with the solution that led the creation of <strong>Selenium RC (Remote Control)</strong> a server that worked as an <strong>HTTP proxy. </strong>This resolved the Same Origin Policy problem allowing developers to write automated web application UI tests in multiple programming languages against any HTTP website using any mainstream JavaScript-enabled browser. But all the tests had to be run in a linear fashion which was inefficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/1*HyDBv1Nv5emfjcpclciPpg.png" /><figcaption><strong>Patrick Lightbody</strong></figcaption></figure><p><strong>Patrick Lightbody</strong> then introduced <strong>Selenium Grid</strong>. This allowed Selenium to <strong>run tests concurrently </strong>on different machines against multiple browsers on multiple operating systems. This greatly optimized the execution time as more machines could be leveraged to run tests.</p><p>In late 2004 Selenium was open-sourced. But it was mostly limited to experienced software developers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*9EN2cgR2QNffdmpM-_PLSg.png" /><figcaption><strong>Shinya Kasatani</strong></figcaption></figure><p><strong>In 2006 Shinya Kasatani</strong> developed the <strong>Selenium IDE</strong> written as a<strong> </strong>XPCOM Add-on for Firefox. This was a Record and Playback tool, it allowed novice Selenium developers to quickly learn the coding syntax by automatically building the recorded object interactions and descriptions into basic tests. These tests could then be exported into code.</p><p>However, it took more than eight years for Selenium IDE to have a <strong>Chrome extension</strong> making it cross-browser compatible. And by then the Selenium IDE was nearly dead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*HVVIYGBxcqZyadhwa01pVA.png" /><figcaption><strong>Simon Stewart</strong></figcaption></figure><p><strong>In 2006 Simon Stewart</strong> at ThoughtWorks worked on the Selenium <strong>WebDriver</strong> project that used a client for each browser to do the work at a ‘higher level’ API than Selenium-RC. Stewart presented his WebDriver at <strong>Google’s 2007 GTAC conference</strong>. This also provided the support libraries to expand the programming language bindings beyond <strong>JavaScript</strong> to <strong>Python, Perl </strong>and<strong> PHP.</strong></p><p><strong>In 2008 Selenium 2 </strong>was released that <strong>merged WebDriver and Selenium-RC</strong> as a new client API.</p><p>In <strong>April 2011</strong> the <strong>first Selenium Conference in SanFrancisco </strong>continued to showcased <strong>Selenium 2</strong>. It was now available for the <strong>Java, C# </strong>and<strong> Ruby</strong> languages. Since then <strong>SeConf</strong>, as it is called, has been hosted in major cities around the world including <strong>Boston, London, Bangalore, Chicago, Berlin </strong>and<strong> Tokyo.</strong></p><p><strong>In 2013 </strong>Simon Stewart confidently announced at the <strong>Boston SeConf</strong> that <strong>Selenium 3</strong> would be released by Christmas, but it actually occurred two years later. At the 2018 SeConf “State of the Union” session, as Simon Stewart recounted his ambitious goal of a Christmas release of Selenium 2, Jim Evans quipped “Notice he never said which year”.</p><p>Selenium 3 adds <strong>support for Java 8</strong> and <strong>Mozilla’s Gecko driver</strong> and moved closer to code-less testing.</p><h3>A brief history of Appium…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/1*ARqRHApUfZZFWBDz3hqxAg.png" /><figcaption><strong>Johnathan Lipps</strong></figcaption></figure><p><strong>Johnathan Lipps joined SauceLabs in 2012</strong> and oversaw the team kicking off the Appium project. Appium was primarily <strong>Selenium for Mobile</strong> <strong>automating in native iOS and Android apps</strong> as well as hybrid apps with a WebDriver interface. In recent years Appium has moved on to automating Windows and Mac thick client desktop applications as well as moving into the Internet of Things arena. Johnathan has since gone on to be a founding principal at <a href="https://cloudgrey.io/">CloudGrey.io</a> which is an Appium-focused consultancy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*BSov2duHjBDzw_idQ4mipw.png" /><figcaption><strong>Dan Cuellar</strong></figcaption></figure><p><strong>The Appium project</strong> started<strong> when Dan Cuellar</strong> began development of a Mobile device testing version of Selenium that would become <strong>Appium. </strong>It was a way<strong> </strong>to take advantage of the <strong>UIAutomation</strong> framework for <strong>Apple iOS</strong> to run tests against native mobile applications.</p><p>Dan demonstrated his early efforts at the <strong>Selenium 2012 lightening talks</strong> and asked for help from others take the project to fruition. Encourage by Jason Huggins, Dan released the initial <strong>C# and Python open source version of Appium</strong> to GitHub in August. <strong>Appium 1.0 </strong>was released in 2014.</p><p>Dan recently spoke at the <strong>Selenium Conference 2016</strong> showing off further Appium advancements including element identification with image recognition <strong>running concurrently on multiple iOS and Android mobile devices</strong>.</p><h3>The Fall and Rise of Selenium IDE…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/203/1*SWeNqA-lGELFjQ6WU90jrQ.png" /><figcaption>Adam Goucher</figcaption></figure><p><strong>Selenium IDE</strong> was maintained by <strong>Adam Goucher</strong> and others for many years. But in 2015 Mozilla replaced the XPCOM technology in their Firefox browser with the standardized <strong>WebExtensions API. </strong>This sealed the fate of the Selenium IDE project.</p><p>Worse, seasoned developers considered record and playback tools as a detriment to good software coding practices. So there was little incentive to continue development of Selenium IDE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*uNce6zP7T1X8TL87txcA4Q.png" /><figcaption><strong>Moshe Milman, COO Applitools</strong></figcaption></figure><p><strong>In 2017,</strong> <a href="https://www.applitools.com/"><strong>Applitools</strong></a> saw the advantages of a Selenium record/playback tool, particularly with helping get novice automation developers into the field and wanted to contribute to the community by keeping this important open source project active.</p><p>After speaking with Simon Stewart and the Selenium team, they started rebuilding the <strong>Selenium IDE project with a collaborative team of developers. </strong>The new Selenium IDE was built<strong> </strong>based on a modern technology stack that aligns with the leading commercial tools in that space and covers important capabilities like smart detection of elements (AKA Self Healing), CI integration, <a href="https://applitools.com/tutorials/selenium-ide.html#selenium-ide-videos">Visual Testing</a> support and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/1*wxZApIgSujtdqP9yENWcow.png" /><figcaption><strong>Tomer Steinfeld</strong></figcaption></figure><p>At the <strong>SeConf Chicago 2018 Tomer Steinfeld</strong> from <strong>Applitools</strong> introduced the <strong>new Selenium IDE (SIDE) with a SIDE Runner</strong>. Its cross-browser capability expanded to <strong>all browsers</strong>. The code export now included Java, JavaScript and Python <strong>using the Junit, Mocha </strong>and <strong>Pytest frameworks </strong>respectively. It now could record multiple different locators for browser elements to reduce maintenance and eliminate test flakiness. This also helped new Selenium developers learn better techniques in object identification in a shorter amount of time.</p><p><strong>Selenium 4 Alpha </strong>was released in <strong>2019 </strong>and provided new features such as <strong>Docker support</strong> and <strong>element level screen shots</strong>. It also added support for <strong>Chrome Headless</strong> replacing PhantomJS and dropped support for Opera entirely. An official release is expected by 2020.</p><p>After 15 years of development Selenium and Appium are still considered tools only available to seasoned developers. One problem that many DevOps teams have learned is <strong>dividing their time between an application development and maintaining an automation framework is often inefficient</strong>.<br> <br>While turning automated testing over a <strong>traditional QA department</strong> would be optimal, it is <strong>rare to find a developer among the manual testers with the skill level</strong> to build an automation solution around Selenium and Appium.</p><p>Few, if any, thought an automation platform could be built around Selenium and Appium that would be <strong>easy enough for a novice to implement</strong>, much less be affordable.</p><p><strong>But TestProject.io changed all that.</strong></p><h3>TestProject delivers Selenium and Appium test automation from Dev to the QA masses…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*YSDQrqjS8V4Dy1DYVJZhHw.png" /><figcaption><a href="https://blog.testproject.io/author/mark/"><strong>Mark Kardashov</strong></a></figcaption></figure><p><a href="https://blog.testproject.io/author/mark/"><strong>Mark Kardashov</strong></a> founded <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a> back in 2015 as a way to solve a nagging issue with Selenium and Appium test automation development. He saw there was a large selection of solutions available, but none of them allowed less technical users to easily move from manual testing into the test automation role.</p><p>A manual tester had to become developer first to understand the complex configurations and code development that was needed to set up a test environment. That switch would not take place overnight.</p><p>Mark saw a need for simple all in one DevOps turnkey solution that:</p><ul><li>Had a setup process that took a few minutes on multiple operating systems</li><li>Supported multiple browsers as well as maintained the drivers</li><li>Operated under both Selenium and Appium while hiding complexity<strong> for novice users</strong></li><li>Allowed novices to create code-less tests with a Smart Recorder</li><li>Provided a data-driven approach to allow an increasing width of testing scenarios</li><li>Leveraged modular design for reduced maintenance while increasing scalability <strong>for intermediate users</strong></li><li>Would export code that expert SDETs could extend and provide novice SDETs the opportunity to learn the coding syntax and <strong>become experts quicker</strong></li><li>Generated reports and historical graphs from a continuous integration pipeline<strong> for stakeholders</strong></li><li>Allowed a <strong>community to add additional functionality</strong> to be shared</li></ul><p>Mark set about creating an affordable and easy to use automation solution to resolve these and many other challenges.</p><p><strong>On March 27, 2018 </strong>Mark announced the culmination of years of development by introducing the <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> Automation Platform built on top of both Selenium and Appium</strong>. His goal was to simplify several issues that were still a challenge to novice Selenium and Appium SDETs while maintaining a robust automation test suite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xv7WRWs8pNpnvOJI91Evtg.png" /></figure><p>The first challenge was to simplify the installation and configuration process faced by most novice Selenium automation engineers. TestProject leverages a two-part solution: The <strong>TestProject Agent</strong> and the <strong>TestProject Cloud</strong> Repository.</p><p><strong>The </strong><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> Agent</strong> contains the latest LTS Selenium and Appium support files and five browser drivers in a self-contained download for <strong>Windows, Linux</strong> and <strong>Mac</strong>. When new versions of Selenium and Appium are released TestProject releases a new Agent containing the updated stable versions. The updates typically take less than two minutes to complete. This brought installation down to a matter of minutes.</p><p><strong>TestProject Cloud</strong> stores all the artifacts of an automation project: tests, element repositories, data sources, results and historical graphs. It allows in-house teams to collaborate with remote teams around the globe to create and execute automated test cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4m0QhRBIt_SX7OcZRMNr6Q.png" /></figure><p>The next challenge was to create a way to build new test cases in a code-less fashion without losing the code altogether. Mark’s team added a <strong>Smart Recorder </strong>to the TestProject Agent. This allows users to <strong>record or manually build</strong> all the web <strong>action</strong> functionality into a code-less test, while adding <strong>elements</strong> in a shared project repository <strong>reducing redundancy and maintenance time</strong>.</p><p>The Smart Recorder allows the validation of text and displays all relevant element properties by “freezing” an element and displaying the information on screen. Lastly it allows users to select from a collection of selenium properties methods to execute.</p><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>also resolves the issue of <strong>hard coded data </strong>as test cases can be data driven from .csv files from a <strong>Project Parameter </strong>like a URL. It also supports <strong>Test Parameter</strong> which can capture and reuse dynamic data. For example, capturing a system generated order number that can be used in a cleanup phase to cancel the order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_dXj0ejW2lgxowTCo_kRg.png" /></figure><p>The Smart recorder can also create reusable <strong>Test modules.</strong> This eliminates redundant development and maintenance in a large suite of test cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QASLcKw5dIXMccb8GkQYgw.png" /></figure><p>Setting up a <strong>CI/CD pipeline</strong> could be a major challenge for someone on their first day. <strong>Consider the time used to acquire the compute resources, configure and troubleshoot a Jenkins server</strong> and nodes to execute test cases on a scheduled timeline. Mark thought there should be an easy way to get a CI/CD Job pipeline up and running long before scaling to a full Jenkins solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*JOwKjKb3RWwr0IE0tTadxg.png" /></figure><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>has a <strong>CI/CD Pipeline called Jobs.</strong> Test cases added to Jobs <strong>execute automatically</strong>. Jobs execute test on the team’s network of registered agents, or on physical or virtual mobile devices from day one. And when the project is ready to scale up, TestProject has a <strong>dedicated plugin for Jenkins</strong> to execute with more advanced CI/CD pipeline configurations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aw_eFuAWWSvwvytcBJgieg.png" /></figure><p>Once the jobs have executed TestProject provides <strong>detailed reports, historical graphs</strong> and can even <strong>export PDF files</strong> to keep stakeholders informed of the project progress.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BthqF1JK5CO7TOw7xOgk0g.png" /></figure><p>Lastly Mark made <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a> a <strong>community driven platform</strong>. There are <strong>blogs, articles</strong> and <strong>support forums</strong> provided by the users in the community who support the project. <br> <br> Mark also knew that there would <strong>be many more features and functionality</strong> that his team could never imagine that would be needed by the community.</p><p>TestProject included the capability of creating custom add-ons <strong>to support more functionality</strong> in the Smart Recorder. This extensibility is referenced by the Smart Recorder allowing users to create custom test cases from a drop down list that is built based on the properties and methods used by the elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rcLlFBI3wi3lQLJUxyiyJw.png" /></figure><p>Mark also wanted to level out the learning curve for novice developers to write code for automated test cases. TestProject allows developers to <strong>extract tests into either Java or C#</strong> with TestNG support and edit in IDEs such as <strong>IntelliJ </strong>or<strong> Visual Studio</strong>. A fully coded framework can be realized within a few days of providing stakeholders a proof of concept. TestProject also support a component approach providing a modular design to keep tests robust with reduced maintenance.</p><p>Since TestProject provides <strong>support for both Selenium and Appium</strong> tests can easily be ported between both platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ivEK0BogZlgnOO6XVcfRVQ.png" /></figure><p>The last feature about TestProject is that any user can start a project <strong>without a credit card</strong> by creating a <strong>Free Forever account</strong>. This allows <strong>unlimited Agent use, unlimited Jobs</strong> and all the features of TestProject <strong>with 2 Gig of drive space </strong>for your test artifacts.</p><h3>Past is Prologue: TestProject Community Addons</h3><p>The final feature Mark wanted was to <strong>allow members of the Community to supercharge </strong><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> by building extensible new features</strong>. He included the ability for advanced developers to <strong>create custom Addons</strong> to share with the entire TestProject community.</p><p>Which brings us up to <strong>SeConf 2018</strong>…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/1*8BD9E5CHDgDuBXHSNBa9Pg.png" /><figcaption>Paul Grossman</figcaption></figure><p>Paul Grossman, Twitter’s “Dark Arts Wizard” spoke at the <strong>2018 Chicago</strong> <strong>Selenium Conference Lightning Talks.</strong> He stated his plan to port several techniques into the Selenium world called <strong>Class Switching</strong> and <strong>Dynamic Object Identification</strong>. These were concepts he had developed during his nineteen years as a QTP/UFT test automation engineer in VBScript. He was curious if other platforms, like Selenium Java, could do the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jyYFXNV7rp-XrcDzL5z_xw.png" /></figure><p>In 2019 Paul developed a <strong>Natural Language Process</strong> <strong>Engine Addon for TestProject. </strong>This could translate loose English phrases such as <strong>“Click the ‘Add to Cart’ button”</strong> directly into executable code.</p><p>His use of the <strong>Magic Object Model </strong>technique allowed elements to be dynamically identified by a combination of verbs, element classes and text to reduce coded page objects and facade coded elements. It also employed <strong>Class Switching:</strong> in the event a new build <strong>changed an element’s class, say from a link to a button</strong>, the test cases would be less likely to need any maintenance to identify the new element.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvVAkPIOJdX2j5rYp9DcHg.png" /><figcaption>TestProject, an All-In-One Solution for all levels of Test Automation Developers</figcaption></figure><h3>Conclusion</h3><p><a href="https://testproject.io/"><strong>TestProject </strong></a>takes the next big leap in <strong>making test automation easy. From setup to test creation, from reporting to automated CI/CD test execution</strong>.</p><p>TestProject gives novice Selenium developers a head start with its code export in both Java and C#. New features and functionality are just around the corner as the <strong>community continues to expand, evolve and provide creative solutions.</strong></p><p>And it’s free.<br> <br>For those wanting to make the lead from Manual Tester to Software Developer Engineer in Test it’s worth their to take look at <strong>TestProject.</strong></p><h3><strong>Want to learn more?</strong></h3><p><a href="https://medium.com/@paulgrossman/easy-selenium-test-automation-recording-and-creation-with-testproject-54eed9852b1a">Learn how to get from Novice to Expert in a three part, step-by-step article about TestProject in this Medium article.</a></p><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a></p><p><strong>Sources:</strong></p><p><a href="https://www.webomates.com/blog/selenium-testing/">https://www.webomates.com/blog/selenium-testing/</a></p><p><a href="https://testproject.io/">https://testproject.io/</a></p><p><a href="https://blog.testproject.io/2018/03/27/testproject-framework/">https://blog.testproject.io/2018/03/27/testproject-framework/</a></p><p><a href="https://www.softwaretestinggenius.com/introduction-to-selenium-automation-tutorial/">https://www.softwaretestinggenius.com/introduction-to-selenium-automation-tutorial/</a></p><p><a href="https://blog.testproject.io/2019/05/01/open-source-selenium-4-test-automation/">https://blog.testproject.io/2019/05/01/open-source-selenium-4-test-automation/</a></p><p><a href="https://www.seleniumhq.org/about/history.jsp">https://www.seleniumhq.org/about/history.jsp</a></p><p><a href="https://seleniumhq.wordpress.com/2010/">https://seleniumhq.wordpress.com/2010/</a></p><p><a href="http://appium.io/history.html?lang=en">http://appium.io/history.html?lang=en</a></p><p><a href="https://applitools.com/blog/why-selenium-ide-2019?utm_referrer=https%3A%2F%2Fwww.google.com%2F">16 reasons why to use Selenium IDE in 2019 (and 2 why not) 🤔 - Applitools Blog</a></p><p><a href="https://www.youtube.com/watch?v=Qlt5YUGmN1Y&amp;list=PLRdSclUtJDYUkhPwOhIrjA2BPbnw2Vrlm&amp;index=9">https://www.youtube.com/watch?v=Qlt5YUGmN1Y&amp;list=PLRdSclUtJDYUkhPwOhIrjA2BPbnw2Vrlm&amp;index=9</a></p><p><a href="https://www.youtube.com/watch?v=G6Y7WebZIVY&amp;list=PLRdSclUtJDYUkhPwOhIrjA2BPbnw2Vrlm&amp;index=18">https://www.youtube.com/watch?v=G6Y7WebZIVY&amp;list=PLRdSclUtJDYUkhPwOhIrjA2BPbnw2Vrlm&amp;index=18</a></p><p><a href="https://www.swtestacademy.com/selenium-testing-what-is-selenium/">https://www.swtestacademy.com/selenium-testing-what-is-selenium/</a></p><p><a href="https://testguild.com/podcast/automation/187-appium-automation-infinity-beyond-jonathan-lipps/">https://testguild.com/podcast/automation/187-appium-automation-infinity-beyond-jonathan-lipps/</a></p><p><a href="https://jlipps.com/">https://jlipps.com/</a></p><p><a href="https://cloudgrey.io/">https://cloudgrey.io/</a></p><p><a href="https://cloudqa.io/selenium-3-a-step-closer-to-codeless-testing/">https://cloudqa.io/selenium-3-a-step-closer-to-codeless-testing/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e29874ea1c6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Easy Selenium Test Automation Recording and Creation with TestProject]]></title>
            <link>https://medium.com/@paulgrossman/easy-selenium-test-automation-recording-and-creation-with-testproject-54eed9852b1a?source=rss-ba38a7f645e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/54eed9852b1a</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[appium]]></category>
            <category><![CDATA[testproject]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[csharp]]></category>
            <dc:creator><![CDATA[Paul Grossman]]></dc:creator>
            <pubDate>Thu, 31 Oct 2019 17:07:18 GMT</pubDate>
            <atom:updated>2019-12-29T16:49:54.353Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*gxHJD4wSdQWB83f2i-dG7A.png" /></figure><p><strong>Congratulations!</strong></p><p>You are a manual testing expert who is about to make the big leap into test automation with the leading tool in this area: <strong>Selenium</strong>.<br> <br> <strong>There’s just one problem:</strong> You’re a beginner developer and you are starting to realize that the learning curve for Selenium may be very steep. You are new with Selenium commands and best practices. And you are just discovering that there is lot more required to establish a solid test automation framework than meets the eye.</p><p><strong>It could be years before</strong> you get a proficient level of understanding and it looks like it going to be a long run.</p><p>Wouldn’t it be great if there was a <strong>helping hand</strong> along the way to make the process easier?</p><p>Fortunately, there is a <strong>Free Test Automation Platform</strong> that helps you out. And this article will show you how to go from Zero to Hero step by step in three easy sections.</p><p>Let’s see how <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong>.io</strong> makes life easier for beginner and expert SDETS alike.</p><h3>Contents</h3><p><a href="#_Toc23358959">WHAT IS TESTPROJECT?</a></p><p><a href="#_Toc23358959">SETTING UP THE ENTIRE TEST AUTOMATION WITH TESTPROJECT TAKES LESS THAN 10 MINUTES!</a></p><p><a href="#_Toc23358960">CREATING A TESTING REPOSITORY AND INVITING TEAMMATES.</a></p><p><a href="#_Toc23358961">CREATING YOUR FIRST RECORDED SELENIUM TEST.</a></p><p><a href="#_Toc23358962">EXTENDING SELENIUM TEST WITH COMMUNITY ADDONS</a></p><p><a href="#_Toc23358963">RECORDED SELENIUM DATADRIVEN TESTS</a></p><p><a href="#_Toc23358964">TEST EXECUTION AND REPORTING</a></p><p><a href="#_Toc23358965">EXTRACT SELENIUM CODE FROM A TESTPROJECT TEST WITH A SINGLE CLICK!</a></p><p><a href="#_Toc23358966">TESTPROJECT SUPPORTS MODULAR DESIGN!</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Jruabytb5ou7B_rqCrNBg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*-thtcfHh4qM9n2yGd280bw.png" /></figure><h3>WHAT IS TESTPROJECT?</h3><p>TestProject is a FREE, community-powered platform that simplifies test automation in Selenium <strong>on multiple browsers and operating systems</strong>. It helps you quickly become an expert with Selenium commands, building tests and even writing code in multiple languages. Once you master Selenium,<strong> Appium is right around the corner</strong> for all your mobile testing needs.</p><p>If there is something that TestProject does not have out of the box, there is a good chance it is available within its <strong>extensive library of over 100</strong> <strong>Addons</strong>. These are automation building blocks that help empower your tests.</p><p>In this article, we will walk though setting up a TestProject project step by step for all experience levels.</p><ul><li>In <strong>Section One </strong>beginners will see how to create an account and a <strong>build a basic test.</strong></li><li><strong>Section Two</strong> shows intermediate users how to generate reports and setup a <strong>scheduled execution of a test</strong> in a CI/CD pipeline (without Jenkins) to build <strong>historical graphs</strong>.</li><li><strong>Section Three </strong>shows how to become an advanced user by <strong>extracting code</strong> into Visual Studio, adding more test functionality and importing a coded test.</li><li>Finally a <strong>Bonus section</strong> shows how to <strong>data drive a test </strong>while leveraging <strong>reusable test modules </strong>for reduced maintenance.</li></ul><p>If you are a Lone Ranger this may sound like a lot to take in.</p><p>But you are not alone: TestProject is also a community-driven <strong>social media hub</strong> with <strong>articles, blogs</strong> and <strong>forums </strong>to help you get from Zero to Hero in a single bound.</p><p>Ready to impress your stakeholders and managers?</p><p><strong>The Let’s get started…</strong></p><h3>PART ONE: PROJECT SETUP TO TEST EXECUTION</h3><h4>SETTING UP THE ENTIRE TEST AUTOMATION WITH TESTPROJECT TAKES LESS THAN 10 MINUTES!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*g8r42eI0ajAK-Aq015ZSPQ.png" /></figure><p><strong>Step One: </strong>Open TestProject.io in Chrome and create your <strong>Free Forever Account</strong>:</p><p>· <strong>Your name<br></strong>· <strong>A valid email account<br></strong>· <strong>A password</strong></p><p><strong>It’s a Free account. No credit card needed.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*gbQ7cSbhLwVs282nrw9a_Q.png" /></figure><p>The Free Forever account give us <strong>unlimited Agents, </strong>Forum support and <strong>2 GB of data storage</strong> to get started.</p><p>What is an Agent?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HnX7sIdo7N70gfyK2FpxXg.png" /></figure><p><strong>Step Two:</strong> Download and register the <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> Agent</strong>.</p><p>If you have ever taken an introductory course on Selenium, you may be familiar with all the installation and system configuration needed before you even get to create your first “Hello World” automation script to run successfully.</p><p>The <strong>TestProject Agent </strong>lets you skip all of that.</p><p>Simply download and run the Agent for your operating system — <strong>Windows, Mac</strong> or <strong>Linux</strong>. The Agent does all the heavy lifting for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*ghl9HKf0OI-Nnga63zBtlQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*AsFJK1hxILYDyumRBav-6A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*f8wDwEkhSGsktPGLhjzUSg.png" /></figure><p><strong>Step Three</strong>: Register the <em>local</em> <strong>Agent</strong></p><p>This is the actual TestProject Agent that listens for commands to execute tests from the cloud-based repository.</p><p><strong>Additional <em>remote</em> agents</strong> can be registered on other <strong>Windows, Mac</strong> and even <strong>Linux</strong> systems. This can create a pool of test automation resources for concurrent execution on different browsers and mobile devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WETb78U3biE0oSqat4wVAA.png" /></figure><p>The TestProject Agent adds the latest stable LTS versions of both <strong>Selenium </strong>and <strong>Appium Jar files</strong> to the local TestProject directory.</p><p>This eliminates the initial configuration processes to search, download and then update the correct version Selenium and Appium and all the browser drivers. We don’t even have to modify the Windows Environmental Path or create System Variables to find them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*Qpee7_IAH4Tfi8Vk8eIPHg.png" /></figure><p>Once the <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>Agent is up and running that’s the end of the installation.</p><p>Congratulations! <br>Your entire test automation framework is now ready.</p><p><strong>Let’s to go to work on our first project…</strong></p><h3>CREATING A TEST PROJECT REPOSITORY AND INVITING TEAMMATES TO COLLABORATE</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*x7TVicajFNBoWdv3KiNyeA.png" /></figure><p>First time users will notice that TestProject has plenty of <strong>walk-through wizards</strong> that explain all the features in each area in a clear and concise manner. In addition, hovering the mouse over an element will reveal more information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gXpPQSgLF5LeGWAdB_b-gQ.png" /></figure><p>As a new user, TestProject helps you get started by creating your first <strong>project</strong> called <strong>My First Project</strong>. Each project can have multiple <strong>Apps</strong> and <strong>Tests</strong>.</p><p>An app can be the <strong>URL of the website</strong> being tested or it can be an <strong>app on an iOS and Android mobile device</strong>.</p><p>The starter project has one web App and a web test <strong>“My First Test</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*eIodwHvZPKjKnFKBNXRl0Q.png" /></figure><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>knows <strong>everyone works better on a team.</strong></p><p>If you have teammates you can immediately invite them to join the project.</p><p>This is another example of how the TestProject automation platform simplifies the overall process by sharing the work.</p><p>Click on <strong>My First Test </strong>to see its steps…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*W56NbWf-tgp9asDZ_0Nq5g.png" /></figure><p>Each TestProject step is supported by a common <strong>object repository</strong>, <strong>data</strong> <strong>parameters </strong>and an <strong>extensible modular design</strong>.</p><p>Got five more minutes? <br>Let’s create a new Selenium test under <strong>My First Project</strong> from scratch.</p><p>Click the<strong> New Test </strong>button<strong> </strong>at the top shown by the orange arrow<strong>…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3jW6eUYy6v7IlrmgqhObEw.png" /></figure><h3>CREATING YOUR FIRST RECORDED SELENIUM TEST</h3><p>TestProject can create three different types of tests:</p><ul><li><strong>Mobile </strong>(ioS or Android)</li><li><strong>Web </strong>(Chrome, Edge, Firefox, IE or Safari<strong>)</strong></li><li><strong>Code </strong>(Java or C#)</li></ul><p><strong>Mobile tests</strong> can be created to run on under Appium on <strong>virtual and physical iOS and Android devices.</strong></p><p><strong>Web tests</strong> can be built manually or recorded with the Smart Recorder.</p><p>Advanced users can <strong>export their tests in C# or Java</strong> and upload a test suite of <strong>coded tests</strong> to run directly from TestProject.</p><p><strong>Quick Tip: </strong>If you are more interested in exported coded tests in C# then skip directly to the <strong>third section of this article</strong>.</p><p>Let’s start with a<strong> Web </strong>test type…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*jgmjBS2buejn9ja_DmzZ7w.png" /></figure><p>CREATE YOUR FIRST SELENIUM RECORDED TESTS</p><p>In this case we will create a simple test for searching on <strong>Wikipedia</strong> at <a href="https://www.wikipedia.org/"><strong>https://www.wikipedia.org/</strong></a></p><p>Every test must be associated with an application under test. Since this is our first test <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>asks to create a named <strong>reference to the Wikipedia URL.</strong></p><p>We will name the web application under test <strong>Wikipedia</strong> and add the starting URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*CswnxeDjtOKZfqew2PS8nQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*gp3yJP-_kuf8X4CVYetg2A.png" /></figure><p>This is a one-time process. This creates a centrally located <strong>Project Parameter </strong>named<strong> applicationURL </strong>behind the scenes.</p><p>If the applicationURL value changes, all the tests that reference that parameter change as well to reduce maintenance.</p><p>Click <strong>Save</strong> and <strong>Next</strong>.</p><p><strong>Up next is creating a new test…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3jW6eUYy6v7IlrmgqhObEw.png" /></figure><p>There are four ways to create a new test case:</p><ul><li><strong>Record</strong></li><li><strong>Edit</strong></li><li><strong>Blank Test</strong></li><li><strong>Duplicate an existing Test</strong></li></ul><p><strong>Record</strong> is quickest. This will create a test with the <strong>Smart Recorder</strong> active on the application browser page and adds a <strong>Navigate To</strong> step automatically.</p><p>The <strong>Edit</strong> button is used to create a new test component without the Smart Recorder running. The browser can be navigated to a specific page and then have steps added manually or with the recorder. This allows several main tests to call a supporting test to reduce redundancy and maintenance.</p><p>Clicking <strong>Blank Test</strong> simply creates a new empty test in the project. This is handy when a group of test cases are being created where steps will be added by other team members.</p><p>Lastly a new test case can be created by <strong>duplicating</strong> an existing test. <br>Then existing steps can be added, modified or deleted as necessary.</p><p>Let’s click <strong>Record</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-53bjTkNSo_WCLMSiNwsvw.png" /></figure><p>Next the <strong>Smart Recorder</strong> browser window is displayed and navigated to the Wikipedia URL.</p><p>The first step, <strong>Navigate To</strong> is added with the <strong>ApplicationURL</strong> Project Parameter automatically.</p><p>The default value for the parameter is the Wikipedia application URL and can be changed or data-driven with multiple URLs from a data source stored in TestProject.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cYFymJNv0QHyMOqj8VcHMw.png" /></figure><p>Let’s type <strong>“TestProject”</strong> into the search field to add the new step to our test.</p><p>As we hover the mouse over the Wikipedia landing page, elements will be highlighted with limited detail.</p><p>But let’s <strong>FREEZE </strong>the element to get more options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*hipSaAKH5GoUlsRb8MfJyQ.png" /></figure><p>Hover over the field and <strong>double-tap the Shift key</strong> to <strong>freeze</strong> the element.</p><p>Once an element is frozen, we see four functional areas:</p><ul><li><strong>Actions</strong></li><li><strong>Validations</strong></li><li><strong>Attributes</strong></li><li><strong>Save Element</strong></li></ul><p><strong>Actions </strong>and<strong> Validations </strong>provide all the Selenium methods that are available for execution. The Smart Recorder also suggests Addon actions relative to the type of element.</p><p><strong>Attributes </strong>show all the descriptive properties of the element.</p><p><strong>Save Element</strong> will add the element to the <strong>Element Repository</strong> and can add a <strong>Step</strong> as an option.</p><p>Let’s choose the <strong>Type Text </strong>Action…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*dtbavS5-SFmxaWzq2J1HIQ.png" /></figure><h3>EXTENDING SELENIUM TEST WITH COMMUNITY ADDONS</h3><p>The most common <strong>Actions</strong> for this Textbox element are listed first for easy access: <strong>Click, Get Text, Type Text</strong> and <strong>Clear Contents</strong>.</p><p><strong>Quick Tip:</strong> Notice there are <strong>Multiple Click Actions?</strong> <br>The standard <strong>Click</strong> is a <strong>System Action.</strong></p><p><strong>Click (using JavaScript)</strong> performs the same action but at the JavaScript level.</p><p>A <strong>Context Click</strong> is a third alternative where an element is clicked at the co-ordinate center of an element. This makes TestProject very flexible.</p><p>The <strong>Gold Star </strong>next to the <strong>Click (using JavaScript)</strong> Action means it is available as part of a <strong>custom Addon</strong> to extend the functionality of TestProject. <strong>The most relevant actions for this element are displayed</strong> by the Smart Recorder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*n7opOJdxWYcoGJ6rL4ccxw.png" /></figure><p>A <strong>Lego Brick</strong> means the Addon has been installed.</p><p>Let’s click the <strong>Details</strong> button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*wEG_kkdvQYZYOVoQdsA3RQ.png" /></figure><p>This is a full description of the features of an Addon to extend the functionality of <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a>. <strong>There are over 100 Addons </strong>and more are being developed by the community every day.</p><p>Installing an Addon is as easy as clicking the <strong>Install</strong> button on the description.</p><p>Close the description and we will next examine the <strong>Validations</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q5JeulG7CqUsh45OYUNtQw.png" /></figure><p>Under Validations we find the six standard Selenium verifications for elements.</p><ul><li><strong>Contains Text?</strong></li><li><strong>Is Clickable?</strong></li><li><strong>Is Invisible?</strong></li><li><strong>Is Present?</strong></li><li><strong>Is Selected?</strong></li><li><strong>Is Visible?</strong></li></ul><p>Note that <strong>Is Present?</strong> returns <em>True</em> if the element is in the DOM, regardless if it is visible or not.</p><p>Quick Tip: The recommended approach is to use <strong>Is Visible?</strong> rather than <strong>Is Present?</strong></p><p>Let’s next look at the element’s<strong> Attributes…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MI9QOkyV0qO5pRWmrO_AvQ.png" /></figure><p>We can easily identify the <strong>Attributes</strong> from the DOM including the <strong>xPath</strong> of the element. This is much easier than opening the Webpage in Developer mode for the same detail.</p><p>TestProject puts it all right at your fingertips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*AltSyPDx8lh0l7NO8g39VA.png" /></figure><p>Last, <strong>Save Element</strong> will add the Element to the Repository. If <strong>Create Step</strong> is marked the selected Action will be added to the test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*AltSyPDx8lh0l7NO8g39VA.png" /></figure><p>Let’s return to the Search Input field where we typed “<em>TestProject</em>”<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*0qCgH6if4_Hccw85XQw7FQ.png" /></figure><h3>RECORDED SELENIUM DATADRIVEN TESTS</h3><p>The recorder has added a <strong>Type</strong> step to the test.</p><p>But it’s hard coded to the input text “TestProject”.</p><p>TestProject has<strong> Parameterization features </strong>to pipe data from <strong>Data Sources</strong> into steps.</p><p>Let’s make the test flexible by searching any string in Wikipedia.</p><p>Click the <strong>Blue +</strong> button under <strong>Keys </strong>to open the Parameter dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*vTy4usqBHquQyylJ_nZuqg.png" /></figure><p>Two types of parameters can be added:</p><p>A <strong>Project</strong> parameter is available to all tests within the project like a URL.</p><p>A <strong>Test</strong> parameter is reused within a single test.<br>For example, capturing an order number for cancellation in a cleanup step.</p><p><strong>Secret test parameters</strong> can be encrypted so that sensitive data like passwords and API tokens can remain secure. They are hidden from reports and are never stored in the clear.</p><p>We can see the <strong>ApplicationURL</strong> parameter was added automatically when the test was created.</p><p>Let’s add a new <strong>searchCriteria</strong> parameter.</p><p>Click the <strong>+ Add New Parameter</strong> button at the bottom.</p><p>Name the parameter <strong>searchCriteria.</strong></p><p>“TestProject” is now the <strong>Default Value</strong>, but it can be overridden and data-driven.</p><p>Click the green checkmark icon and then click <strong>Add.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*9I4u9ULvTbgWtdPmau3n6g.png" /></figure><p><strong>DEBUGGING IN TESTPROJECT</strong></p><p>Debugging a TestProject test in the TestProject editor is easy.</p><p>Clicking the dropdown arrow on any step to reveals <strong>Run, Run until here</strong> and <strong>Run from here</strong> actions.</p><p>Note: If you don’t see these items, click the <strong>Record</strong> button in the upper right corner of the screen.</p><p>· <strong>Run</strong> will execute the current step.</p><p>· <strong>Run until here</strong> will execute the script from the start.</p><p>· <strong>Run from here</strong> will execute the script from this point forward.</p><p>By selecting <strong>Run until here </strong>we can be sure all the steps work as they all are marked in green.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*ciNtdccV9msYiWx-FYXnLg.png" /></figure><p>Next, we will execute the search by clicking on the Magnifying Glass button</p><p>The Smart Recorder will also add this as a step to our test.</p><p><strong>To wrap up, let’s add a validation of the element containing the text “sister projects”.</strong></p><p>Hover the mouse over the text element <strong>“Results from sister projects”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*oNicPUxcQQP6CfcaqQwgAg.png" /></figure><p>Then double-tap the Shift key to freeze the text element.</p><p>And then select the <strong>IsVisible? </strong>action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*EUmPCtvCiV2CERezS5BYwg.png" /></figure><p>The values for the step are populated automatically.</p><p><strong>Here’s a quick tip:</strong> TestProject supports <strong>negative testing</strong>.</p><p>At the bottom of each validation step is an option to <strong>Invert step results</strong> that can verify an element <em>does not</em> appear.</p><p>Leave the Invert Step Results option disabled and click the <strong>Create </strong>button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*vB7bsgzylInOA1acJ-Kziw.png" /></figure><p>The last step is added to the test.</p><p>TestProject executes the step and it is marked in Green to indicate the step passed.</p><p>This shows the Unit testing that is built into TestProject to ensure steps are created correctly at design time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6rtE7pHXDg9TSxYhM1LNBQ.png" /></figure><p>We can run the script one more time with <strong>the blue Play button</strong> in the upper right corner. Once we are satisfied with the script, simply close the browser to stop the record session and return to the Editor.</p><p><strong>Close the Browser.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JbtuyY8Br73WRhsYJ5brEA.png" /></figure><p>Our test is complete!</p><p>Click <strong>Save &amp; Exit</strong></p><p>Now let’s <strong>execute</strong> our test from TestProject and see a <strong>Report</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*8EEcB41ju-u8Nvp8hVhkWQ.png" /></figure><h3>TEST EXECUTION AND REPORTING</h3><p>Hover the mouse over the test to reveal several option icons: Run, Edit, Delete and other options</p><p>Click the blue <strong>Run</strong> button with the triangle to execute the test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*0HDuwgzy6OjlM6_YZ1iRAw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*8EEcB41ju-u8Nvp8hVhkWQ.png" /></figure><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>now asks us to choose the browser or mobile device to run against.</p><p>Note that TestProject also lets you <strong>override</strong> the parameters for unit testing data. This again allows us to unit test any data.</p><p>Select Chrome and click <strong>Next</strong> and then click <strong>Run.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ATWnNeoZawv5PHYjcbcrHQ.gif" /><figcaption>Run the test… on firefox… and perform the five validations… showing all Passing results.</figcaption></figure><p>Congratulations! Our first selenium test run is complete, and its results are stored in TestProject.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XrUsWMQm46NjhzYO_FbtSg.png" /></figure><p>These results can be <strong>exported to a PDF</strong> to share with your stakeholders.</p><p>In the next part we will look at <strong>Automatic Job execution</strong> to generate more <strong>Detailed Reports </strong>and<strong> Graphs.</strong></p><p>When you are ready…click the <strong>Wikipedia</strong> breadcrumb to see our first run graph.</p><h3>PART TWO: SCHEDULED JOB EXECUTIONS AND HISTORICAL GRAPHS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*OQ0UriaQnRFucGMmKIBCFw.png" /></figure><p>Next let’s look at our first run <strong>Graph</strong>.</p><p>TestProject provides a wide range of <strong>graphical Trending information</strong> showing the progress of our projects over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yTPKZAOqEpI2alAmOESCZQ.png" /></figure><p>TestProject has the most common graphs and configurations with easy reading detail and pictographs.</p><p>But it won’t bog you down with hundreds of configuration choices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rJiY9Zg6FBhV1f1slrRAVw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F_KlXPIIYXdVOP2YPffSeQ.png" /></figure><p>TestProject tracks test runs out of the box with Historical Graphing including</p><ul><li><strong>Velocity</strong></li><li><strong>Distribution</strong></li><li><strong>Platforms</strong></li><li><strong>Trends and Targets</strong></li></ul><p>But to get this historical data our tests need multiple runs over time using a CI/CD pipeline.</p><p>No time to set up a Jenkins server and nodes? No problem.</p><p>Let’s set up a <strong>Continuous Integration Job</strong> and let TestProject execute the test on a repeating schedule.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zEjL7h3Iuu-UTIhE75QBsA.png" /></figure><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>can easily set up <strong>Scheduled Job</strong> <strong>executions</strong> for multiple Tests.</p><p>Click <strong>+ Add a new Job</strong> on the top Navigation bar, or alternatively click the <strong>Add a Job</strong> button from the Helper window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*mjchtp8WuqlFlBAGqdcdzA.png" /></figure><p>Name the Job “<em>Regression Tests”</em> and give it a description.</p><p>Click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*NWRMb1m9ujCtTYY4vjuNuQ.png" /></figure><p>For this walkthrough we will select <strong>Web</strong> as the Job Type</p><p>Select the local Agent we registered earlier.</p><p>Click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*D71fQa0YjXmecWnFPRAFog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*JYpxfrvuJvtU27pml0z4NA.png" /></figure><p>Now Choose the browser(s) to run against and click <strong>Create</strong></p><p>Next click the <strong>Recurring </strong>tab and schedule the test run to occur in the next few minutes.</p><p>Click <strong>Save.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rweqvpPygZhiOyOPftoObw.png" /></figure><p>Finally drag the <strong>Wikipedia</strong> test to the recurring Job.</p><p>We can add as many Tests to this Job as we like.</p><p>The next time the <strong>Wikipedia</strong> Job is ready our <strong>Wikipedia</strong> test will be executed.</p><p>But what if you do have <strong>Jenkins</strong>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*UEpq4MMhOb45CWJD6EiGRg.png" /></figure><p>That’s fine too. There’s a <strong>TestProject Plugin </strong>for Jenkins.</p><p>If you are a beginner and have gotten this far, perhaps you will come a little further?</p><h3>PART THREE: LET’S GO CODE LIKE A PRO!</h3><p>EXTRACT SELENIUM CODE FROM A TESTPROJECT TEST WITH A SINGLE CLICK!</p><p>Ready to take your test automation to the next level? Great!</p><p>In the next steps we will show how TestProject exports your entire test to a C# or Java Selenium API based coding project. Open your favorite IDE, download the TestProject SDK and start enhancing your test.</p><p><strong>Exporting our test code to Visual Studio is an easy three step process.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*SUW1OIZJ5sh55zrGI8CHRg.png" /></figure><p><strong>Step One:</strong> Export the test by clicking the three ellipses …</p><p>Then select <strong>&lt;/&gt; Generated Code</strong> from the dropdown list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*7FReBmzxzq1khNJn7NRQQg.png" /></figure><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>allows users to export tests into a <strong>C# </strong>or<strong> Java</strong> Selenium Language binding using TestNG with any of the five browsers for the initial execution testing.</p><p>In this example we will use <strong>C# </strong>and<strong> Chrome.</strong></p><p>Click <strong>Generate</strong> and TestProject will extract the code project into a .zip file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*FwCObk4UAql2Pd8AnFgGIw.png" /></figure><p>Copy the .zip file to development folder and extract it.</p><p>Open the <strong>Wikipedia.csproj</strong> in <strong>Visual Studio</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DxDt6BJaV90CKB8HVxcgCw.png" /></figure><p>TestProject sets up the <strong>Test</strong> and the <strong>Test Runner</strong>.</p><p>But before we can continue, we must download the TestProject <strong>SDK</strong> from N<strong>uGet</strong>.</p><p><strong>Let’s leave Visual Studio for a moment and return to TestProject.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*Q90nAQ2Iw_yyvieFjn3zfw.png" /></figure><p><strong>Step Two:</strong> Click the <strong>Developers</strong> tab from TestProject and download the proper <strong>SDK </strong>for our chosen language.</p><p>Select <strong>C#</strong> and click <strong>nuget</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pr1XQluiHIb-YUdTAIhI0g.png" /></figure><p>Download the <strong>TestProject SDK Dependency</strong> from nuget.</p><p>Next, we return to Visual Studio…</p><p><strong>Step Three: </strong>Add the<strong> nuget dependency </strong>to the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZflEkQ4oQGMPAre0wizuDQ.png" /></figure><p>Right-click the project <strong>Dependencies</strong> (in the Solution Explorer window on the right).</p><p>Select <strong>Manage NuGet Packages.</strong></p><p><strong>Browse</strong> to the <strong>TestProject.SDK </strong>Package and install it (in the NuGet window on the left)</p><p>TestProject has everything else set up for us.</p><p><strong>Now let’s take a look closer look at the code TestPRoject created for us…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*Ko5qWzOg6e0S_IQFewalmw.png" /></figure><p>TestProject adds all of our supporting resources including the TestProject SDK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*k8nWzPB5y7HtFsaACfRxSQ.png" /></figure><p>TestProject provides our parameterization for the <strong>ApplicationURL </strong>and our<strong> searchCriteria </strong>test parameters<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*VDqDkRcJqUriwBmXg8Ps4Q.png" /></figure><p>Finally, TestProject adds our <strong>Driver</strong> and <strong>Reporter </strong>objects for execution and report generation.</p><p><strong>Now let’s compare the steps to the generated code …</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Xrz9WuXkkprHE1Yy4jFbg.png" /></figure><p>Here we see a side by side comparison of the <strong>Steps</strong> created in TestProject and the <strong>generated C# code</strong>.</p><p>TestProject identifies each step by its <strong>step number </strong>and exports all the related detail.</p><p>Remember, Selenium does not provide reporting by default. <br>So TestProject <strong>adds the reporting to complement each step</strong>.</p><p>Let’s take a closer look at the <strong>Execution</strong> and <strong>Reporting</strong> processes…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*GeSvt07gQql7x5_bfTEBfw.png" /></figure><p>First, TestProject executes an <strong>Action</strong> through the <strong>driver</strong> and returns a <em>Pass</em> or <em>Fail </em>state as a Boolean result in <strong><em>boolResult</em></strong>.</p><p>Second, the result and detail of the step is added to the report with the <strong>Reporter</strong>.</p><p>In this example <strong>“Navigate to ‘{0}’”</strong> is passed the value of the <strong>{ApplicationURL}</strong> Project Parameter.</p><p>Thus, the step reports the action attempted as</p><p>“<strong>Navigate to </strong><a href="http://www.wikipedia.org/"><strong><em>http://www.Wikipedia.org</em></strong></a><strong>&quot;</strong></p><p>This makes all reporting in TestProject highly detailed by default.</p><p>If the <em>boolResult</em> value is <strong>false,</strong> TestProject <strong>takes a screen capture</strong> and adds it to the final report.</p><p>Next let’s take a look at the <strong>element locators</strong> TestProject has created for us…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*kSGsASh2HWi0hWCb4xGsMQ.png" /></figure><p>Exporting code from a TestProject test is a quick way to learn how to write your own custom Element Locators in Selenium.</p><p>This is particularly helpful to beginners new to all the ways Selenium can locate an element.</p><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>chose the <strong>ID</strong> property as a unique identifier of Wikipedia’s Search field.</p><p><strong>Let’s enhance our code verifying a link element…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*vhAfyDRI5mudc4bSIiBQXA.png" /></figure><p>Our sixth step, and final validation, will be to ensure a <strong>“Log in” link Anchor</strong> <strong>appears</strong> on the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*K6MJEMz0-eOOyu0EQE5qDg.png" /></figure><p>For our new validation at <strong>Step 6 </strong>we can copy the code from <strong>Step 4.</strong></p><p>In the<strong> xPath,</strong> we change the element type from “<strong>//button”</strong> to “<strong>//a” link </strong>anchor.</p><p>And we change required text from “<strong><em>Search1</em></strong>” to “<strong><em>Log in</em></strong>”.</p><p><strong>Now we run the test and get the results…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*hd2nsojtTL1MRUIv31ORqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*UHsgAjwQm7ReRV89M32iJw.png" /></figure><p>Make sure the <strong>TestProject Agent</strong> is running and run this test script.</p><p>The browser will launch and perform all six steps in the test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*L77D9QdmyH0w9MJAAC_p5w.png" /></figure><p>The Visual Studio <strong>Debug Console</strong> will appear and confirm our <strong>Execution results all Passed</strong>.</p><p><strong>Now let’s turn our attention to running this new test on multiple browsers.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*XMW8ObPagvby74QY31vVuA.png" /></figure><p>When we exported this test, we told TestProject to create the TestRunner with <strong>Chrome</strong>. But we can change it to a wide variety of browsers.</p><p>And we don’t have to search for the <strong>Browser drivers</strong> because the Agent Setup we did at the beginning <strong>installed all of them</strong>.</p><p><strong>Now we will come back full circle and will take this new coded Test back into TestProject in three easy steps…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*P4GwYiSIkFubeAbU7R9h9A.png" /></figure><p><strong>Step One:</strong> Open the Project folder in the File Explorer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*L1bMm5MnZOOtO-ap0YZ5DQ.png" /></figure><p>Navigate into the <strong>bin/debug/netcoreapp2.1</strong> directory.</p><p>Here we will find the <strong>compiled test .dll</strong></p><p><strong>Leave the Explorer window open and return to the TestProject browser.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*H9E6EpjtLp8bkGl5dr0QJQ.png" /></figure><p><strong>Step Two : </strong>Create a <strong>new test</strong> in TestProject</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*lfLekJfvASYRVVBQCxcA9A.png" /></figure><p>We have been here before, but this time we will create <strong>Code</strong> Test Type.</p><p>Click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*oaQ-NbP3e1t-OcQR_7Dd6A.png" /></figure><p><strong>Step Three: Upload the test .dll to TestProject</strong></p><p>Drag the Project .<strong>dll</strong> to Test Project upload window.</p><p>Click <strong>Upload</strong>.</p><p>Click <strong>Next</strong> to create the Test package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*aTex7v8mW9an_7NL7yfKpw.png" /></figure><p>It’s recommended to follow the Package Naming convention.</p><p>In this case we name the package <strong>com.WikipediaTests.Regression</strong></p><p><strong>Quick Tip:</strong> We could add more test cases to this .dll</p><p>Click <strong>Next </strong>and then click<strong> Start Testing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*77yjjLdHibhiAP3EUR4FXA.png" /></figure><p>Now create a new job to run this coded test on multiple browsers.</p><p>Choose <strong>Chrome, Edge and Firefox</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keidOTGxdC1g1Fcv5W0Iuw.png" /></figure><p>Drag our new <strong>Coded Test</strong> to this Job</p><p>Hover the mouse over the test in the Job and <strong>click the blue Run</strong> <strong>button.</strong></p><p>Our new coded test with six steps will execute…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dwL9MxQ8Gk_QBrkwfnVurQ.png" /></figure><p><a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> </strong>executes the test on all selected browser.</p><p>Once the test execution is completed, TestProject shows us our results.</p><p>Note the <strong>Log In link</strong> in the sixth step was visible so it validated as <strong>Passed</strong>.</p><h3>BONUS SECTION: DATA-DRIVEN MODULAR DESIGN IN TESTPROJECT!</h3><p>Finally, there is one big question about any Automation tool with a Record feature. Can it avoid excessive maintenance by providing a reusable modular design?</p><p>TestProject answers that question with two additional features: <strong>Folder organization</strong> and <strong>Calls to component tests</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*EqOiY65aIxv7n4a-e-fgnA.png" /></figure><p>Tests can be organized into folders such as <strong>Smoke Tests</strong> and <strong>Regression Tests</strong>. But there is another use for folder structures in TestProject: <strong>Components</strong></p><p><strong>This is where we will store reusable test components.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*GLhzp9h_bzKcdMXoAnrvhA.png" /></figure><p>TestProject can create reusable <strong>Component tests</strong> that are called from within other main tests.</p><p>In this final example, the search steps of the Wikipedia Test have been moved to a reusable<strong> </strong>script named <strong>WikiSearch</strong> in the <strong>Component </strong>folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*jc8wOE70EYX8sM1X5vdhgw.png" /></figure><p>WikiSearch is only two steps that can be reused from multiple test cases for searching.</p><p>It first populates the Search field with data passed in from the <strong>searchValue</strong> Test Parameter and then it clicks the <strong>Search icon </strong>to execute the search.</p><p>The <strong>searchValue</strong> will be passed in from the <strong>searchCriteria</strong> parameter of the <strong>Wikipedia test.</strong></p><p><strong>Let’s look at our Wikipedia test with a call to the WikiSearch component.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*jYS4Lddhixlitp3e0TntKg.png" /></figure><p><strong>Steps 3 and 4 </strong>have been disabled as they are now replaced with a reusable call to the <strong>WikiSearch </strong>test component<strong>.</strong></p><p>Our Wikipedia test also passes the <strong>searchCriteria</strong> test parameter to the search any string.</p><p><strong>Next let’s data drive this test…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N0SaAA0YhZCMoFmM55x40w.png" /></figure><p><strong>Step 1:</strong> Create the Data Source template from the test case</p><p>By clicking <strong>Data Source Template </strong>TestProject provides us with a pre-populated comma delimited data file with the parameters to data-drive the test case.</p><p>This data file will first search the original text “TestProject” in the initial iteration and then search for the text “Joker” in the next. The ApplicationURL must have the URL as well.</p><p><strong>Next we will create a Data Source to upload the CSV file to TestProject.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-hP9XoupybjYnbWVUI204g.png" /></figure><p><strong>Step 2:</strong> Add the data file as a new data Source</p><p>From the <strong>Data Sources</strong> tab</p><p>Click the <strong>+ Add a new Data Source</strong> button</p><p>Name the Data Source<strong> WikiData </strong>and give it a description</p><p>Drag the <strong>WikiData.csv</strong> file from its location to the upload box.</p><p>The data file is then uploaded for TestProject to use from the <strong>Data Source </strong>repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*Reun9Ld-Ajwjy894LDQXiQ.png" /></figure><p><strong>Step 3:</strong> Associate the Test Source to the Test and Job</p><p>If we run the Wikipedia test we can select <strong>User data source</strong> to select <strong>WikiData</strong>.</p><p><strong>But our final step is to have TestProject execute the test from a Job and report the results on multiple browsers with multiple search strings.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WeePJNmXYN5oVDSAFiqVHg.png" /></figure><p>We drag the Wikipedia test to the Regression suite Job.</p><p><strong>Edit</strong> the test Options by clicking on the <strong>Pencil icon.</strong></p><p>Select <strong>WikiData</strong> as the <strong>User data source.</strong></p><p>Click<strong> Update.</strong></p><p><strong>Finally, we execute the Job and look at the results…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L8EIQY8NoJK6FajTgnTg9w.png" /></figure><p>Our test runs six time total: Once for each line of text passed from the <strong>WikiData Data Source, </strong>“TestProject” and “Joker”, on each of the three browsers.</p><p>The results show something went wrong! <br><strong>But that’s not a bad thing.</strong> <br>That’s TestProject doing what it’s supposed to do.</p><p>TestProject reported that the <strong>2nd iteration</strong>, where we searched for the text <strong>“Joker”</strong> on Wikipedia, it did not produce a page with the text <strong>“Results from sister projects”.</strong></p><p><strong>92% of the test case passed </strong>which tells us most of the test is still in good working order. Maintenance is probably limited; or we may have uncovered a defect.</p><p>And the <strong>failing step took a screen capture</strong> for further review. <br>The image can be zoomed and scrolled.</p><p>Quick Tip: If the error screen capture is too ambiguous, the test can be changed to <strong>capture images at every step for the most detailed results</strong> and run again.</p><p><strong>If you are a beginner, congratulations for sticking with me to the end. <br>That may have seemed like a lot to cover.</strong></p><p><strong>Could there be any more?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YiE1mJGuSNsUkvX0S2IQqw.png" /></figure><p><strong>CONCLUSION</strong></p><p>This just scratches the surface of the <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong> Automation Platform</strong>.</p><p>There is still much more: From the social media aspect the TestProject community hosts <strong>Articles, Blogs</strong>, <strong>Support</strong> <strong>Forums </strong>as well as encouraging <a href="https://www.youtube.com/watch?v=IQ4qMT_kGkk&amp;t=2s"><strong>Addon </strong>development.</a> ← See a short video about TestProject.io Addons here!</p><p>TestProject helps <strong>beginners</strong> start building tests <strong>with Addons</strong> and running on multiple browsers and operating systems on <strong>Web, iOS </strong>and <strong>Android.</strong></p><p><strong>Intermediate users</strong> get the opportunity to learn more about Selenium with <strong>code export </strong>in <strong>multiple Selenium language bindings </strong>with <strong>reusable components</strong> to reduce maintenance while <strong>learning about Element locators</strong>.</p><p><strong>Advanced users</strong> can build coded test cases to add more custom features.</p><p>Test cases can be created in a <strong>modular data-driven design</strong> approach with a high level of reporting details built in by teams<strong>.</strong></p><p>TestProject also provides easy to read <strong>detailed reports </strong>and<strong> historical graphs </strong>powered by<strong> </strong>a <strong>CI/CD Pipeline to execute test cases automatically</strong>.</p><p>Everyone is encouraged to join <strong>a supportive community</strong> that continuously creates <strong>new addons to expand the functionality</strong> of TestProject.</p><p>It’s an All-in-One from Day One tool set and it’s<strong> free.</strong></p><p>To learn more check out <a href="https://link.testproject.io/r0w"><strong>TestProject</strong></a><strong>.io</strong> and see how easy the path to becoming a Selenium and Appium test automation expert can be.</p><p>Paul Grossman @DarkArtsWizard on Twitter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54eed9852b1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>