<?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 Shailesh Waghole on Medium]]></title>
        <description><![CDATA[Stories by Shailesh Waghole on Medium]]></description>
        <link>https://medium.com/@wagholeshailesh6363?source=rss-9c9fc57a20b5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bK6EWm9G-DKRrDaR</url>
            <title>Stories by Shailesh Waghole on Medium</title>
            <link>https://medium.com/@wagholeshailesh6363?source=rss-9c9fc57a20b5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 13:42:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wagholeshailesh6363/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[MCP 101: What It Is, How It Works & Building Your First Tool]]></title>
            <link>https://medium.com/@wagholeshailesh6363/mcp-101-what-it-is-how-it-works-building-your-first-tool-4cc37cc797f8?source=rss-9c9fc57a20b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cc37cc797f8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[claude]]></category>
            <dc:creator><![CDATA[Shailesh Waghole]]></dc:creator>
            <pubDate>Sun, 05 Apr 2026 05:44:09 GMT</pubDate>
            <atom:updated>2026-04-05T11:13:47.796Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IxOKNyYzUzvy8SR2oNOvIw.jpeg" /></figure><p>MCP (Model Context Protocol) is an open standard created by Anthropic that lets AI models <strong>connect to external tools, data sources, and services</strong> in a structured, secure way.</p><p>Instead of every developer building a custom, one-off integration between an AI and a tool, MCP gives everyone a <strong>common language</strong> to plug things together — like USB-C, but for AI.</p><h3>The Real-Life Analogy</h3><p>Imagine you hire a <strong>brilliant new employee</strong> on their first day.</p><ul><li>They’re smart, articulate, and can solve complex problems.</li><li>But they don’t have access to your company’s Slack, Google Drive, CRM, or email yet.</li><li>So they can only work with information <em>you manually hand them</em>.</li></ul><p><strong>MCP is like giving that employee their access card</strong> — now they can walk into any room (Slack, Drive, your database) and fetch what they need, on their own, when the task demands it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kzQzIWvjEaV312_aD6zq1w.jpeg" /></figure><h3>The Problem MCP Solves</h3><ol><li>Limited knowledge and cutoff dates</li><li>No access to real-time data</li><li>No access to personal or private documents</li><li>No ability to interact with external systes</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yjw16lVlu6hxSYtsCsyJoA.jpeg" /></figure><h3>How MCP Works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rAW_4uyqc-SFyISkiobzmQ.jpeg" /></figure><h3>Host Application with LLM — The Brain</h3><p>This is the AI-powered application that the user directly interacts with — think Claude, ChatGPT, or any custom AI chatbot built by a company. The LLM (Large Language Model) lives inside this layer. When you type a question or give a task, the Host App reads it, understands your intent, and decides what external tool or data it needs to answer you properly. It is the starting point of the entire MCP flow.</p><p><strong>Real-life example:</strong> You open Claude and type — <em>“Summarise all my unread emails from today.”</em> Claude (the Host App) understands what you want and kicks off the process to fetch those emails. Without the layers below, it could never actually reach your inbox.</p><h3>MCP Client — The Translator</h3><p>The MCP Client sits embedded inside the Host Application and acts as the communication layer between the AI and the outside world. It takes the AI’s decision — “I need to fetch emails” — and converts it into a structured, standardised message format called <strong>JSON-RPC 2.0</strong> that any MCP Server can understand. Think of it like a USB-C port: a universal socket that knows how to connect to anything on the other side, regardless of what that thing is.</p><p><strong>Real-life example:</strong> Once Claude decides it needs your emails, the MCP Client packages that intent into a clean instruction like { &quot;tool&quot;: &quot;gmail&quot;, &quot;action&quot;: &quot;fetch_unread&quot;, &quot;date&quot;: &quot;today&quot; } and sends it forward. The AI doesn&#39;t need to know how Gmail works internally — the Client handles all of that translation.</p><h3>MCP Server — The Bridge</h3><p>The MCP Server is a lightweight, dedicated program that wraps a specific tool or data source and makes it accessible to any AI through the MCP protocol. It receives the structured request from the Client, executes the right action — querying a database, calling an API, reading a file — and sends the result back up. Each MCP Server handles one integration. There is a Notion MCP Server, a GitHub MCP Server, a Gmail MCP Server, and so on. Once built, any AI can plug into it instantly.</p><p><strong>Real-life example:</strong> The Gmail MCP Server receives the request, authenticates with your Gmail account securely, fetches today’s unread emails, and sends a clean list back to the MCP Client. You never had to copy-paste a single email. The server did the whole job silently in the background.</p><h3>External Data / Tool — The Real World</h3><p>This is the actual system being accessed at the end of the chain — a SQL database, a Gmail inbox, a Notion workspace, a GitHub repository, a REST API, or your local file system. This layer does the actual work: running queries, fetching records, sending messages, or reading documents. Without MCP, AI had no way to reach these systems. With MCP, every tool becomes pluggable into any AI with zero custom code each time.</p><p><strong>Real-life example:</strong> Gmail itself is the External Tool here. It receives the query, pulls the matching emails from your inbox, and returns the data. Other real-world examples of this layer include — your company’s MySQL database returning sales figures, Notion returning your project notes, or GitHub returning open pull requests — all triggered by a single message you typed to an AI.</p><h3>MCP Primitives</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2dvkHU-VSimOkj6lJpqROw.jpeg" /></figure><h3>What are MCP Primitives?</h3><p>Primitives are the three types of capabilities that an MCP Server can offer to an AI model. Think of them as the vocabulary the AI uses to interact with the outside world. Every MCP Server declares which primitives it supports, and the AI uses them accordingly.</p><h3>Resources — Data</h3><p>Resources are <strong>read-only data</strong> that the MCP Server exposes for the AI to access and understand. The AI can read this information and use it as context while generating a response — but it cannot modify or act on it. Resources are passive — they just sit there and provide information when asked.</p><h4><strong>What falls under Resources:</strong></h4><p><strong>File</strong> — Any document or file the server exposes. Could be a PDF report, a text file, a code file, or a configuration file sitting on a server or cloud storage. The AI reads it and uses the content to answer your question.</p><p><strong>Calendar Event</strong> — Structured data about scheduled meetings, deadlines, or reminders from a calendar system like Google Calendar. The AI reads your events to help you plan, reschedule, or summarise your day.</p><p><strong>Web Service</strong> — Live or cached data fetched from a web endpoint — like a weather API, a news feed, or a company’s public data service. The AI reads the response and incorporates it into its answer.</p><p><strong>Real-life example:</strong> You ask Claude — <em>“What does my project brief say?”</em> The MCP Server exposes your Notion page as a Resource. Claude reads it and summarises it for you. It didn’t change anything — it only read.</p><h3>Tools — Actions</h3><p>Tools are <strong>executable functions</strong> that allow the AI to actually <em>do something</em> in the real world — not just read, but act. This is the most powerful primitive. When an AI uses a Tool, it triggers a real operation in an external system. Tools are active — they cause things to happen.</p><p><strong>What falls under Tools:</strong></p><p><strong>Sending an Email</strong> — The AI composes and dispatches an actual email through Gmail or Outlook on your behalf. You say “send a follow-up to Rahul” and it happens — no copy-paste needed.</p><p><strong>Creating a Task</strong> — The AI creates a new task or ticket in tools like Jira, Asana, or Trello. Useful when you want to convert a meeting note into action items instantly.</p><p><strong>Adding an Event</strong> — The AI adds a meeting or reminder directly to your Google Calendar or Outlook. You say “schedule a call with the team on Friday at 3pm” and it’s done.</p><p><strong>Social Media Post</strong> — The AI drafts and publishes a post to LinkedIn or Twitter through connected integrations, saving you the manual step of opening the platform.</p><p><strong>Running a Script or Command</strong> — The AI executes a terminal command or a script on a server. For developers, this means the AI can run tests, deploy code, or restart services — all from a chat prompt.</p><p><strong>Real-life example:</strong> You tell Claude — <em>“Create a Jira ticket for the login bug we just discussed.”</em> The MCP Server exposes a “Create Task” Tool. Claude calls it, fills in the details, and the ticket appears in your Jira board instantly.</p><h3>Prompts — Templates</h3><p>Prompts are <strong>pre-built instruction templates</strong> that the MCP Server provides to guide the AI on how to interact with a specific tool or data source correctly. They are reusable, structured starting points that ensure the AI asks the right questions in the right format — every single time. Think of them as forms that the AI fills in, rather than figuring out the structure from scratch.</p><h4><strong>What falls under Prompts:</strong></h4><p><strong>Formatting a Request</strong> — A template that tells the AI exactly how to structure a call to a specific tool. For example, when querying a database, the Prompt template might define the required fields, the expected input format, and any constraints — so the AI never sends a malformed request.</p><p><strong>Real-life example:</strong> Your company’s MCP Server has a Prompt template for generating weekly sales reports. Instead of Claude guessing how to query your internal BI tool, the Prompt tells it: “Always request data for the last 7 days, group by product category, and format as a table.” Claude follows the template and the report comes out perfectly structured every time.</p><h3>Benefits Of MCP</h3><h3>01. Standardization</h3><p>Before MCP, every company building an AI product had to create its own custom way of connecting the AI to external tools. If you wanted Claude to access Gmail, you built a custom Gmail connector. If you then wanted it to access Notion, you built another one from scratch. Every integration was unique, messy, and non-transferable.</p><p>MCP changes this completely by establishing one universal protocol that every tool and every AI model speaks. A developer builds a single MCP Server for Gmail — and now every AI model in the world, whether it’s Claude, GPT, or a custom LLM, can connect to it without writing a single extra line of integration code.</p><p><strong>Real-life example:</strong> Think of it like the invention of USB. Before USB, every device had its own proprietary connector — printers, cameras, keyboards all used different ports. USB standardised it so any device could plug into any port. MCP does the same for AI and tools.</p><h3>02. Separation of Concerns</h3><p>In software engineering, “separation of concerns” means each part of a system should handle only its own responsibility and nothing else. MCP enforces this principle elegantly across AI systems.</p><p>The AI model focuses purely on what it does best — understanding language, reasoning, and generating responses. The MCP Server focuses purely on what it does best — knowing how to access a specific tool or data source securely. Neither layer bleeds into the other’s job. This makes the entire system easier to build, debug, maintain, and upgrade independently.</p><p><strong>Real-life example:</strong> Imagine a restaurant. The chef focuses on cooking — they don’t run to the table to serve food. The waiter focuses on serving — they don’t cook. Each person has a clear role and the restaurant runs smoothly. If the chef needs to be replaced, the waiter doesn’t change. MCP works the same way — swap the AI model or swap the tool, and the other side doesn’t need to change.</p><h3>03. Extensibility</h3><p>One of the most powerful aspects of MCP is how easily it scales. Once the protocol is in place, adding a brand new capability to your AI requires no changes to the AI model itself. You simply spin up a new MCP Server for the new tool, and the AI instantly gains that capability.</p><p>This means your AI can grow over time — starting with access to Gmail today, then adding Slack next week, then adding your internal database the week after — all without touching the core AI system. The architecture is designed to expand horizontally without friction.</p><p><strong>Real-life example:</strong> Think of it like an app store on your phone. Your phone’s operating system doesn’t change every time you install a new app. You just add the app and gain the new feature instantly. MCP works the same way — each new MCP Server is like installing a new app that gives your AI a new superpower.</p><h3>04. Reduced Hallucinations</h3><p>Hallucination — when AI confidently states something that is factually wrong — is one of the biggest trust problems with AI today. It happens because the AI is relying on its training data, which is frozen in time and may contain gaps or errors.</p><p>MCP directly attacks this problem. Instead of the AI guessing or recalling from memory, it fetches the actual, live, accurate data from the real source. When you ask “What are our Q1 sales numbers?”, the AI doesn’t make up a figure — it retrieves the real number from your database via MCP and gives you a factual answer grounded in truth.</p><p><strong>Real-life example:</strong> Imagine asking a colleague about last month’s revenue. If they answer from memory, they might be off by thousands. But if they pull up the actual spreadsheet and read it out, the number is exact. MCP makes AI behave like the second colleague — one who always checks the source before answering.</p><h3>05. Enhanced Capabilities</h3><p>Without MCP, an AI is essentially a very intelligent text generator. It can discuss, advise, and suggest — but it cannot actually do anything in the real world. With MCP, the AI transforms from a passive assistant into an active agent that can take real actions across real systems.</p><p>It can read your files, query your databases, send emails, create tasks, post to social media, run scripts, book meetings, and much more — all triggered by a simple conversation. This is the shift from AI as a chatbot to AI as a co-worker who can actually execute tasks end-to-end on your behalf.</p><p><strong>Real-life example:</strong> Before MCP — you ask Claude “Draft a follow-up email to the client and create a Jira ticket for the bug they mentioned.” Claude writes the draft. You copy it, open Gmail, paste it, send it. Then you open Jira, create the ticket manually. After MCP — Claude drafts, sends the email, and creates the Jira ticket automatically. You just said the words. It handled the rest.</p><h3>Traditional Approach</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ekjcmACLGZYYzSIIHQdQBQ.jpeg" /></figure><h3>MCP Approach</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8eZY5PbZFY-LxPT2UlpCZw.jpeg" /></figure><h3>Building Your First MCP Tool</h3><p>In this section, we will build and configure an MCP Tool that fetches the current weather for any given city using the Meteo API.</p><h3>Prerequisites</h3><p>Before getting started, make sure you have the following installed on your system:</p><ol><li><strong>Visual Studio Code</strong> — for editing and running the project</li><li><strong>Claude Desktop</strong> — to connect and test the MCP Server</li><li><strong>NPM</strong> — Node Package Manager for installing dependencies</li><li><strong>Weather Tool ZIP File</strong> — download it from the link below</li></ol><p><a href="https://drive.google.com/file/d/1pK-mnB17upwl529a5dJsg433lMktQCqQ/view?usp=drive_link">Weather-MCP-Server.zip</a></p><h3>Steps to Set Up the MCP Server</h3><p><strong>Step 1 — Download and Extract</strong> Download the Weather Tool ZIP file from the link above and extract it to a location of your choice on your system.</p><p><strong>Step 2 — Open in VS Code</strong> Open Visual Studio Code, go to <strong>File → Open Folder</strong>, and select the extracted project folder.</p><p><strong>Step 3 — Install Dependencies</strong> Open the integrated terminal in VS Code and run the following command to install all required packages:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r8dnG3nNWoAkHM7Tf3U-pg.png" /></figure><p><strong>Step 4 — Start the MCP Server</strong> Once the installation is complete, start the MCP Server by running:</p><p>This will launch the server locally. At this point, 3 weather tools will be available and ready for use:</p><ul><li>get_current_weather</li><li>get_weather_summary</li><li>get_weather_forecast</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*InnPKRJPdpAlrrQ6nguOXg.png" /><figcaption>Here we have 3 tools configured for Weather Access</figcaption></figure><h3>Configuring Claude Desktop for the MCP Server</h3><ol><li><strong>Step 1 — Open Claude Settings</strong> Launch Claude Desktop, go to <strong>Settings</strong>, and select the <strong>Developer</strong> option from the left menu. You will notice that no MCP Servers are configured yet.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GOF8SX4FJTduqzdlOu78Fg.png" /></figure><p><strong>Step 2 — Edit the Config File</strong> Click on <strong>Edit Config</strong>. This will open the directory containing the claude_desktop_config.json file. Open this file in any text editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Q68jE_iUxF9S5oiZVnOtA.png" /><figcaption>Here No MCP Server Is Configured</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EKTDbF6q3SAXK-092-0vbQ.png" /><figcaption>It Opens the Directory and We need to add MCP configuration under the claude_desktop_config file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zQIYoz3teoB9DzsiA4I_1A.png" /><figcaption>This the configuration file</figcaption></figure><p><strong>Step 3 — Add the MCP Server Configuration</strong> Add the following configuration to the file, replacing the path in args with the actual path where you extracted the project on your machine:</p><pre>{<br>  &quot;preferences&quot;: {<br>    &quot;coworkWebSearchEnabled&quot;: true,<br>    &quot;coworkScheduledTasksEnabled&quot;: false,<br>    &quot;ccdScheduledTasksEnabled&quot;: false<br>  },<br>  &quot;mcpServers&quot;: {<br>    &quot;Meteo API&quot;: {<br>      &quot;command&quot;: &quot;node&quot;,<br>      &quot;args&quot;: [&quot;D:\\Weather-MCP-Server\\server.js&quot;](replace with your path)<br>    }<br>  }<br>}</pre><p><strong>Step 4 — Save and Restart Claude</strong> Save the file and restart Claude Desktop completely. Once it restarts, you should see <strong>Meteo API</strong> listed under the Connectors section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ge3EYvst1TYJIJw9VD5l9w.png" /></figure><p><strong>Step 5 — Grant Permissions</strong> Before using the connector, you need to allow it to run. Go to <strong>Manage Connectors</strong>, find the <strong>Meteo API</strong> connector, and select <strong>Always Allow</strong>. This ensures Claude can call the tool without prompting you for permission every time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eN_cC96Runry3-SZ1lBu_w.png" /><figcaption>Select Option Manage Connectors</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xpagT5VdmlNa323V7EsIoA.png" /><figcaption>Select Option Always Allow</figcaption></figure><h3>Testing the Weather Tool</h3><p><strong>Step 1 — Send a Prompt</strong> In Claude Desktop, type the following prompt:</p><blockquote>“What is the weather in Saswad? Use Meteo API.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kMp8aN9fEF_iW3FNWlbHsw.png" /><figcaption>Prompt For Weather</figcaption></figure><p><strong>Step 2 — Claude Calls the MCP Tool</strong> Claude will automatically invoke the Meteo API MCP Server. It will first resolve the coordinates of the city and then call get_current_weather with the latitude and longitude:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*CeYdRj-pr1gWa19LrzL6hw.png" /></figure><p><strong>Step 3 — The Tool Returns Real Weather Data</strong> The MCP Server fetches live data and returns a structured response like this:</p><pre>Request<br><br>{<br>  &quot;query&quot;: &quot;weather current location&quot;<br>}<br>Response<br><br>Loaded 3 Meteo API tools:<br>  Meteo API:get_current_weather:<br>    latitude: number - Latitude of the location<br>    longitude: number - Longitude of the location<br>  Meteo API:get_weather_summary:<br>    latitude: number - Latitude of the location<br>    longitude: number - Longitude of the location<br>  Meteo API:get_weather_forecast:<br>    latitude: number - Latitude of the location<br>    longitude: number - Longitude of the location<br>    days?: number - Number of days to forecast (default: 7)<br>These tools are now available for you to call directly.<br><br>&lt;functions&gt;<br>&lt;function&gt;{&quot;description&quot;: &quot;Get current weather data for a specific location&quot;, &quot;name&quot;: &quot;Meteo API:get_current_weather&quot;, &quot;parameters&quot;: {&quot;properties&quot;: {&quot;latitude&quot;: {&quot;description&quot;: &quot;Latitude of the location&quot;, &quot;type&quot;: &quot;number&quot;}, &quot;longitude&quot;: {&quot;description&quot;: &quot;Longitude of the location&quot;, &quot;type&quot;: &quot;number&quot;}}, &quot;required&quot;: [&quot;latitude&quot;, &quot;longitude&quot;], &quot;type&quot;: &quot;object&quot;}}&lt;/function&gt;<br>&lt;function&gt;{&quot;description&quot;: &quot;Get a summary of current weather and today&#39;s forecast for a location&quot;, &quot;name&quot;: &quot;Meteo API:get_weather_summary&quot;, &quot;parameters&quot;: {&quot;properties&quot;: {&quot;latitude&quot;: {&quot;description&quot;: &quot;Latitude of the location&quot;, &quot;type&quot;: &quot;number&quot;}, &quot;longitude&quot;: {&quot;description&quot;: &quot;Longitude of the location&quot;, &quot;type&quot;: &quot;number&quot;}}, &quot;required&quot;: [&quot;latitude&quot;, &quot;longitude&quot;], &quot;type&quot;: &quot;object&quot;}}&lt;/function&gt;<br>&lt;function&gt;{&quot;description&quot;: &quot;Get hourly weather forecast for a specific location&quot;, &quot;name&quot;: &quot;Meteo API:get_weather_forecast&quot;, &quot;parameters&quot;: {&quot;properties&quot;: {&quot;days&quot;: {&quot;default&quot;: 7, &quot;description&quot;: &quot;Number of days to forecast (default: 7)&quot;, &quot;type&quot;: &quot;number&quot;}, &quot;latitude&quot;: {&quot;description&quot;: &quot;Latitude of the location&quot;, &quot;type&quot;: &quot;number&quot;}, &quot;longitude&quot;: {&quot;description&quot;: &quot;Longitude of the location&quot;, &quot;type&quot;: &quot;number&quot;}}, &quot;required&quot;: [&quot;latitude&quot;, &quot;longitude&quot;], &quot;type&quot;: &quot;object&quot;}}&lt;/function&gt;<br>&lt;/functions&gt;</pre><h4>Weather</h4><pre>Request<br><br>{<br>  &quot;latitude&quot;: 18.35,<br>  &quot;longitude&quot;: 74.02<br>}<br>Response<br><br>{<br>  &quot;current&quot;: {<br>    &quot;temperature&quot;: &quot;26.4°C&quot;,<br>    &quot;wind_speed&quot;: &quot;11.3 km/h&quot;,<br>    &quot;humidity&quot;: &quot;45%&quot;,<br>    &quot;weather_code&quot;: 0<br>  },<br>  &quot;today&quot;: {<br>    &quot;min_temperature&quot;: &quot;16.4°C&quot;,<br>    &quot;max_temperature&quot;: &quot;30.4°C&quot;<br>  },<br>  &quot;location&quot;: {<br>    &quot;latitude&quot;: 18.375,<br>    &quot;longitude&quot;: 74,<br>    &quot;timezone&quot;: &quot;GMT&quot;<br>  }<br>}</pre><p><strong>Step 4 — Claude Responds in Plain Language</strong> Claude reads the raw data and converts it into a natural, human-readable response — giving you the current temperature, humidity, wind speed, and today’s forecast in a clean summary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*G2RBAFoFU4S9CY5d-z-7zQ.png" /><figcaption>Claude Response using Data</figcaption></figure><h3>What Just Happened?</h3><p>You typed one sentence. Claude understood your intent, called a real external API through the MCP Server, received live weather data, and replied in plain English — all automatically. No copy-pasting. No manual API calls. That is MCP in action.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cc37cc797f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI-Driven Browser Automation with Comet: The Future of No-Code Testing]]></title>
            <link>https://medium.com/@wagholeshailesh6363/ai-driven-browser-automation-with-comet-the-future-of-no-code-testing-4fbebf1b5ac4?source=rss-9c9fc57a20b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fbebf1b5ac4</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[ai-tools]]></category>
            <dc:creator><![CDATA[Shailesh Waghole]]></dc:creator>
            <pubDate>Sat, 22 Nov 2025 06:48:55 GMT</pubDate>
            <atom:updated>2025-11-22T06:48:55.653Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cStWqlxrY0L2-y1j37MMdA.png" /></figure><h3>A Practical, Real-World Guide Based on My Hands-On Experience</h3><p>Let me be honest — when I first heard about AI controlling a browser to perform testing without any scripting, I was skeptical. As someone who has worked with traditional automation tools, the idea of simply <strong>writing instructions in plain English and letting AI execute them</strong> felt almost too good to be true.</p><p>So I decided to try it. I implemented real test scenarios using <strong>Comet Browser and its AI Assistant</strong>, connected my test cases through Notepad files, and let the browser perform everything automatically. The result? Surprisingly effective — and worth sharing.</p><p>This blog is a complete, step-by-step guide based on real implementation, covering everything from installing the browser to generating the final test execution report.</p><h3>What This Blog Covers</h3><ul><li>Installing Comet Browser</li><li>Enabling AI Assistant</li><li>Creating test scenarios</li><li>Executing automation using prompts</li><li>Generating reports</li><li>Sending automated email summaries</li><li>Real benefits &amp; limitations</li><li>My honest opinion</li></ul><h3>I will also be attaching a <strong>real execution video</strong> with this article so you can see the full flow in action.</h3><h3>Step 1: Installing Comet Browser</h3><ol><li>Visit the official Comet Browser website.</li><li>Download the latest version for your operating system.</li><li>Run the installer and complete the setup.</li><li>Launch Comet Browser after installation.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2E-aC90CCVJSciuVmtIYDw.png" /><figcaption>Download page of Comet Browser</figcaption></figure><h3>Installation completed and browser opened</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5bmQzyf0RvYO_LJABrMhQQ.png" /><figcaption>Installation completed and browser opened</figcaption></figure><h3>Step 2: Enabling Comet Assistant</h3><p>Once the browser is installed:</p><ol><li>Click on the Your Profile From Account Section</li><li>Go to <strong>Assistant</strong>.</li><li>From Browser Control Enable option <strong>Browser for me</strong></li><li>Enable the following options:</li></ol><p>These settings allow the assistant to interact with websites just like a real user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e3S9yH9SFz5WamM4YNcAqw.png" /><figcaption>Your Profile From Account Section</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iX3w10O1QVnxcFcYhYMmsQ.png" /><figcaption>Select Assitant Option</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QwYCXRJZNqkoDR1omwHx8Q.png" /><figcaption>Enable Option For Browser Control</figcaption></figure><h3>Step 3: Creating Test Scenario Files</h3><p>I created my test cases in simple Notepad files. No formatting. No coding. Just plain English steps.</p><p>Example:</p><pre>Act as a QA automation tester.<br><br>Steps:<br>1. Go to https://opensource-demo.orangehrmlive.com/<br>2. Validate that page title is &quot;OrangeHRM&quot;<br>3. Enter username as Admin<br>4. Enter password as admin123<br>5. Click on Login button<br>6. Verify that Dashboard page is displayed<br>7. Click on Logged In Profile User Icon<br>8. Select logout Option<br>9. Provide a detailed execution report</pre><p>I created two such files and saved them as:</p><ul><li>test_scenario_1.txt</li><li>test_scenario_2.txt</li></ul><h3>Step 4: Attaching Scenario Files to Comet Assistant</h3><ol><li>Open Comet Assistant.</li><li>Click on the attachment option.</li><li>Upload both Notepad files.</li><li>Confirm that the files are visible to the Assistant.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HvpphtHcFgIJ4oIundz3AA.png" /><figcaption>Attaching File To Assitant</figcaption></figure><h3>Step 5: Writing the Master Execution Prompt</h3><p>This is where the magic happens. I used the following prompt to execute all test cases without interruption:</p><pre>Execute ALL test cases from the two attached files in a single continuous flow.</pre><pre>Instructions:<br>- Read and merge both files as one combined scenario.<br>- Execute every step automatically without pausing.<br>- Do NOT ask questions or wait for confirmations.<br>- Do NOT display intermediate messages.<br>- Run in maximum speed mode.<br>- Skip unnecessary explanations or commentary.</pre><pre>After completing all test cases, do the following:</pre><pre>1. Generate a final execution report that includes:<br>   - PASS/FAIL for each individual test case<br>   - Overall execution status (PASS/FAIL)<br>   - List of any errors or failures encountered<br>   - Brief observations or important notes, if any</pre><pre>2. Using Gmail, compose and send an email with:<br>   - To: <a href="/service/mailto:shaileshwaghole6363@gmail.com">y</a>our_email_address<br>   - Subject: Test Summary<br>   - Body: Paste the complete final execution report and summary of the test run.</pre><pre>Only after all steps and the email are completed, provide a short confirmation message that the tests were executed and the email was sent.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1QWpZqU1bPIFirbVbd98Aw.png" /><figcaption>Given Instructions To Assistant</figcaption></figure><p>Execution in progress</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jpJRHpPdhLlE6voL6Ufafg.png" /><figcaption>Execution Progress</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dizmCzuYybMh-TyU5KU3DQ.png" /><figcaption>Execution Progress</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xcPcRGLHyJTjpEsALXsO1w.png" /><figcaption>execution Progress</figcaption></figure><h3>Step 6: Real-Time Execution</h3><p>Here is what I observed during execution:</p><ul><li>The browser opened the target website</li><li>It detected username and password fields</li><li>Filled in credentials</li><li>Clicked the login button</li><li>Verified dashboard elements</li><li>Moved to next test case</li><li>Continued without human interference</li></ul><h3>Step 7: Final Test Execution Report</h3><p>Once the execution finished, Comet generated a structured report including:</p><ul><li>Each executed step</li><li>PASS / FAIL status</li><li>Errors (if any)</li><li>Overall result</li></ul><p>Example summary:</p><pre>ORANGEHRM TEST EXECUTION LOG<br><br>Test Execution Details:<br><br>Application: OrangeHRM Demo (https://opensource-demo.orangehrmlive.com)<br><br>Test Date: Saturday, November 22, 2025<br><br>Execution Start Time: 10:00 AM IST<br><br>Execution End Time: 11:00 AM IST<br><br>Tester: QA Automation<br><br>TEST CASE 1 - LOGIN AND LOGOUT VERIFICATION<br>Status: PASS<br><br>Step 1: Navigate to https://opensource-demo.orangehrmlive.com - PASS<br>Step 2: Validate page title is &quot;OrangeHRM&quot; - PASS<br>Step 3: Enter username as &quot;Admin&quot; - PASS<br>Step 4: Enter password as &quot;admin123&quot; - PASS<br>Step 5: Click on Login button - PASS<br>Step 6: Verify Dashboard page is displayed - PASS<br>Step 7: Click on Logged In Profile User Icon - PASS<br>Step 8: Select Logout Option - PASS<br><br>TEST CASE 2 - LOGIN AND LOGOUT VERIFICATION (REPEAT)<br>Status: PASS<br><br>Step 1: Navigate to https://opensource-demo.orangehrmlive.com - PASS<br>Step 2: Validate page title is &quot;OrangeHRM&quot; - PASS<br>Step 3: Enter username as &quot;Admin&quot; - PASS<br>Step 4: Enter password as &quot;admin123&quot; - PASS<br>Step 5: Click on Login button - PASS<br>Step 6: Verify Dashboard page is displayed - PASS<br>Step 7: Click on Logged In Profile User Icon - PASS<br>Step 8: Select Logout Option - PASS<br><br>SUMMARY:<br>Total Test Cases: 2<br>Passed: 2<br>Failed: 0<br>Success Rate: 100%<br>Overall Status: PASS<br><br></pre><h3>Step 8: Email Automation (Bonus Feature)</h3><p>I also configured Comet to send an automatic email after completion.</p><p>The email included:</p><ul><li>Subject: Test Summary</li><li>Body: Complete execution report</li></ul><p>This is extremely useful for team reporting and client updates.</p><h3>Why This Approach Is Powerful</h3><h3>Major Advantages</h3><ul><li>No programming required</li><li>Zero framework setup</li><li>Very fast test creation</li><li>Minimal maintenance</li><li>Ideal for smoke and regression testing</li><li>Accessible to non-technical users</li><li>Reduces dependency on automation engineers</li><li>Easy test modification</li></ul><h3>Realistic Drawbacks</h3><p>Let’s be honest — this is not perfect:</p><ul><li>Execution is slower than Playwright/Selenium</li><li>Complex logic can be challenging</li><li>Not ideal for performance testing</li><li>Limited CI/CD integration</li><li>Needs precise instructions</li><li>AI may occasionally misinterpret steps</li></ul><h3>Where It Fits Best</h3><p>This approach works best for:</p><ul><li>Smoke testing</li><li>UAT automation</li><li>Quick regression testing</li><li>Demo validations</li><li>Prototype testing</li><li>Exploratory automation</li></ul><p>Not recommended as a full replacement for enterprise automation frameworks.</p><h3>My Honest Opinion</h3><p>Comet AI automation is not here to replace traditional automation — it is here to enhance it.</p><p>The ideal model is:</p><p><strong>AI for speed + Code automation for stability</strong></p><p>Used correctly, it can save hours of effort and significantly improve QA productivity.</p><h3>Video Demonstration</h3><p>I have recorded a full live demonstration</p><p><a href="https://drive.google.com/file/d/1Ee2P6jEcq_clMYpCMYfG6D715dxx_U8c/view?usp=sharing">2025-11-22_11-43-48-187_trim.mp4</a></p><p>AI-driven testing using Comet is a practical, modern solution for rapid testing needs. It empowers testers, reduces technical barriers, and aligns with the future of intelligent QA practices.</p><p>It should be part of your automation toolbox — not the only tool, but a powerful one.</p><h3>Conclusion</h3><p>If you are looking to speed up testing, reduce coding dependency, and experiment with AI in QA, Comet Assistant is absolutely worth exploring.</p><p>This experience has changed the way I look at automation — and it might change yours too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fbebf1b5ac4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Fully Online Data-Driven Automation Framework Using Robot Framework & Google Sheets]]></title>
            <link>https://medium.com/@wagholeshailesh6363/building-a-fully-online-data-driven-automation-framework-using-robot-framework-google-sheets-ddb2eff40b9a?source=rss-9c9fc57a20b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddb2eff40b9a</guid>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[data-driven-testing]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Shailesh Waghole]]></dc:creator>
            <pubDate>Sat, 15 Nov 2025 10:35:30 GMT</pubDate>
            <atom:updated>2025-11-15T10:54:59.592Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z_V9-oz7iThIKqJ7AKg1yA.png" /></figure><h3><strong>Introduction: Why We Needed This</strong></h3><p>Most QA teams still store automation test data in <strong>Excel, JSON, or CSV files</strong> inside their automation project.</p><p><strong>This creates repeated problems:</strong></p><ol><li>Merge conflicts during Git commits</li><li>Test data not synced among team members</li><li>Multiple copies of same Excel files</li><li>Manual updates leading to human errors</li><li>Hard-coded URLs, browsers, and environment settings</li><li>No easy way to update test data without touching the repo</li></ol><p>I faced the same issues repeatedly during automation work — until I built this solution.</p><h3>This article walks you step-by-step through how we created a <strong>Google Sheets-powered test automation framework</strong>, where:</h3><ul><li>All test data lives online</li><li>Robot Framework fetches the data in real time</li><li>URL, browser, timeout → all come from the sheet</li><li>No Excel. No JSON. No merge conflicts.</li><li>Testers can update test data instantly without touching code</li></ul><p>By the end, you will have your own <strong>fully cloud-based test data engine</strong>.</p><h3>What We Are Building</h3><p>We will build a <strong>Login Automation Framework</strong> using:</p><ol><li>Robot Framework</li><li>SeleniumLibrary</li><li>Google Sheets</li><li>Google Apps Script</li><li>Python (Requests library)</li><li>Test data will come from Google Sheets</li><li>Robot Framework test will execute dynamically</li><li>All reusable keywords stay in resources.robot</li><li>Tests stay clean and readable</li></ol><h3>Project Architecture (High-Level View)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JiCiO2YNox_JVzUX8oQCaQ.png" /><figcaption>Architecture Diagram</figcaption></figure><h3>Flow:</h3><ol><li>Robot Framework calls Python library</li><li>Python sends a GET request to Google Web App</li><li>Google Apps Script reads the selected sheet</li><li>Returns JSON test data</li><li>Robot executes tests using the JSON</li></ol><p>This gives you <strong>real-time test data</strong> without any local files.</p><h3>Why do we need Google Cloud / Apps Script?</h3><p>If Robot Framework directly downloads Google Sheets using API v4, it requires:</p><ol><li>OAuth</li><li>Service accounts</li><li>API keys</li><li>Billing setup</li><li>That’s too complex for a setup.</li></ol><p>So the <strong>simplest approach</strong> is:</p><ul><li>Use Google Apps Script</li><li>Deploy a Web App</li><li>Convert your Google Sheet into REST API</li><li>Use HTTP GET to fetch JSON</li></ul><ol><li>No billing</li><li>No OAuth</li><li>100% free</li><li>Very simple to maintain</li></ol><h3>Step-by-Step Google Cloud + Apps Script Setup</h3><p><strong>Step 1 — Create a Google Sheet</strong></p><ol><li>Open Google Drive</li><li>Click <strong>New → Google Sheets</strong></li><li>Rename it to:<br> <strong>AutomationTestData</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YUUm9rh7TrzOtOK2wEerXA.png" /></figure><p><strong>Step 2 — Create Required Tabs</strong></p><p>You need two sheets inside your Google Sheet:</p><ol><li>Config</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XUR-FS6RPjPEPg9IyVKgTA.png" /><figcaption>Config Tab</figcaption></figure><p>2. LoginData</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Z6vFN7eslaw0C44r3VC3Q.png" /><figcaption>LoginData Tab</figcaption></figure><p><strong>Step 3 — Open Apps Script</strong></p><ol><li>From the Google Sheet</li><li>Click <strong>Extensions → Apps Script</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DUmDUzE8PDp_2qEW-qz_Ng.png" /><figcaption>Open App Script</figcaption></figure><p><strong>Google Apps Script IDE View</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gt0mDEFwYQn5KxIx7Yq8LQ.png" /></figure><h3>Step 4 — Remove default code</h3><p>Delete everything inside Code.gs. You need a clean script file.</p><h3><strong>Step 5 — Paste the Web API Code</strong></h3><pre>function doGet(e) {<br>  var ss = SpreadsheetApp.getActiveSpreadsheet();<br>  var sheetName = e.parameter.sheet;<br>  var sheet = ss.getSheetByName(sheetName);<br>  <br>  if (!sheet) {<br>    return ContentService.createTextOutput(<br>      JSON.stringify({ error: &quot;Sheet not found: &quot; + sheetName })<br>    ).setMimeType(ContentService.MimeType.JSON);<br>  }<br><br>  var data = sheet.getDataRange().getValues();<br>  var headers = data.shift();<br>  <br>  var json = data.map(function(row) {<br>    var item = {};<br>    row.forEach(function(value, index) {<br>      item[headers[index]] = value;<br>    });<br>    return item;<br>  });<br><br>  return ContentService.createTextOutput(JSON.stringify(json))<br>    .setMimeType(ContentService.MimeType.JSON);<br>}</pre><p><strong>Google Apps Script IDE With Code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*apO2nHe7kEH3K0E9KTkrgg.png" /><figcaption>Script</figcaption></figure><h3><strong>This function:</strong></h3><ol><li>Accepts ?sheet=SheetName</li><li>Reads the corresponding tab</li><li>Converts rows → JSON</li><li>Returns JSON to the browser</li></ol><h3>Step 6 — Deploy as Web App</h3><p>Now the magic begins.<br> We are going to publish your script as a <strong>Web API</strong>.</p><h3>Follow these steps:</h3><ol><li>Click <strong>Deploy</strong> (top right)</li><li>Click <strong>New deployment</strong></li><li>Choose type: <strong>Web App</strong></li><li>Fill the details:</li><li><strong>Description:</strong> RobotFrameworkData API</li><li><strong>Execute as:</strong> Me</li><li><strong>Who has access:</strong> Anyone</li><li>Click <strong>Deploy</strong></li><li>Google will ask for permissions → Click <strong>Allow</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eOyQ6LXg_5wGvHSB-udjBA.png" /><figcaption>Deploy Web App</figcaption></figure><h3>Step 7 — Copy the Web App URL</h3><p>After deployment, you will see:</p><p>Current web app URL:</p><p><a href="https://script.google.com/macros/s/AKfycbx123ABC-YourID/exec">https://script.google.com/macros/s/AKfycbx123ABC-YourID/exec</a></p><p>Copy this URL — THIS is your API endpoint.</p><p><strong>Important:</strong><br> URL must end with: <strong>/exec</strong></p><h3>Step 8 — Test Your API</h3><p>Open your browser and test:</p><h3>1. LoginData</h3><p>— YOUR_WEB_APP_URL?sheet=LoginData</p><h3>2. Config</h3><p>— YOUR_WEB_APP_URL?sheet=Config</p><h3>Setting Up the Project (Complete Step-by-Step Guide)</h3><p>Now that our Google Sheet and Apps Script Web API are ready, let’s set up the actual <strong>Robot Framework automation project</strong> from scratch.</p><p>This section will guide you through every step — from creating a project folder all the way to running your first data-driven login test.</p><p>You can insert screenshots after each step in your Medium blog.</p><p><strong>Step 1 — Create Your Project Folder</strong></p><p>Create a new folder on your machine.<br> Example:</p><p>RobotFrameworkTestData/</p><p>Inside this folder, we will keep:</p><ol><li>The Robot test suite</li><li>Shared keyword files</li><li>Python keyword library</li><li>Requirements file</li><li>Results folder (created automatically later)</li></ol><h3><strong>Step 2 — Create &amp; Activate Virtual Environment</strong></h3><pre>cd RobotFrameworkTestData<br>python -m venv .venv .\.venv\Scripts\activate</pre><h3><strong>Step 3 — Create requirements.txt</strong></h3><p>Create a file named:</p><p>📄 requirements.txt</p><p>Add:</p><pre>robotframework<br>robotframework-seleniumlibrary<br>selenium<br>requests<br>webdriver-manager</pre><p>Now install the dependencies:</p><pre>pip install -r requirements.txt</pre><h3><strong>Step 4 — Create the Project Structure</strong></h3><p>RobotFrameworkTestData/<br>│<br>├── GoogleSheetKeywords.py<br>├── resources.robot<br>├── requirements.txt<br>│<br>└── tests/<br> └── LoginTests.robot</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UEyL7OFklepsOBQ6zFFeeQ.png" /><figcaption>Project Structure</figcaption></figure><h3><strong>Step 5 — Add the Python Keyword Library</strong></h3><p>Create the file:</p><p>📄 GoogleSheetKeywords.py</p><p>Paste this code:</p><pre>import requests<br><br>class GoogleSheetKeywords:<br><br>    def __init__(self):<br>        self.base_url = &quot;YOUR_EXEC_URL&quot;   # replace with your Web App URL<br><br>    def get_sheet_data(self, sheet_name):<br>        url = f&quot;{self.base_url}?sheet={sheet_name}&quot;<br>        response = requests.get(url)<br>        if response.status_code != 200:<br>            raise Exception(f&quot;Failed to fetch sheet {sheet_name}: {response.text}&quot;)<br>        return response.json()<br><br>    def get_config(self):<br>        rows = self.get_sheet_data(&quot;Config&quot;)<br>        return { row[&quot;Key&quot;]: row[&quot;Value&quot;] for row in rows }</pre><p>Replace &quot;YOUR_EXEC_URL&quot; with your <strong>Google Apps Script Web App URL</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dQ2VUK-gYUYoP25JBBexAA.png" /><figcaption>GoogleSheetKeywords</figcaption></figure><h3>Step 6 — Add resources.robot (All Keywords Here)</h3><p>📄 resources.robot</p><pre>*** Settings ***<br>Library    SeleniumLibrary<br>Library    GoogleSheetKeywords.py<br><br>*** Variables ***<br>${CONFIG}       NONE<br>${BASE_URL}     NONE<br>${BROWSER}      NONE<br>${TIMEOUT}      NONE<br><br><br>*** Keywords ***<br>Load Config From Google Sheet<br>    ${CONFIG}=    Get Config<br>    Set Suite Variable    ${CONFIG}<br>    Set Suite Variable    ${BASE_URL}       ${CONFIG[&#39;BASE_URL&#39;]}<br>    Set Suite Variable    ${BROWSER}        ${CONFIG[&#39;BROWSER&#39;]}<br>    Set Suite Variable    ${TIMEOUT}        ${CONFIG[&#39;TIMEOUT&#39;]}<br><br>Open Browser To Base URL<br>    Open Browser    ${BASE_URL}    ${BROWSER}<br>    Maximize Browser Window<br><br>Do Login<br>    [Arguments]    ${username}    ${password}<br>    Input Text    id=username     ${username}<br>    Input Text    id=password     ${password}<br>    Click Button  id=login<br><br>Validate Successful Login<br>    Wait Until Page Contains Element    id=dashboard    timeout=${TIMEOUT}s<br><br>Validate Unsuccessful Login<br>    Wait Until Page Contains Element    id=error    timeout=${TIMEOUT}s</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ZKkzEb1aLx83vPGWSVCCw.png" /><figcaption>resource.robot</figcaption></figure><h3>Step 7 — Add Login Test Case (Simple &amp; Clean)</h3><p>tests/LoginTests.robot</p><pre>*** Settings ***<br>Resource    ../resources.robot<br><br>Suite Setup       Setup Login Suite<br>Suite Teardown    Close All Browsers<br><br>*** Variables ***<br>${SHEET_NAME}    LoginData<br><br>*** Keywords ***<br>Setup Login Suite<br>    Load Config From Google Sheet<br>    Open Browser To Base URL<br><br>*** Test Cases ***<br>Login Test Using Google Sheet Data<br>    ${rows}=    Get Sheet Data    ${SHEET_NAME}<br><br>    FOR    ${row}    IN    @{rows}<br>        Log To Console    Testing: ${row[&#39;TestCaseID&#39;]} - ${row[&#39;Username&#39;]}<br>        Do Login         ${row[&#39;Username&#39;]}    ${row[&#39;Password&#39;]}<br><br>        Run Keyword If    &#39;${row[&quot;ExpectedResult&quot;]}&#39;==&#39;success&#39;<br>        ...    Validate Successful Login<br><br>        Run Keyword If    &#39;${row[&quot;ExpectedResult&quot;]}&#39;==&#39;failure&#39;<br>        ...    Validate Unsuccessful Login<br><br>        Go To    ${BASE_URL}<br>    END</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g9QKN4j8UBtpycCCUZnNSw.png" /><figcaption>LoginTests.robot</figcaption></figure><h3>Step 8 — Running Your First Test</h3><p>Use this command:</p><pre>robot -d results tests/LoginTests.robot</pre><p>Robot will now:</p><ol><li>Fetch BASE_URL, BROWSER, TIMEOUT from Google Sheet</li><li>Fetch LoginData rows</li><li>Run each login test</li><li>Log results under /results</li></ol><h3>Report</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KTbUbDA1Xw88Zyhll_5E5g.png" /></figure><h3><strong>High-Level Diagram</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mUsnzNv6E9pshA_0ztZPQQ.png" /></figure><h3>Top Benefits — Real, Practical &amp; Extremely Useful</h3><h3>1. No More Excel / CSV Merge Conflicts</h3><p>This is the <em>biggest</em> advantage.</p><p>In real QA teams, 3–5 people edit Excel or JSON test data files.<br> Every time someone pushes changes, Git throws:</p><ul><li>merge conflicts</li><li>inconsistent formatting</li><li>encoding issues</li><li>invalid JSON</li><li>broken commas or brackets</li></ul><p>With Google Sheets:</p><ul><li>No merge conflicts</li><li>Edits happen in real time</li><li>Everyone sees the latest data instantly</li><li>No developer has to fix JSON or Excel corruption</li></ul><h3>2. Non-Technical People Can Update Test Data</h3><p>Your QA Manager, Product Owner, or Business Analyst can change:</p><ul><li>test usernames</li><li>passwords</li><li>expected results</li><li>URLs</li></ul><p>…without touching <strong>Robot Framework</strong>, <strong>Python</strong>, or <strong>Git</strong>.</p><p>This accelerates the entire team.</p><h3>3. Test Runs Always Use the Latest Data</h3><p>No need to re-download Excel<br> No need to re-pull Git<br> No version mismatch<br> No test failures due to old data</p><p>Robot will <strong>always</strong> fetch the latest Google Sheet values at runtime.</p><p>You’re essentially running tests using live data.</p><h3>4. Centralized Configuration for Entire Automation Suite</h3><p>Your Google Sheet’s Config tab controls:</p><ul><li>BASE_URL</li><li>BROWSER</li><li>TIMEOUT</li><li>Environment (if you add DEV/QA/PROD)</li></ul><p>This means:</p><ul><li>Update config <em>once</em></li><li>Every automation engineer gets updated settings instantly</li><li>No need to update multiple config files across repos</li></ul><h3>5. Works Even on Non-Developer Machines</h3><p>Teams can run your automation without:</p><ul><li>installing Excel</li><li>touching JSON files</li><li>editing Python</li><li>messing with file paths</li></ul><p>Everything comes from the cloud → Google Sheets → Web API.</p><h3>6. Zero Cost. 100% Cloud-Based. Maintenance-Free.</h3><p>Your project uses:</p><ul><li>Google Sheets (free)</li><li>Google Apps Script (free)</li><li>Robot Framework (free)</li><li>Python (free)</li></ul><p>No subscriptions.<br> No servers.<br> No hosting cost.<br> No database needed.</p><p>Infinite scalability at ₹0 cost.</p><h3>7️ Easy to Plug Into CI/CD Pipelines</h3><p>Because you are calling a URL like:</p><pre>https://script.google.com/macros/s/XXX/exec?sheet=LoginData</pre><p>It works flawlessly in:</p><ul><li>Jenkins</li><li>GitHub Actions</li><li>GitLab CI</li><li>Azure DevOps</li><li>CircleCI</li></ul><p>No file downloads needed.<br> No packaging of Excel/JSON in the repo.</p><h3>8. Updating Test Data Does Not Require Code Deployment</h3><p>Traditionally:</p><p>— Update Excel<br> — Commit changes<br> — Raise PR<br> — Merge<br> — Redeploy automation</p><p>With Google Sheets:</p><ul><li>Update a cell</li><li>Run the test</li><li>Done</li></ul><p>This cuts release time dramatically.</p><h3>9. Supports Multi-Environment Testing via Sheets</h3><p>Just add a new row:</p><p>KeyValueENVQA</p><p>Or make multiple sheets:</p><ul><li>Config_DEV</li><li>Config_QA</li><li>Config_PROD</li></ul><p>Your automation becomes “environment-agnostic”.</p><h3>Limitations — Honest, Realistic &amp; Important</h3><h3>1. Dependent on Internet Connectivity</h3><p>Your tests will fail if:</p><ul><li>Google APIs timeout</li><li>Connection is slow</li><li>Corporate network blocks Google Apps Script</li><li>Offline execution is not possible.</li></ul><h3>2. Google Apps Script has API Rate Limits</h3><p>Free tier allows:</p><ul><li>90 API calls/min</li><li>Script runtime max ~6 minutes</li></ul><h3>3. Data Fetching Adds Latency</h3><p>Fetching data via HTTPS API adds:</p><ul><li>200ms — 700ms per sheet</li><li>Not a big deal unless:</li><li>Tests run at huge scale</li><li>CI runs hundreds of suites in parallel</li></ul><h3>4. Anyone with “Editor” Access Can Break the Sheet</h3><p>If someone:</p><ul><li>deletes a column</li><li>renames header</li><li>changes sheet name</li><li>adds spaces by mistake</li></ul><p>The automation may fail.</p><p>Solution:<br> Protect sheet headers or use <strong>Protected ranges</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddb2eff40b9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>