<?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 Shubham Kumar on Medium]]></title>
        <description><![CDATA[Stories by Shubham Kumar on Medium]]></description>
        <link>https://medium.com/@shubhamkgupta?source=rss-3140a3aed95f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*caRj8Csr7MzT0WXcWxQDwg.png</url>
            <title>Stories by Shubham Kumar on Medium</title>
            <link>https://medium.com/@shubhamkgupta?source=rss-3140a3aed95f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 19:42:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shubhamkgupta/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[Introduction to Selenium — The Best Automation Tool]]></title>
            <link>https://medium.com/the-sks-guide-to-automation-testing/introduction-to-selenium-the-best-automation-tool-c1f7acb14b29?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1f7acb14b29</guid>
            <category><![CDATA[selenium-webdriver]]></category>
            <category><![CDATA[selenium-testing]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 04:33:08 GMT</pubDate>
            <atom:updated>2022-11-29T04:33:49.483Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction to Selenium — The Best Automation Tool</h3><p>In this article, we will start with an Introduction to Selenium and see the <strong>Features and Drawbacks of Selenium</strong>. Further, we will look at the Selenium tools. We will learn how to automate a web application using selenium in further articles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hWymQlImmQ8nrSli4G6TtQ.jpeg" /></figure><h3>What is Selenium</h3><p>Selenium is an open-source, free, and widely used Web UI automation testing framework. Selenium supports multiple languages like Java, Python, Ruby, C#, PHP, etc. It supports various operating systems like Windows, Mac, Linux, Android, iOS, Solaris, etc. And it also supports testing on multiple browsers like Chrome, Mozilla Firefox, Internet Explorer, Edge, Opera, Safari, etc.</p><h3>Selenium Features</h3><ul><li>Selenium is an <strong>open-source</strong> and portable Web UI automation testing framework.</li><li>Selenium IDE provides a playback and record feature for automation tests that don’t need any type of programming language.</li><li>Selenium supports different types of systems, programming languages, and web browsers. They are listed below –</li><li><strong>Systems — </strong>Windows, Mac, Linux, Android, iOS, Solaris, etc.</li><li><strong>Programming Languages — </strong>Java, Python, Ruby, C#, PHP, etc.</li><li><strong>Browsers — </strong>Chrome, Mozilla Firefox, Internet Explorer, Edge, Opera, Safari, etc.</li></ul><p><strong>Read this Blog continue from </strong>my testing blog — <a href="https://testingwithsk.in/introduction-to-selenium/">Introduction to Selenium</a></p><p>Happy Testing!!!</p><p>Thanks for reading and sharing! :)</p><p>If you liked this article, feel free to 👏👏👏 a few times up to 50 times, Seriously.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1f7acb14b29" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-sks-guide-to-automation-testing/introduction-to-selenium-the-best-automation-tool-c1f7acb14b29">Introduction to Selenium — The Best Automation Tool</a> was originally published in <a href="https://medium.com/the-sks-guide-to-automation-testing">The SK’s Guide to Automation Testing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bhailang — A Fun Programming Language]]></title>
            <link>https://medium.com/code-rider/bhailang-a-fun-programming-language-2eb6652bd5e6?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eb6652bd5e6</guid>
            <category><![CDATA[bhailang]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Wed, 23 Mar 2022 10:32:32 GMT</pubDate>
            <atom:updated>2022-03-23T10:36:49.052Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bhailang — A Fun Programming Language</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VwYLCk-mRx5MRrmWxQ9AeA.png" /></figure><p>Bhailang is a dynamically typed toy programming language, based on an inside joke, written in Typescript, created by two Indian bros — <a href="https://www.linkedin.com/in/aniketsingh0104/"><strong>Aniket Singh</strong></a> and <a href="https://www.linkedin.com/in/ristri/"><strong>Rishabh Tripathi</strong></a>. It is inspired by “Bro-Talk” which is commonly used by the Hindi-speaking male peoples from India.</p><p>This programming language is making the tech side of life a lot more fun and it’s a little something to bring a smile to the coder’s face.</p><p>It is a different language from others programming languages because It uses casual Hindi language as syntax which is known as <a href="https://bhailang.js.org/"><strong>Bhailang</strong></a>. There are a few keywords that make the Bhailang more interesting — “hi bhai…bye bhai”, “bhai ye hai”, “bol bhai”, “jab tak bhai”, “bas kar bhai”, “agar bhai”, “warna bhai”, etc.</p><blockquote><em>‘Bhai’</em>, the Hindi word for brother, is the heart of this programming language.</blockquote><h3>Let’s enjoy Bhai Ki Language — The Bhailang</h3><h4>Installation</h4><p>The journey with Bhailang is really simple — Just create a directory for your project, and then run the npm command —</p><pre><strong>npm i -D bhailang</strong></pre><h4>Create a file and run the code</h4><p>Now, we can create a file with .bhai extension — helloBhai.bhai . Copy and paste the below code.</p><pre>hi bhai<br>    bol bhai “Hello Bhai!”;<br>bye bhai</pre><p>Now run the code and you can see the console output as Hello Bhai!.</p><pre>npx bhailang helloBhai.bhai</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*d7Qo40qauRC2FB7noWIhIg.png" /></figure><h4>Bhailang block</h4><p><strong>hi bhai</strong> is the entry point and <strong>bye bhai</strong> is the end point. This is called Bhailang block, anything outside of this block will be ignored.</p><p>semicolon ; is must after each syntax otherwise you can hear Ashneer Grover’s voice.</p><pre>// Ignored</pre><pre>hi bhai<br>    ...<br> // comment <br>bye bhai</pre><pre>// Ignored</pre><h4>Declaring Variable</h4><p><strong>bhai ye hai</strong> is keyword to declare any type of variables.</p><pre>hi bhai<br>    bhai ye hai a = 10;<br>    bhai ye hai b = 13;<br>bye bhai</pre><h4>Data Types</h4><p><strong>numbers </strong>and <strong>string </strong>are similar to other language. NULL values are defined by <strong>nulla </strong>keyword. <strong>sahi </strong>and <strong>galat </strong>are the Boolean values.</p><pre>hi bhai<br>    bhai ye hai a = 10;<br>    bhai ye hai b = &quot;Bhai&quot;;<br>    bhai ye hai c = nulla;<br>    bhai ye hai d = sahi;<br>    bhai ye hai d = galat;<br>bye bhai</pre><h4>Console output</h4><p><strong>bol bhai </strong>is used to print output on console.</p><pre>hi bhai<br>    bhai ye hai a = 10;<br>    bhai ye hai b = 13;<br>    bol bhai a + b;<br>bye bhai</pre><h4>Conditionals</h4><p>Bhailang supports conditional programming. <strong>agar bhai</strong> block is executed if condition is <strong>sahi </strong>otherwise <strong>warna bhai </strong>block will be executed.</p><pre>hi bhai<br>    bhai ye hai a = 10;<br>    agar bhai (a%2 == 0){<br>        bol bhai “Are ye to Even hai.”;<br>    } warna bhai {<br>        bol bhai “Ye to Odd hai.”;<br>    }<br>bye bhai</pre><h4>Loops</h4><p><strong>jab tak hai </strong>block will be executed until the specific condition is <strong>sahi </strong>. If the condition becomes <strong>galat </strong>statement within the block stops executing.</p><ul><li>Use <strong>bas kar bhai </strong>to break the loop.</li><li>Use <strong>agla dekh bhai </strong>to continue within the loop.</li></ul><pre>hi bhai<br>    bhai ye hai a = 0;<br>    jab tak bhai (a &lt; 10){<br>        a += 1;<br>        agar bhai(a == 4){<br>            bol bhai “ye hai “, a;<br>        }    <br>        agar bhai(a == 6){<br>            bol bhai “Agla dekh”;<br>            agla dekh bhai;<br>        }<br>        agar bhai(a == 8){<br>            bol bhai “Ruk ja”;<br>            bas kar bhai;<br>        }<br>    }<br>    bol bhai “Bas bhai, mai to thak gya”, a;<br>bye bhai</pre><h4>Common Errors</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9lQapc1J_gPXVcFNyZybNQ.jpeg" /></figure><p>The more fun part comes while displaying errors in the console. Whenever you get any compilation error or runtime error it will show the error in Ashneer Grover’s famous voice — <strong>Kya kar rha hai tu??...</strong> There are some common errors and exceptions below —</p><ul><li><strong>Syntax Error</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*9js-T7-37F2zbFNmlU2alw.png" /></figure><ul><li><strong>Divisible by Zero Exception</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*yVIjM0Q6409h7T0Bl009CQ.png" /></figure><ul><li><strong>Infinite loop</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*HjImIo28bBp47OKPCLJoQA.png" /></figure><p>You can find the complete code <a href="https://github.com/shubhamkgupta14/bhailang-programming-language">here</a> which is explained in this article.</p><h4>Resources:</h4><ol><li><a href="https://bhailang.js.org/">Bhailang official website</a></li><li><a href="https://bhailang.js.org/#playground">Bhailang playground</a></li><li><a href="https://github.com/DulLabs/bhai-lang">Bhailang Source code</a></li></ol><p>Happy Learning!!!</p><p>Thanks for reading and sharing! 😄 👏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eb6652bd5e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-rider/bhailang-a-fun-programming-language-2eb6652bd5e6">Bhailang — A Fun Programming Language</a> was originally published in <a href="https://medium.com/code-rider">Code Rider</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automation Testing with Playwright and Java Script — Configuration]]></title>
            <link>https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-configuration-70aae6d0c95c?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/70aae6d0c95c</guid>
            <category><![CDATA[microsoft-playwright]]></category>
            <category><![CDATA[javascript-testing]]></category>
            <category><![CDATA[web-automation]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Mon, 21 Mar 2022 03:01:11 GMT</pubDate>
            <atom:updated>2023-01-22T06:01:03.441Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Automation Testing with Playwright and Java Script — Configuration</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OBLKLAxGS0OZ9MLSnkqa0g.png" /></figure><p>Hello again, In this article we will cover how to configure different types of testing options in Playwright. Playwright Test provides options to configure the default browser, page and context fixtures. It allows you to run the browser in headless more or headed mode, to take screenshots, and record video or to specify a test to run, etc.</p><h4>This Article is moved to my main <a href="https://testingwithsk.in/">blog page</a></h4><blockquote>Read this article from here — <a href="https://testingwithsk.in/playwright-testing-using-javascript-configuration/">https://testingwithsk.in/playwright-testing-using-javascript-configuration/</a></blockquote><p>Happy Learning!!!</p><p>Thanks for reading and sharing! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70aae6d0c95c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-configuration-70aae6d0c95c">Automation Testing with Playwright and Java Script — Configuration</a> was originally published in <a href="https://medium.com/the-sks-guide-to-automation-testing">The SK’s Guide to Automation Testing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automation Testing with Playwright and Java Script — Part III (Allure Reporting)]]></title>
            <link>https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-iii-allure-reporting-9dbe5f884dab?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dbe5f884dab</guid>
            <category><![CDATA[allure-reporting]]></category>
            <category><![CDATA[web-automation]]></category>
            <category><![CDATA[microsoft-playwright]]></category>
            <category><![CDATA[reporting]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Sat, 12 Mar 2022 07:21:53 GMT</pubDate>
            <atom:updated>2022-03-12T07:21:53.532Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automation Testing with Playwright and Java Script — Part III (Allure Reporting)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VQpCvFiZ6sDiIwBikDRNiw.png" /></figure><p>Hello learners, In the <a href="https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-ii-reporter-357732c3bd15">previous article</a>, we have looked about the reporter. So Playwright test supports three built-in reporters — <em>line, list and dot.</em></p><p>Playwright also supports some third party reporting tools like Allure Report. In this article we’ll look about the Allure Report integration with Playwright tests.</p><h4>Allure Report</h4><p>Allure Report is a flexible multi-language test report tool. which provide a detailed representation of what has been tested end extract max from the everyday execution of tests.</p><p>Allure Framework is a set of adaptors and examples for the Allure Report.</p><h4>Install Allure Report</h4><p>By using below command you can install <strong>allure-playwright</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_B1XOgAXzWDIDjQ1hlS2Pg.png" /></figure><p>To open the allure report, you need to have allure command dependency need to be installed on your machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EjiaMzp8BHDnr-chI2wDtw.png" /></figure><p>After installing both dependencies you can verify in <strong>package.json</strong> file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K5ZGdSbOiXFurTpPB9OUWQ.png" /></figure><h4>Execute Playwright Tests with Reporter option</h4><pre><strong>npx playwright test --reporter=line,allure-playwright</strong></pre><p>After run above command you can see <strong>allure-results </strong>directory into your project which contains all the <strong>JSON</strong> files.</p><p><strong>Generate Allure-Report</strong></p><pre><strong>npx allure generate .\allure-results\ --clean</strong></pre><p>After executing this command you can see <strong>allure-report</strong> directory, which contain one <strong>index.html</strong> file which can be served on browser.</p><p><strong>Open The Allure Report</strong></p><pre><strong>npx allure open .\allure-report\</strong></pre><p>This command will serve your report on your browser.</p><p>If you want to run the report on localhost then run the below command —</p><pre><strong>npx allure open -h localhost .\allure-report\</strong></pre><p>You can see the Allure Report output as below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i3k7hqRGxorcDFB9tyHJwA.png" /></figure><h4>Configure NPM scripts</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9taILhxzcHluoh92-yqRpA.png" /></figure><ul><li>To run the test and create allure report — npm run run-allure .</li><li>If you want all old tests in your report then remove prerun:allure .</li><li>If you don’t want to open the report just after complete the test execution then remove postrun:allure .</li></ul><h4>Conclusion</h4><p>I hope the above examples have shown that you can easily add pretty beautiful Allure HTML reporter into your Playwright project.</p><p>You can see the complete code <a href="https://github.com/shubhamkgupta14/Sample-web-testing-with-playwright-javascript/tree/allure-report">here</a> which is explained in this article.</p><h4>Resources:</h4><ol><li><a href="https://playwright.dev/docs/intro">Playwright Official Docs</a></li><li><a href="https://github.com/microsoft/playwright">Microsoft Playwright GitHub Community</a></li><li><a href="https://github.com/microsoft/playwright-test">Microsoft Playwright Tests</a></li></ol><p>Happy Learning!!!</p><p>Thanks for reading and sharing! :)</p><p>If you liked this article, feel free to 👏👏👏 a few times up to 50 times, Seriously.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dbe5f884dab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-iii-allure-reporting-9dbe5f884dab">Automation Testing with Playwright and Java Script — Part III (Allure Reporting)</a> was originally published in <a href="https://medium.com/the-sks-guide-to-automation-testing">The SK’s Guide to Automation Testing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automation Testing with Playwright and Java Script — Part II (Reporter)]]></title>
            <link>https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-ii-reporter-357732c3bd15?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/357732c3bd15</guid>
            <category><![CDATA[playwright-test]]></category>
            <category><![CDATA[microsoft-playwright]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[web-automation]]></category>
            <category><![CDATA[reporting]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Fri, 11 Mar 2022 08:13:57 GMT</pubDate>
            <atom:updated>2022-03-11T08:31:51.257Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automation Testing with Playwright and Java Script — Part II (Reporter)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qLK65k6w7WxPc3i50dFQIw.png" /></figure><p>Hello learners, In the <a href="https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-i-set-up-967cf6f6a420">previous article</a>, we have looked how to create basic structure of Playwright Framework with JavaScript. Without reporting the testing is incomplete. So, In this article let’s look into the reporting part which is supported in Playwright.</p><p>Playwright Tests supports a few built-in reporters to fulfill the different needs and provide the custom reporters accordingly. To achieve the built-in reporters, just pass --reporter in the command line options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FvwEmvg2qLIQOcpv3T0lbQ.png" /></figure><p>You can specify the reporter name programmatically in playwright configuration file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f89decadc061fa21770240fd011a8f8/href">https://medium.com/media/3f89decadc061fa21770240fd011a8f8/href</a></iframe><h3>Built-in reporters</h3><p>Playwright tests support three types of built-in reporters. These reporters show detailed information about failures, and mostly differ in verbosity for successful runs.</p><ul><li><strong><em>List reporter: </em></strong>List Reporter is default but not in CI case (In CI dot reporter is default). It prints a line for each test case and add “ ✔ ” if test passes or add “ ✖ ” if fails.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cWtUQjGyMCDy1T5OiGRXDg.png" /></figure><ul><li><strong><em>Line reporter:</em></strong> Line reporter is more concise than the list reporter. It uses a single line to report last finished test, and prints failures when they occur. Line reporter is useful for large test suites where it shows the progress but does not spam the output by listing all the tests.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qWtKHhQ2H4lleaHEvPAFAw.png" /></figure><ul><li><strong><em>Dot reporter:</em></strong> Dot reporter is very concise . It only shows a single character per successful test run. It is the default on CI and useful where you don’t want a lot of output. It shows dot “ . ” if passes or shows “ F ” if fails.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3X75IrWw5Dq7kqVGHLkwzQ.png" /></figure><h3>HTML reporter</h3><p>HTML reporter generate a default report folder playwright-report that contains a report index.html for the test run and we can easily serve this report as a web page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aHNTD3VPU7BjHXIAUQztgg.png" /></figure><p>By default, HTML report is opened automatically if some of the tests failed. You can control this behavior via the open property in the Playwright config. The possible values for that property are always, never and on-failure (default).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/789a8f7e4e7bc67c68079a134781d0a1/href">https://medium.com/media/789a8f7e4e7bc67c68079a134781d0a1/href</a></iframe><p>By default, HTML report is written into the playwright-report folder in the project root directory. It can be overridden by changing the value of outputFolder property.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/91d57edeef24103ab9709ba88abd285e/href">https://medium.com/media/91d57edeef24103ab9709ba88abd285e/href</a></iframe><p>Open the last run test HTML report using command line —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OrEhw0wrrvLxvF3wVuDgvg.png" /></figure><p>Here is an example of HTML report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P-ESY5JCaPwS82o6SSQsOg.png" /></figure><h3>Configure NPM scripts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LlLyluNalLvSkdXaZQ99Cg.png" /></figure><ul><li>To run the test using any built-in reporter — npm run run:reporter .</li><li>To serve the HTML report as a web page — npm run open:report .</li><li>To serve the HTML report from custom folder — npm run open:report my-report .</li></ul><h3>Conclusion</h3><p>In playwright, we can integrate so many reports like built-in reporters, HTML Report, Custom Reporters, JUnit XML Reporter, JSON Reporter. In this article we have focused only in built-in and HTML Reporters. In next article we’ll talking about Third Party Reporter. It was really a great experience to explore this tool and good learning!</p><p>You can see the complete code <a href="https://github.com/shubhamkgupta14/Sample-web-testing-with-playwright-javascript/tree/reporter">here </a>which is explained in this article.</p><h3>Resources:</h3><ol><li><a href="https://playwright.dev/docs/intro">Playwright Official Docs</a></li><li><a href="https://github.com/microsoft/playwright">Microsoft Playwright GitHub Community</a></li><li><a href="https://github.com/microsoft/playwright-test">Microsoft Playwright Tests</a></li></ol><p>Happy Learning!!!</p><p>Thanks for reading and sharing! 😄 👏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=357732c3bd15" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-ii-reporter-357732c3bd15">Automation Testing with Playwright and Java Script — Part II (Reporter)</a> was originally published in <a href="https://medium.com/the-sks-guide-to-automation-testing">The SK’s Guide to Automation Testing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automation Testing with Playwright and Java Script — Part I (Set Up)]]></title>
            <link>https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-i-set-up-967cf6f6a420?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/967cf6f6a420</guid>
            <category><![CDATA[microsoft-playwright]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[javascript-testing]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Thu, 10 Mar 2022 11:59:51 GMT</pubDate>
            <atom:updated>2023-01-15T06:59:32.563Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automation Testing with Playwright and Java Script — Part I (Set Up)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1hOxRWsHNP5XfWpbTmaJfg.png" /></figure><p>Playwright is the newest addition to the Headless Browser Testing Frameworks which is developed by the authors of Puppeteer and maintained by Microsoft. Playwright is an open-source web automation library, built on the top of Puppeteer. In this article, we look into a web automation framework created with Playwright and Java Script.</p><h4>This Article is moved to my main <a href="https://testingwithsk.in/">blog page</a></h4><blockquote>Access this article from here — <a href="https://testingwithsk.in/playwright-testing-using-javascript-setup/">https://testingwithsk.in/playwright-testing-using-javascript-setup/</a></blockquote><p>Happy Learning!!!</p><p>Thanks for reading and sharing! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=967cf6f6a420" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-sks-guide-to-automation-testing/automation-testing-with-playwright-and-java-script-part-i-set-up-967cf6f6a420">Automation Testing with Playwright and Java Script — Part I (Set Up)</a> was originally published in <a href="https://medium.com/the-sks-guide-to-automation-testing">The SK’s Guide to Automation Testing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make A Python Game : Rock, Paper, Scissors!]]></title>
            <link>https://medium.com/code-rider/make-a-python-game-rock-paper-scissors-5644dae615a7?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5644dae615a7</guid>
            <category><![CDATA[rock-paper-scissor-game]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-game]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Wed, 25 Aug 2021 08:28:38 GMT</pubDate>
            <atom:updated>2021-08-25T08:51:58.416Z</atom:updated>
            <content:encoded><![CDATA[<h3>Make A Python Game: Rock, Paper, Scissors!</h3><p>Game programming is the best way to learn many tools that are used in the real world. This is the basic idea to start your coding journey and at the end, you will get a console-based <a href="https://medium.com/code-rider/make-a-python-game-rock-paper-scissors-5644dae615a7">rock, paper, scissors</a> game.</p><h4><strong>In this section you’ll learn :</strong></h4><ul><li>How to play <strong>rock paper scissors</strong> game</li><li>How to take user input</li><li>How to use loops and functions</li></ul><figure><img alt="Rock Paper Scissors; Python; Python3" src="https://cdn-images-1.medium.com/max/865/1*QDRdcuDY4zxo56qBIVrr2w.png" /></figure><h3>What is Rock Paper Scissors?</h3><p>According to wiki Rock paper scissors is a hand game usually played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand. These shapes are “rock”, “paper”, and “scissors”.</p><h4>Gameplay</h4><ul><li><strong>Rock (a fist)</strong> smashes scissors.</li><li><strong>Paper (palm facing downward)</strong> covers rock.</li><li><strong>Scissors(two fingers extended)</strong> cut paper.</li></ul><p>Now by keeping the rules in mind just create the flow chart for a complete game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t2d2Ngx3GzEfS151jjpMhw.jpeg" /><figcaption>Flowchart for Single Game</figcaption></figure><p>Awesome! Now write code step by step. First of all, we need a user input :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/62133869522a638a55d60d042ac46305/href">https://medium.com/media/62133869522a638a55d60d042ac46305/href</a></iframe><p>Now let the computer make the choice by own. For that we need a <a href="https://docs.python.org/3/library/random.html"><strong>random</strong></a> module that can help computer to select an option randomly :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/151c4656cfd120d7d5b7154e718bb8e7/href">https://medium.com/media/151c4656cfd120d7d5b7154e718bb8e7/href</a></iframe><p>Now validate the winner according to the rock paper scissors rules :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d38270a77630d0960e140d75bf057f04/href">https://medium.com/media/d38270a77630d0960e140d75bf057f04/href</a></iframe><p>Great! Now combine all the pieces of code and play :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0512883129c1a88e4ecd0937183dc307/href">https://medium.com/media/0512883129c1a88e4ecd0937183dc307/href</a></iframe><p>Cheers, we have written the code which takes input from the user selects random selection for the computer, and determines the winner. This will work only at one time. If we want to play this game multiple times you need to add a loop that should terminate when the user wants. Now create a Flow chart for repeated play.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgxiRE-BXe7FG06hZoJCDg.jpeg" /><figcaption>Flowchart for Repeated Game</figcaption></figure><p>Now add the required syntax in our previous code :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7e2ea7ddecafeb4dda1ee5fa8066ec91/href">https://medium.com/media/7e2ea7ddecafeb4dda1ee5fa8066ec91/href</a></iframe><p>So we have added a new syntax that takes input from the user for play again. If the user selects “y” then it will again ask for user choice and if the user selects anything other than “y”, It will come out from the loop.</p><h3>Convert Your Code Into Functions</h3><p>Functions are a great way to separate our larger code into smaller pieces of code. These are easy to understand, manageable, and reusable.</p><p>Here we define multiple functions for user_selection(), computer_selection(), determine_winner() etc.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/26c274a5fdf5ecf82feb9a558875f81c/href">https://medium.com/media/26c274a5fdf5ecf82feb9a558875f81c/href</a></iframe><p>Now we have converted our code into functions. Here can we one possibility that user may select the wrong option then we need to check that input also. Change the user_selection() method with below syntax.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/11e5891ed3c63c34f204c4ecb98a5149/href">https://medium.com/media/11e5891ed3c63c34f204c4ecb98a5149/href</a></iframe><h3>Conclusion</h3><p>Cheers!!! We have just finished our first Python Game. Now you may expand the number of possible scenarios in your game.</p><p>Happy Coding!!!</p><p>Thanks for reading and sharing! :)</p><p>If you liked this tutorial, feel free to 👏👏👏 a few times up to 50 times, Seriously. <a href="https://shubhamkgupta.medium.com/">Follow</a> me on medium for the next post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5644dae615a7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-rider/make-a-python-game-rock-paper-scissors-5644dae615a7">Make A Python Game : Rock, Paper, Scissors!</a> was originally published in <a href="https://medium.com/code-rider">Code Rider</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LED Module using Raspberry Pi]]></title>
            <link>https://medium.com/raspberry-pi-tutorials-for-beginners/led-module-using-raspberry-pi-83773a66416f?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/83773a66416f</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[led-module]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Tue, 19 Jun 2018 02:27:27 GMT</pubDate>
            <atom:updated>2018-06-19T02:27:27.596Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Friends, In this tutorial we will learn how to use our Raspberry Pi with code to make LED TURN ON/OFF. You can see many examples on LED. Now you will have to follow me to learn, and you will enjoy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*A-aQ1wCvVTtQPoLb-av8RA.png" /></figure><h3>Components</h3><ul><li>1 Raspberry Pi</li><li>1 Breadboard</li><li>1 LED or more as you want</li><li>Jumper Wires</li><li>1 Resistor or more as you need (220Ω-330Ω)</li></ul><h3>Circuit Building Procedure</h3><p>Connect the circuit as following steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*TtyiR24TNCYJgwMzxJVCxQ.png" /><figcaption>Raspberry Pi connection for LED</figcaption></figure><p><strong>Step 1. </strong>Put the LED and resistor on the breadboard as shown in figure.</p><p><strong>Step 2. </strong>Connect the LED’s negative (-ve) edge to ground (GND) of Raspberry Pi pin 6.</p><p><strong>Step 3. </strong>Connect the LED’s positive (+ve) edge to GPIO18 of Raspberry Pi pin 12.</p><h3>Code</h3><h4>1. LED ON/OFF</h4><p>Edit and save this following code using name <strong>LED.py</strong></p><pre>#!/usr/bin/env python<br>import RPi.GPIO as GPIO<br>import time</pre><pre>Pin = 18 # pin18</pre><pre>def setup():<br>   GPIO.setmode(GPIO.BCM) # Numbers GPIOs by physical location<br>   GPIO.setwarnings(False)<br>   GPIO.setup(Pin, GPIO.OUT)</pre><pre>def turnON():<br>   print ‘LED on…’<br>   GPIO.output(Pin, GPIO.HIGH)<br>   time.sleep(5)<br>   print ‘LED off…’<br>   GPIO.output(Pin, GPIO.LOW)</pre><pre>def destroy():<br>   GPIO.output(Pin, GPIO.LOW)<br>   GPIO.cleanup() # Release resource</pre><pre>if __name__ == ‘__main__’: # Program start from here<br>   setup()<br>   try:<br>      turnON()<br>   except KeyboardInterrupt: # When ‘Ctrl+C’ is pressed, the child program destroy() will be executed.<br>      Destroy()</pre><h4>2. LED Blinking</h4><p>Edit and save this following code using name <strong>Blink.py</strong></p><pre>#!/usr/bin/env python<br>import RPi.GPIO as GPIO<br>import time</pre><pre>Pin = 18 # pin18</pre><pre>def setup():<br>   GPIO.setmode(GPIO.BCM) # Numbers GPIOs by physical location<br>   GPIO.setwarnings(False)<br>   GPIO.setup(Pin, GPIO.OUT)</pre><pre>def blink():<br>   for i in range(10):<br>      print “Blink “,(i+1)<br>      GPIO.output(Pin,GPIO.HIGH)<br>      time.sleep(1)<br>      GPIO.output(Pin,GPIO.LOW)</pre><pre>def destroy():<br>   GPIO.output(Pin, GPIO.LOW)<br>   GPIO.cleanup() # Release resource</pre><pre>if __name__ == ‘__main__’: # Program start from here<br>   setup()<br>   try:<br>      blink()<br>   except KeyboardInterrupt: # When ‘Ctrl+C’ is pressed, the child program destroy() will be executed.<br>      destroy()</pre><h3>Run The Code</h3><p>Compile the saved code.</p><pre>&gt;&gt;&gt; python LED.py</pre><p>Now you will see the LED on for 5 sec.</p><pre>&gt;&gt;&gt; python Blink.py</pre><p>Now you will see the LED blinking for 10 times.</p><p>Happy Coding!!!</p><p>Thanks for reading and sharing! :)</p><p>If you liked this tutorial, feel free to 👏👏👏 a few times up to 50 times, Seriously.</p><p><a href="https://medium.com/raspberry-pi-tutorials-for-beginners/getting-started-with-raspberry-pi-1d763c080fa7">Getting Started With Raspberry Pi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83773a66416f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/raspberry-pi-tutorials-for-beginners/led-module-using-raspberry-pi-83773a66416f">LED Module using Raspberry Pi</a> was originally published in <a href="https://medium.com/raspberry-pi-tutorials-for-beginners">Raspberry Pi Tutorials For Beginners</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started With Raspberry Pi]]></title>
            <link>https://medium.com/raspberry-pi-tutorials-for-beginners/getting-started-with-raspberry-pi-1d763c080fa7?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d763c080fa7</guid>
            <category><![CDATA[quick-setup]]></category>
            <category><![CDATA[getting-started]]></category>
            <category><![CDATA[raspberry-pi-tutorial]]></category>
            <category><![CDATA[raspi-configuration]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Wed, 06 Jun 2018 03:41:48 GMT</pubDate>
            <atom:updated>2018-06-19T02:28:07.826Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Friends, In this tutorial you will learn how to initially setup the raspberry pi and configure it to make it ready for use. So go for following steps for quick set up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*mxvmWaA7neb21Gt1L6Oufw.png" /></figure><h3>What you will need</h3><h4>Hardware</h4><ul><li>A raspberry Pi,</li><li>A monitor with a cable and an HDMI cable,</li><li>A USB keyboard and mouse,</li><li>Power supply,</li><li>Micro SD card and micro SD USB card reader,</li><li>An Ethernet cable or Internet connection.</li></ul><h4>Software</h4><ul><li>Raspbian OS, installed via NOOBS.</li></ul><h3>Installing Raspbian with NOOBS</h3><h4>Download the NOOBS first</h4><p>One of the easiest boot environment called NOOBS(New Out Of Box Software).You can download zip file of <a href="https://www.raspberrypi.org/downloads/noobs/">NOOBS version 2.8.1</a>. It will take some time to complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*p9AoUU7-gloxD0bmg-OjAQ.png" /><figcaption>Download Noobs</figcaption></figure><h4>Format your SD card</h4><p>Next step is to format your SD card to install a new operation system. You can download <a href="https://www.sdcard.org/downloads/formatter_4/index.html">SD Formatter</a> for your Windows or Mac to format SD card.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*S7-jIgRSEu5_6dHZxcV91g.png" /><figcaption>Download SD Formatter</figcaption></figure><h4>Extracting NOOBS and copying the files</h4><p>Next, you will need extract the files from NOOBS zip archive which you have already downloaded.</p><ul><li>Go to your that folder where you have downloaded the zip file.</li><li>Extract the files and copying all the files into SD card</li><li>Now eject the SD card.</li></ul><h4>Set up your Raspberry Pi</h4><p>After copying all the files into SD card you have to set up your Raspberry Pi using following steps:</p><ul><li>Insert the SD card with Raspbian installed into the card slot on the Raspberry Pi.</li><li>Plug the USB keyboard into one of the USB port on the Raspberry Pi.</li><li>Plug the USB mouse in the same way.</li><li>Plug the HDMI cable into HDMI port on the Raspberry Pi. Make sure your monitor is plugged into a wall socket and turned on.</li><li>Connect the headphones if needs.</li><li>Connect an Ethernet cable to your router if you want to connect to internet. Connect the other end of Ethernet cable to your Raspberry Pi.(Alternatively, you will connect it by wireless LAN.)</li><li>Now, Plug the power supply to the Raspberry Pi. You should see the red light on the Raspberry Pi.</li><li>This will turn on and boot up Raspberry Pi.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*cwslKL7vUF6qDApeTUXK4A.png" /><figcaption>Raspberry Pi Setup</figcaption></figure><h4>Download the Raspbian OS on the Raspberry Pi</h4><p>Once you have completed all the previously steps, you will see a start screen on your monitor. For downloading the Raspbian OS on the Raspberry Pi, you must follow given steps:</p><ul><li>Select <strong>Raspbian</strong> and click <strong>Install</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*A1zhbQmRzMOIY9NY1w880g.png" /><figcaption>Raspbian Boot Screen</figcaption></figure><ul><li>Click <strong>Yes</strong> to confirm when the warning window pops up. This warning shows you that the SD card will be overwritten.</li><li>It takes some time to complete the installation, so <strong>wait</strong>.</li></ul><p>Once the installation process is completed, It will automatically begin to boot.</p><h3>Configuration</h3><p>When the boot process is done, you need to do some initial configuration. It can be done by command line and by the GUI mode.</p><h4>By command line</h4><p>You need to open terminal and enter the command for access the config utility.</p><pre>$ sudo raspi-config</pre><p>Use the arrow keys to move between menu items and the tab key to jump between sections in the interface. The enter key selects the currently highlighted option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2h0OHQ46nMWwLJiosToEsg.png" /><figcaption>Command access for Raspberry Pi config</figcaption></figure><p>In the configuration tool you need to change some utility:</p><ul><li>Change the user password. The default password israspberry, but you should change to prevent unauthorised access to your Raspberry Pi.</li><li>Change the host name, if needed. The default host name is raspberrypi.</li><li>Set the VNC resolution. You should set to 1280x720 or higher.</li><li>Set the location details for locale, timezone, WiFi region and keyboard layout.</li><li>Enable all the interface like Camera, SSH, VNC, SPI etc.</li></ul><p>Once all the updates have been made, you can quit configuration tool and reboot the Raspberry Pi.</p><h4>By Interface</h4><ul><li>Click <strong>Menu</strong> in the upper left corner of the screen.</li><li>Select <strong>Preferences</strong> in the drop-down menu.</li><li>Select <strong>Raspberry Pi Configuration</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Csj76lZ6Rg0V2MutG3bwWw.png" /><figcaption>GUI access for Raspberry Pi config</figcaption></figure><ul><li>Click the <strong>System</strong> tab from configuration window.</li><li>Click <strong>Change Password</strong> if you want to change it.</li><li>Enter a new <strong>Host name</strong> if you want.</li><li>Click on <strong>Set Resolution</strong> to set VNC resolution.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*s9m6bTB0A3F4BWlJj3E_jg.png" /><figcaption>System configuration</figcaption></figure><ul><li>Click the <strong>Interface</strong> tab from configuration window.</li><li><strong>Enable</strong> all the interfaces.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_niAhPHl3V9EiitpXlHPBA.png" /><figcaption>Interface configuration</figcaption></figure><ul><li>Click the <strong>Localisation</strong> tab from configuration window.</li><li>Click on <strong>Set Locale</strong> to set your location.</li><li>Click on <strong>Set Timezone</strong> to set your local time.</li><li>Click on <strong>Set Keyboard</strong> to set your keyboard language.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JZLkh8JC8GlXMH3M8NHDHA.png" /><figcaption>Localisation configuration</figcaption></figure><p>After configure the utilities you have to reboot the Raspberry Pi to reconfiguration. So Click <strong>Yes</strong> to continue when the reboot windows appears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*8tXISt12-7L3uuIYEKJEKA.png" /><figcaption>Reboot process</figcaption></figure><p>Your Raspberry Pi is now ready to use. Now you will have to look any good project or you can learn more about different modules and sensors in the next upcoming tutorials.</p><p>Happy Coding!!!</p><p>Thanks for reading and sharing! :)</p><p>If you liked this tutorial, feel free to 👏👏👏 a few times up to 50 times, Seriously.</p><ul><li><a href="https://medium.com/raspberry-pi-tutorials-for-beginners/led-module-using-raspberry-pi-83773a66416f">LED Module using Raspberry Pi</a></li><li><a href="https://medium.com/raspberry-pi-tutorials-for-beginners/wash-the-raspberry-pi-before-eating-it-watch-it-3d8c880c167b">Wash the Raspberry Pi before Eating It, Watch It!</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d763c080fa7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/raspberry-pi-tutorials-for-beginners/getting-started-with-raspberry-pi-1d763c080fa7">Getting Started With Raspberry Pi</a> was originally published in <a href="https://medium.com/raspberry-pi-tutorials-for-beginners">Raspberry Pi Tutorials For Beginners</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wash the Raspberry Pi before Eating It, Watch It!]]></title>
            <link>https://medium.com/raspberry-pi-tutorials-for-beginners/wash-the-raspberry-pi-before-eating-it-watch-it-3d8c880c167b?source=rss-3140a3aed95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d8c880c167b</guid>
            <category><![CDATA[tutorials-for-pi]]></category>
            <category><![CDATA[introduction-to-pi]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[pi-introduction]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Tue, 29 May 2018 17:17:01 GMT</pubDate>
            <atom:updated>2018-06-06T03:46:28.815Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Friends, This tutorial can assist you to be told concerning raspberry pi from beginners to skilled. You’ll notice lots of examples from this tutorial. Within the initial tutorial, I even have mentioned about raspberry pi and components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uQeI6EEbAtirI1djHTUg5g.png" /></figure><h3>Raspberry Pi</h3><p>The Raspberry Pi could be a small, low power computer board capable of running a UNIX operating system. It is open hardware, with the exception of the first chip on the Raspberry Pi, the Broadcom SoC (System on a Chip), that runs several of the most elements of the board–CPU, graphics, memory, the USB controller, etc. You’ll connect a keyboard, mouse, and display on to it and use it as a PC, otherwise, you will use it remotely, human action with its software through its local area network port.</p><p>The RPi board conjointly comes loaded with the following:</p><ul><li>512MB SDRAM memory (clocked at 400 MHz) (for Model B Rev 2);</li><li>Two USB 2.0 ports, provided via associate integrated USB hub;</li><li>Permanent memory, out of that the software runs, provided by an SD/MMC/SDIO card slot; and,</li><li>10/100 wired local area network RJ45.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*W7yRsPutvGNfQb84QQ6GkQ.png" /><figcaption>Raspberry Pi B+</figcaption></figure><h4>Different models of Raspberry Pi</h4><p>Currently, There are two Raspberry Pi models present in the market, the A and the B, named after the aforementioned BBC Micro, which was also released in a Model A and a Model B. The A comes with 256MB of RAM and one USB port. It’s cheaper and uses less power than the B. The present model B comes with a second USB port, Associate in Nursing LAN port for affiliation to a network, and 512MB of RAM. <br>The Raspberry Pi A and B boards have been upgraded to the A+ and B+ respectively. These upgrades are done by increasing the number of USB ports and by improving power consumption, particularly in B+.</p><h3>GPIO Pins</h3><p>One of the powerful features of the Raspberry Pi is that the row of GPIO (general-purpose input/output) pins on the highest fringe of the board. A 40-pin GPIO header is found on all current Raspberry Pi boards (unpopulated on Pi Zero and Pi Zero W). The Pi one Model B+ (2014), boards comprised a shorter 26-pin header before.<br>Any of the GPIO pins is selected (in software) as associate degree input or output pins and used for a large range of functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*9LOqraQPh2jJNQTQeQQpfA.png" /><figcaption>GPIO Pins in Raspberry Pi B</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*unQ3ZOXBXDhqIr_24msvMQ.png" /><figcaption>GPIO Pins in Raspberry Pi A</figcaption></figure><h4>Output Pins</h4><p>A GPIO pin selected as AN output pin may be set to high (3V3) or low (0V).</p><h4>Input Pins</h4><p>A GPIO pin selected as associate input pins can be read as high (3V3) or low (0V). This is often created easier with the utilization of internal pull-up or pull-down resistors. Pins GPIO2 and GPIO3 have fastened pull-up resistors, except for alternative pins, this may be organized in the software system.</p><h4>Voltage pins</h4><p>There are two 5V and two 3V3 pins on the board, along with the variety of ground pins (0V), that area unit unconfigurable. The remaining pin area unit all general purpose 3V3 pins, that means outputs area unit set to 3V3 and input area unit 3V3-tolerant.</p><h4>Others</h4><ol><li><strong>SPI</strong><br>SPI0: MOSI (GPIO10); MISO (GPIO9); SCLK (GPIO11); CE0 (GPIO8), CE1 (GPIO7)<br>SPI1: MOSI (GPIO20); MISO (GPIO19); SCLK (GPIO21); CE0 (GPIO18); CE1 (GPIO17); CE2 (GPIO16)</li><li><strong>PWM (pulse-width modulation)</strong><br>Software PWM available on all pins<br>Hardware PWM available on GPIO12, GPIO13, GPIO18, GPIO19</li><li><strong>Serial</strong><br>TX (GPIO14); RX (GPIO15)</li><li><strong>I2C</strong><br>Data: (GPIO2); Clock (GPIO3)<br>EEPROM Data: (GPIO0); EEPROM Clock (GPIO1)</li></ol><h3>Breadboard</h3><p>Breadboards are one of the most fundamental pieces when learning how to build circuits. Because it is a solderless device for a short time model with electronics and test circuit designs. Most electronic parts in electronic circuits will be interconnected by inserting their leads or terminals into the holes then creating connections through wires wherever applicable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*30KUurruU2mFldv4ChhHCQ.png" /><figcaption>Breadboard</figcaption></figure><h3>Light‐emitting diode (LED)</h3><p>It glows once electricity is passed through it. Current flows from the anode to cathode. LEDs can solely work if power is provided the proper way.</p><ul><li>Anode: longer pin</li><li>Cathode: shorter pin</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/99/1*EdbMwD3I9KLpzi5z3NwOXQ.png" /><figcaption>LED</figcaption></figure><h3>Resistances</h3><p>Resistances are used to flow the small current within the circuit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*-24r6cpyYCNwRdspNgRmUA.png" /><figcaption>Resistances</figcaption></figure><h3>Jumper Wires</h3><p>Jumper wires are used on the breadboard to connect the components to follow the current. There are two different connectors on each ends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/368/1*NN0sWyuxehKWaWMNG_KZ9Q.png" /><figcaption>Wires</figcaption></figure><p>In the further tutorials you will learn about setup and some examples.</p><p>Have a nice day!!!</p><p>Thanks for reading and sharing! :)</p><p>If you liked this tutorial, feel free to 👏👏👏 a few times up to 50 times, Seriously.</p><p><a href="https://medium.com/raspberry-pi-tutorials-for-beginners/getting-started-with-raspberry-pi-1d763c080fa7">Getting Started With Raspberry Pi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d8c880c167b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/raspberry-pi-tutorials-for-beginners/wash-the-raspberry-pi-before-eating-it-watch-it-3d8c880c167b">Wash the Raspberry Pi before Eating It, Watch It!</a> was originally published in <a href="https://medium.com/raspberry-pi-tutorials-for-beginners">Raspberry Pi Tutorials For Beginners</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>