<?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 Suraj Patil on Medium]]></title>
        <description><![CDATA[Stories by Suraj Patil on Medium]]></description>
        <link>https://medium.com/@suraj.patil_47799?source=rss-72ccee09566a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GuorGhWNGQSaRj13LICYww.jpeg</url>
            <title>Stories by Suraj Patil on Medium</title>
            <link>https://medium.com/@suraj.patil_47799?source=rss-72ccee09566a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 16:16:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@suraj.patil_47799/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[Mastering Test Execution with Testim: A Step-by-Step Approach]]></title>
            <link>https://blog.nonstopio.com/mastering-test-execution-with-testim-a-step-by-step-approach-29c3bc507d6f?source=rss-72ccee09566a------2</link>
            <guid isPermaLink="false">https://medium.com/p/29c3bc507d6f</guid>
            <category><![CDATA[testim]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <dc:creator><![CDATA[Suraj Patil]]></dc:creator>
            <pubDate>Tue, 27 Feb 2024 06:07:56 GMT</pubDate>
            <atom:updated>2024-02-27T06:07:56.200Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VlP08exTJ4bAsGUV0Olc2A.png" /></figure><p><strong>Introduction:</strong> Welcome to the world of test case creation with Testim! With Testim, you can author UI and end-to-end tests quickly and efficiently. Testim helps manage and scale automation projects seamlessly across various browsers and platforms. Let’s explore how Testim can revolutionize your testing process!</p><p>Check out my previous blog - <a href="https://medium.com/nonstopio/introducing-testim-ai-powered-test-automation-7b1c784003b0"><strong><em>Introducing Testim: AI-Powered Test Automation</em></strong></a> for details on Testim’s installation process and the parameters and conditions it offers.</p><p>To create your first test case using Testim, follow these steps:<br>Step 1: Access Testim Platform: Log in to your Testim account and access the Testim platform.</p><p>Step 2: Click on “New Test”: Look for an option or button labeled “New Test” or something similar.</p><p>Step 3: Define the Test Name <br>Give your test case a descriptive name that reflects the functionality you are testing. This helps you easily identify the purpose of the test case later on.</p><p>Step 4: Click on “Start Recording” to begin creating a new test case. Enter the application URL you want to automate in the “Your App URL” section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*TArpYofYGLdUI9XweLNXZw.png" /></figure><p><strong>Record Test Steps: </strong>Testim typically offers a recording feature that allows you to record your interactions with the application under test. Click on the record button to start recording your test steps.</p><p><strong>Perform Interactions:</strong> Interact with the application as you would during regular testing. Navigate through different pages, fill out forms, click on buttons, and perform other actions you want to include in your test case.</p><p><strong>Stop Recording:</strong> Once you’ve completed the interactions you want to include in your test case, stop the recording. This will finalize the test steps that Testim has captured based on your interactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vooBJ3rBdpPrL-LCCXaI3Q.gif" /></figure><p><strong>Review and Edit Test Steps:</strong> Review the recorded test steps to ensure they accurately reflect the intended test scenario. You can also edit or add additional steps as needed to enhance the test case.</p><p><strong>Save Test: </strong>After reviewing and editing the test steps, save your test case. Testim will typically prompt you to provide any additional details or configurations before saving.</p><p><strong>Execute Test:</strong> Once your test case is saved, you can execute it to verify its functionality. Testim may provide options for running the test locally or on remote browsers and devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wifWNTB94ixWbG-Wcpqc3A.gif" /></figure><p><strong>Analyze Results: </strong><br>After the test execution is complete, analyze the results to ensure the test passed successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tu7YkhgieEf3bodMq1N73w.gif" /></figure><p>If there are any failures, investigate the cause make necessary adjustments to the test case, and log that particular bug by adding details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQGOMktpHpWHwy0vuZxNWQ.gif" /></figure><p>Above are all the steps for writing test cases using Testim. Now, you can proceed and create your first test case by following these instructions.</p><p><strong>Reference</strong>: <a href="https://help.testim.io/docs/how-to-record-a-test">https://help.testim.io/docs/how-to-record-a-test</a></p><blockquote>Keep reading and Follow <a href="https://medium.com/@suraj.patil_47799">Me</a> and M<a href="https://medium.com/nonstopio">y team</a> to stay updated on the latest tech world blogs.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29c3bc507d6f" width="1" height="1" alt=""><hr><p><a href="https://blog.nonstopio.com/mastering-test-execution-with-testim-a-step-by-step-approach-29c3bc507d6f">Mastering Test Execution with Testim: A Step-by-Step Approach</a> was originally published in <a href="https://blog.nonstopio.com/">nonstopio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Testim: AI-Powered Test Automation]]></title>
            <link>https://medium.com/@suraj.patil_47799/introducing-testim-ai-powered-test-automation-7b1c784003b0?source=rss-72ccee09566a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b1c784003b0</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[testim]]></category>
            <dc:creator><![CDATA[Suraj Patil]]></dc:creator>
            <pubDate>Thu, 15 Feb 2024 10:36:46 GMT</pubDate>
            <atom:updated>2024-02-15T10:36:46.462Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kygJDN539Ch9tYI6cKnGrg.png" /></figure><p><strong>Testim</strong> is the leading AI-powered test automation platform for custom web applications. It enables fast authoring of AI-stabilized UI and end-to-end tests, uniquely designed to help Agile teams efficiently manage and scale their automation projects. Testim allows testers and developers to create, manage, and execute automated tests for web applications across different browsers and platforms.</p><h4>Setting Up Testim:</h4><p>To set up Testim, you need to install the Testim Chrome Extension. This extension scans the entire DOM, extracts elements, and creates a score for their attributes. It is essential for gaining access to the DOM required for authoring new tests and recording new user flows within Testim. Additionally, with the extension, you can playback tests locally within the context of your browser.</p><p>Here’s how to install the Testim Extension:<br>1. Search for “Testim Chrome Extension” or “Testim Editor” in the Chrome Web Store.<br>2. Click on “Install” to add the extension to your Chrome browser.<br>3. Once the extension is installed, sign up for testim.io with a free account.</p><p>What is Test Status? <br>You can add a status to your tests to help manage which test needs to be worked on. The following statuses are used:</p><ol><li>Draft: Tests being created or edited.</li><li>Evaluating: Tests under review for effectiveness.</li><li>Active: Tests ready for execution.</li><li>Quarantine: Tests are temporarily disabled due to issues or failures.</li></ol><p>Testim runs based on the below parameters and conditions:</p><h4>Groups:</h4><p>Groups allow you to combine several steps into a reusable unit for better organization and efficiency.<br>Steps to Create a Group:<br>1. Select multiple steps in the test editor by holding the Ctrl (Windows) or Command (Mac) key while left-clicking or marking an area around the steps.<br>2. While the steps are selected, click on “Add Group” to create a group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*s11C9-UyjoffyLLCUqy-nw.png" /></figure><p>Benefits: Groups enhance test readability, maintainability, and reusability by encapsulating related steps together.</p><h4>Conditions/Options:</h4><p>Conditions determine when a step in your test should run or be skipped, providing control over test execution flow.<br>Steps to Apply a Condition:<br>1. Within the test editor, select the step to which you want to apply the condition.<br>2. Locate the “When to run” option for the selected step.<br>3. Specify the desired condition, such as element visibility, element text, custom condition, or never run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UD139UMbsu_J8fjTCZaEDw.png" /></figure><p>Benefits: Conditions enable dynamic test execution based on specific criteria, ensuring tests adapt to changes in the application under test</p><h4>Base URL :</h4><p>The base URL is the initial webpage or starting point of the website where the test begins.<br>Steps to Define Base URL:<br>1. Access the Setup Step of the test, which is typically the first step in the test sequence.<br>2. Within the Setup Step, specify the base URL of the website.<br>Importance: Setting the base URL ensures the test navigates to the correct starting point before executing subsequent steps.</p><h4>Scheduler :</h4><p>The scheduler allows you to automate test runs based on predefined schedules, enhancing efficiency and reliability.<br>Steps to Create a Test Run Schedule:<br>1. Navigate to “Runs” -&gt; “Scheduled Runs” within the Testim platform.<br>2. Click on “New scheduler” or “Let’s Schedule” if it’s your first scheduled run.<br>3. Configure the schedule settings, including frequency, timing, and recurrence options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*Ekh3TuGo-uYnYQdhYmRmfw.png" /></figure><p>Benefits: Scheduled runs streamline testing processes, ensuring consistent validation of application functionality and performance.</p><h4>Run Multiple Test Cases:</h4><p>Steps to Run Multiple Test Cases:<br>1. Access the Test List in Testim.<br>2. Select the desired test cases by clicking on each test case while holding down the Ctrl (Windows) or Command (Mac) key.<br>3. Once the desired test cases are selected, click on the “Play” button to execute them together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICloY0A1lqr9-uohOfU8fg.png" /></figure><p>Advantages: Running multiple test cases simultaneously saves time and facilitates comprehensive testing coverage.</p><h4>Run Tests in Incognito Mode:</h4><p>Steps to Run Tests in Incognito Mode:<br>1. Navigate to the Test List -&gt; Tests within the Testim platform.<br>2. Open the test you want to run in incognito mode.<br>3. Click on the Options arrow next to the Run button.<br>4. Select “Run in Incognito mode” from the dropdown menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*vPa_6l-x8pGPjngrXjVGOQ.png" /></figure><p>Purpose: Running tests in incognito mode simulates a clean browsing environment, ensuring test reliability and reproducibility.</p><h4>Stop, Pause &amp; Debug Tests:</h4><p>Steps to Stop a Test: Click the Stop button on the action menu during test execution.<br>Steps to Pause a Test: Click on the “Pause” button in the action menu.<br>Steps to Resume a Test: Click the Play button in the action menu to resume test execution from the paused state.<br>Breakpoint in a test: Breakpoints will automatically pause the test at a specific step (before it runs).<br>Steps to insert breakpoint: Hover on an arrow between two steps and click the Toggle Breakpoint button.</p><p>Purpose: These options control test execution, allowing you to troubleshoot and manage tests effectively.</p><h4>Execution Runs:</h4><p>The execution graph provides an overview of the number of executions passed and failed, while the list displays information about individual execution runs, including the following fields:<br><strong>Execution</strong>: Indicates the specific execution run being displayed.<br>Branch: Denotes the branch or version of the test suite being executed.<br><strong>Browser</strong>: Specifies the web browser used for the execution run.<br>Started: Displays the timestamp indicating when the execution run started.<br><strong>Duration:</strong> Shows the duration of the execution run.<br><strong>Concurrency:</strong><em> </em>Indicates the level of concurrency or parallelism used during the execution run.<br><strong>Results<em>:</em></strong> Provides a summary of the test results for the execution run.<br><strong>Result Labels<em>:</em></strong> Displays any custom labels or tags associated with the test results.<br><strong>Status: </strong>Indicates the overall status or outcome of the execution run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NigFssMKJAhmgZvRNNO2kg.png" /></figure><h4>Test Runs</h4><p>The “Test Runs” screen allows you to view statistics on past runs executed by the CLI, CI, or Scheduled Runs. It displays aggregated statistics such as the success percentage, the total number of tests run, the number of tests that passed, and the average duration of the runs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ryf_Lk4GSBbMbj-MAm4cA.png" /></figure><h4><strong>Test Library</strong></h4><p>The Test Library screen is where you organize your tests into folders. Here, you’ll see a list of all folders and tests in your project, and you can perform different actions on each test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aDSTxAo87SrmqUDfmzFWaw.png" /></figure><h4>Reports :</h4><p>The Reports tab in the Insights section provides detailed information about your project’s quality over a chosen time frame. It includes data on successful and failed test runs, team activity, and which tests have failed the most.</p><h4>Project Setting :</h4><p>Project Settings consist of General Settings and Pull Request Settings. In General Settings, you can edit your project name and set the default base URL. Pull Request Settings include options like:</p><ol><li>Protect Master from changes: Prevents direct writing to the master branch, making it read-only.</li><li>Require approving reviewer: Specifies who can review your pull requests when enabled.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hGtNJ2nIkZGDk3yWzQxYeA.jpeg" /></figure><p>These parameters and conditions allow users to customize and control how tests are executed in Testim, ensuring flexibility and adaptability to various testing scenarios.</p><p><strong>Reference</strong>: <a href="https://help.testim.io/docs/testim-overview">https://help.testim.io/docs/testim-overview</a></p><blockquote>Keep reading and Follow <a href="https://medium.com/@suraj.patil_47799">Me</a> and M<a href="https://medium.com/nonstopio">y team</a> to stay updated on the latest tech world blogs.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b1c784003b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visual Regression Testing with Percy using Cypress:]]></title>
            <link>https://blog.nonstopio.com/visual-regression-testing-with-percy-using-cypress-6be7ae1672f0?source=rss-72ccee09566a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6be7ae1672f0</guid>
            <category><![CDATA[cypress-automation]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[percy]]></category>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[Suraj Patil]]></dc:creator>
            <pubDate>Fri, 12 Jan 2024 09:10:09 GMT</pubDate>
            <atom:updated>2024-01-12T09:10:09.271Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H5a6-_TREyNpcAesavLz1Q.png" /><figcaption>Credits: <a href="https://www.softwaretestingmaterial.com/visual-testing/">https://www.softwaretestingmaterial.com/visual-testing/</a></figcaption></figure><p>Every tester has to check the <strong>UI manually</strong>. The tester has to have a keen eye, to point out the tiny alignment changes at the front-end elements. It’s a test case that misses the test automation scope as it is impossible to do with regular test automation aspects. To address this problem, visual testing came up with <strong>Image Processing</strong>!</p><p><strong>What is Visual Regression Testing?<br></strong>Visual Regression Testing applies the same logic but confines testing to the visual aspects of the software. In other words, it checks that code changes do not break any aspect of the software’s visual interface.<br>A visual regression test checks what the user will see after any code changes have been executed by comparing screenshots taken before and after code changes. This is why visual regression tests are also sometimes called visual snapshot tests.</p><p><strong>Visual Regression Testing Using PERCY Plugins:<br></strong>Percy helps teams automate visual testing. It captures screenshots, compares them against the baseline, and highlights visual changes. With increased visual coverage, teams can deploy code changes with confidence with every commit.</p><p><strong>Setting up Percy Plugin for Visual Testing in Cypress:<br></strong>Step 1: Create a free account on <a href="https://percy.io/">https://percy.io/</a>. When you create an account on Percy, you can create a new project to obtain a Percy token.</p><p>Step 2: Install Percy dependencies<br>Install the components required to establish the integration environment for your test suite.<br>To install the dependencies, run the following command:</p><pre>npm install --save-dev @percy/cli @percy/cypress</pre><p>Step 3: Import the Percy library to use the method and attributes required to take screenshots.<br>In order to add Percy snapshots to your Cypress tests, you have to first import the @percy/cypress package into your cypress/support/e2e.js file:</p><pre>import &#39;@percy/cypress&#39;;</pre><p>Step 4: Now you can add visual tests in your existing suite.</p><pre>describe(&#39;Test with visual testing&#39;, function() {<br>    it(&#39;homepage&#39;, function() {<br>      // visit website<br>      cy.visit(&#39;https://www.jotform.com/build/233102362321439?s=templates&amp;salesforceTemplate=1&#39;);<br>      cy.wait(5000)<br>      // Take a snapshot for visual difference<br>      cy.percySnapshot();<br>    });<br>  });</pre><p>Step 5: Now to run the Percy copy the Token and run the given below command to set PERCY_TOKEN as an environment variable:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*fILlRcGj_45cQTfBwBWuag.png" /></figure><pre>export PERCY_TOKEN=&quot;&lt;your token here&gt;&quot;</pre><p>Step 6: Run Percy<br>Run your tests using the <a href="https://github.com/percy/cli/tree/master/packages/cli-exec#percy-exec">percy exec</a> command as shown below:</p><pre>npx percy exec -- cypress run</pre><p>Step 7: After starting Percy, navigate to the Percy dashboard and refresh the page. You’ll find your build status in the ‘Builds’ section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-_t4Wuhqj1zpEVQ1-15olg.png" /></figure><p>Step 8: Now open the build to access and review the screenshots or snapshots. When you approve a snapshot, it becomes part of the baseline. This baseline serves as a reference point for future comparisons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NYQ-SNZCPDNtGSIwR9mdOg.png" /></figure><p>Step 9: When you open the second build, you will see the difference between the two snapshots will be clearly highlighted when you make changes and run tests using Percy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IuKx4lLZmEvOrc4KSlbXaA.png" /></figure><p><strong>Reference</strong>: <a href="https://www.browserstack.com/guide/visual-regression-testing">https://www.browserstack.com/guide/visual-regression-testing</a></p><blockquote><em>Keep reading and Follow </em><a href="https://medium.com/@suraj.patil_47799"><em>Me</em></a><em> and M</em><a href="https://medium.com/nonstopio"><em>y team</em></a><em> to stay updated on the latest tech world blogs.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6be7ae1672f0" width="1" height="1" alt=""><hr><p><a href="https://blog.nonstopio.com/visual-regression-testing-with-percy-using-cypress-6be7ae1672f0">Visual Regression Testing with Percy using Cypress:</a> was originally published in <a href="https://blog.nonstopio.com/">nonstopio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Handle a New Tab/Child Tab in Cypress?]]></title>
            <link>https://blog.nonstopio.com/how-to-handle-a-new-tab-child-tab-in-cypress-fb7666009cea?source=rss-72ccee09566a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb7666009cea</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[selenium-test-automation]]></category>
            <category><![CDATA[automation-tools]]></category>
            <category><![CDATA[cypress-automation]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[Suraj Patil]]></dc:creator>
            <pubDate>Fri, 12 Jan 2024 09:09:02 GMT</pubDate>
            <atom:updated>2024-01-12T09:09:02.700Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXkv2FAMSVXxGc0-lRxIpg.png" /></figure><p>Cypress has no built-in capability to handle the child tab (switching tab). Cypress is designed to work ONLY in the parent/main tab. So how to handle the child tab now?<br>As we know the beauty of Cypress is that it allows to modify the DOM using JQuery. i.e. Cypress has a method that calls JQuery to modify DOM.</p><p><strong>Approach to handle child windows/tabs</strong>:<br><strong>Removing Target Attribute:</strong> Whenever we click on a web element and it opens the link in the child tab, it means the target attribute is applied to that web element. So, now, the easiest way is to open the link on the same browser window by deleting the target attribute.</p><p>Now we are going to manipulate the DOM and delete the target attribute. We are going to invoke the jQuery function <a href="https://www.w3schools.com/jquery/html_removeattr.asp">removeAttr().</a></p><p>cy.get(&#39;#opentab&#39;).invoke(&#39;removeAttr&#39;,&#39;target&#39;).click()</p><p>So, we get the web element using cy.get(‘id’). Afterward, we invoke the jQuery method and pass the attribute name using <a href="https://docs.cypress.io/api/commands/invoke">invoke(‘removeAttr’,’ target’)</a>, and then perform the click operation by calling click().</p><p><strong>Here is a script to handle child tabs</strong>:</p><pre>describe(&quot;Handle Child Tab Suite&quot;, function () {<br><br>    it(&quot;Child Tab handling test case&quot;, function () {<br>        //Parent tab<br>        cy.visit(&quot;https://phptravels.com&quot;)<br>        //Click on the toggler to perform an action on the SignUp button, which has been allocated with a new tab link.<br>        cy.get(&#39;.navbar-toggler&#39;).click()<br>        //Remove target<br>        cy.contains(&#39;Signup&#39;).invoke(&#39;removeAttr&#39;, &#39;target&#39;).click();<br>        //Child tab<br>        cy.origin(&quot;https://phptravels.org/register.php&quot;, () =&gt; <br>        {<br>            cy.get(&#39;#inputFirstName&#39;).type(&quot;SUraj&quot;)<br>            cy.get(&#39;#inputLastName&#39;).type(&quot;Patil&quot;)<br><br>        })<br>    })</pre><p>Now the child tab will open inside the parent tab, and if you want to perform any actions on the child tab, you can add commands inside the child tab origin block.<br>If you want to return to the same <strong>URL,</strong> you can use the following command in the child tab:</p><pre>cy.go(&#39;back&#39;);</pre><p><strong>Note</strong>: The same code is used to handle the open link in the new window.</p><p>After adding the script Run the command <strong>npx cypress open</strong> to open cypress. After opening run the above file. Once you run the test file you will see the below Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BJL1jlMjsX6sMAj9CMW6YA.gif" /></figure><p><strong>Reference</strong>: <a href="https://www.alphabold.com/handling-child-windows-tabs-and-iframes-using-cypress/">https://www.alphabold.com/handling-child-windows-tabs-and-iframes-using-cypress/</a></p><blockquote>Keep reading and Follow <a href="https://medium.com/@suraj.patil_47799">Me</a> and M<a href="https://medium.com/nonstopio">y team</a> to stay updated on the latest tech world blogs.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb7666009cea" width="1" height="1" alt=""><hr><p><a href="https://blog.nonstopio.com/how-to-handle-a-new-tab-child-tab-in-cypress-fb7666009cea">How to Handle a New Tab/Child Tab in Cypress?</a> was originally published in <a href="https://blog.nonstopio.com/">nonstopio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Page Object Model with Cypress]]></title>
            <link>https://blog.nonstopio.com/page-object-model-with-cypress-bcca4087ab03?source=rss-72ccee09566a------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcca4087ab03</guid>
            <category><![CDATA[cypress-testing]]></category>
            <category><![CDATA[selenium-test-automation]]></category>
            <category><![CDATA[manual-testing]]></category>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[Suraj Patil]]></dc:creator>
            <pubDate>Wed, 09 Aug 2023 03:18:18 GMT</pubDate>
            <atom:updated>2023-08-09T04:34:43.114Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is the Page Object Model in Cypress?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*EfOEoLTc-zZAjBa_84r0xg.jpeg" /><figcaption><a href="https://www.perfecto.io/blog/deploy-cypress-page-object-model">https://www.perfecto.io/blog/deploy-cypress-page-object-model</a></figcaption></figure><h4>What is the Page Object Model :</h4><p><strong>Page Object Model (POM) </strong>is an object design pattern that is popularly used in test automation for a better testing experience. In this technique, a <strong>Page</strong> class is created for each web page of the application. This Page class contains web elements and methods for action to be performed on these web elements. These web elements and methods are accessed by test cases, which are written in a separate <strong>Test</strong> class file.</p><h4>Benefits of Using the Page Object Pattern in Cypress:</h4><ul><li>The Cypress Page Objects Model improves readability. It can make tests more readable and easier to understand by segregating the page logic from the test logic, making it easier for new team members to understand the test suite.</li><li>It helps improve code efficiency. Because Cypress Page Object Model offers a higher level of abstraction, they can save time when tests are being written by developers.</li><li>It is an elegant way to keep your test cases maintainable if some of your element selectors change in the future. You will only have to fix the selectors in that specific page object file without updating the selectors in every test file in which the element is used.</li><li>POM can make code more maintainable and reduce duplication.All page elements are stored in that class for the related page. This makes it easy to access and update page elements as needed, especially when there are changes in the front end (or UI) of the website.Page Object Model also makes it easy to reuse code, which can save time and money when testing web applications.</li></ul><h4>Implementing the Page Object Model in Cypress :</h4><p><strong>Step 1</strong> : Create a <strong>‘pageobjects’</strong> folder under the <strong>‘cypress’</strong> folder of the project, which will store the page classes.</p><p><strong>Step 2</strong> : Create a page class <strong>‘signup.js’</strong> under the <strong>‘pageobjects’</strong> folder. <strong>In ‘signup.js’</strong>, we will store the web elements and write methods to perform SignUp functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*mb-8v6OJxzVMH-F-zJ3XcQ.jpeg" /></figure><p><strong>Step 3 : </strong>In signup.js, create a <strong>‘SignUpPage’</strong> class that we will export to the test spec file using<strong> ‘export’</strong>. Inside the class, create an object named ‘elements’. <strong>‘elements’ </strong>object contains a set of key and value pairs for locating web elements on the SignUp page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*_QZTkpANgWlU8xCtRcqKuQ.png" /></figure><p><strong>Step 4</strong> : Create a <strong>‘automation testing’</strong> folder under the <strong>‘e2e’</strong> folder, which will store all test cases. Now, create a test spec file <strong>‘signup.cy.js’</strong> under the ‘automation testing’ folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*RhQzrl67BVezEgSneFeewQ.jpeg" /></figure><p><strong>Step 5 </strong>: Import signup.js class to access its methods. Then create an instance of the signup.js class and call the respective methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*GypVCfMIqWBDgTLQF1JKiA.png" /></figure><p>Finally, we have written a test case using the page object model.</p><p><strong>Step 6</strong>: Run the command <strong>npx cypress open</strong> to open cypress. After opening run the file <strong>signup.cy.js</strong></p><p><strong>Reference </strong>: <a href="https://www.qed42.com/insights/coe/quality-assurance/page-object-model-cypress">https://www.qed42.com/insights/coe/quality-assurance/page-object-model-cypress</a></p><blockquote>Keep reading and Follow <a href="https://medium.com/@suraj.patil_47799">Me</a> and M<a href="https://medium.com/nonstopio">y team</a> to stay updated on the latest tech world blogs.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcca4087ab03" width="1" height="1" alt=""><hr><p><a href="https://blog.nonstopio.com/page-object-model-with-cypress-bcca4087ab03">Page Object Model with Cypress</a> was originally published in <a href="https://blog.nonstopio.com/">nonstopio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The raging conflict in Eastern Europe, and its impact on the Global IT Market]]></title>
            <link>https://medium.com/@suraj.patil_47799/the-raging-conflict-in-eastern-europe-and-its-impact-on-the-global-it-market-eb30f5b22d55?source=rss-72ccee09566a------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb30f5b22d55</guid>
            <category><![CDATA[global]]></category>
            <category><![CDATA[market]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[information-technology]]></category>
            <dc:creator><![CDATA[Suraj Patil]]></dc:creator>
            <pubDate>Thu, 18 Aug 2022 13:12:11 GMT</pubDate>
            <atom:updated>2022-08-18T13:12:11.585Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*WQK_P7V5NuRXBzM3.png" /></figure><p>The raging conflict in Eastern Europe has taken a hit on the global IT market, and the effects of the Russia-Ukraine war will linger for years to come.</p><p>European spending will grow slower than expected against a previous forecast. The growth slowdown is driven by the impact of the war on Central and Eastern Europe (CEE). CEE spending on IT is expected to decline by 10%. IT spending is driven down by Russia, where spending is expected to drop by nearly 25%, and Ukraine, where the market is now expected to slow down by more than 50% in 2022.</p><p>According to the latest war updates, the conflict will affect 2022 spending across all industries in CEE, but resource industries, consumer, transportation, personal and consumer services, and education will see the largest drops. There will be negative effects on energy price levels, boosting inflation (food prices are rising double digits in the region), and thus on organizations’ budgets around Europe.</p><p>The impact of sanctions on Russian energy exports, together with supply chain disruption, will hit particularly the resource industries. Reciprocal airspace bans between Russia and the EU, as well as rising fuel prices, put added strain on transportation. Supply chain disruption in the food value chain, base raw materials, and finished products, will impact some manufacturing and distribution segments, while reduced product availability and inflated prices will also reduce spending among consumers, with indirect effects on most B2C industries.</p><p>The impact of the severe sanctions against Russia, with many international businesses pulling out of the country, is wiping out almost $1.2 billion in ICT spending in the country. Education, personal and consumer services, and telecommunication will be among the most affected sectors in Russia this year.</p><p>Looking at these factors, reliance on India as geography for IT projects will keep expanding leading to factors like lower IT spending, cost-effective IT packages offered in India, and the technical skill set offered at that price point. Such factors will keep driving more demand for global IT spending in India and we should keep looking for expanding the local talent pool to satisfy this demand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*q3z_A7U-iUtOcNy8lUG9pA.png" /></figure><blockquote><strong>Here to make the community stronger by sharing our knowledge. </strong><a href="https://medium.com/@suraj.patil_47799"><strong>Follow me</strong></a><strong><em> </em>and </strong><a href="https://medium.com/nonstopio"><strong>my team</strong></a><strong> to stay updated on the latest and greatest in the web &amp; mobile tech world.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb30f5b22d55" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>