<?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 Joshua Gorospe on Medium]]></title>
        <description><![CDATA[Stories by Joshua Gorospe on Medium]]></description>
        <link>https://medium.com/@joshua.gorospe?source=rss-53fe75b7768e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tibp1R5rNYsFbTd0.</url>
            <title>Stories by Joshua Gorospe on Medium</title>
            <link>https://medium.com/@joshua.gorospe?source=rss-53fe75b7768e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 14:52:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joshua.gorospe/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[Robot Framework RPA and AI Agents: A Powerful Combination]]></title>
            <link>https://medium.com/@joshua.gorospe/robot-framework-rpa-and-ai-agents-a-powerful-combination-14be64d2fe79?source=rss-53fe75b7768e------2</link>
            <guid isPermaLink="false">https://medium.com/p/14be64d2fe79</guid>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[robot-framework]]></category>
            <dc:creator><![CDATA[Joshua Gorospe]]></dc:creator>
            <pubDate>Wed, 28 May 2025 04:53:37 GMT</pubDate>
            <atom:updated>2025-10-14T14:13:08.163Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5N5WycxGICoGnYKciBxGnw.png" /></figure><p>The field of automation is constantly evolving. Currently there is a common misconception that locally running LLMs and AI agents are only useful in the vibecoding trend (<a href="https://x.com/karpathy/status/1886192184808149383?lang=en">https://x.com/karpathy/status/1886192184808149383?lang=en</a>). That trend has captured the attention of the tech industry since the start of 2025 and has sparked a lot of discussions on several social media platforms. This article delves into an experimental RPA toolkit that demonstrates other use cases for AI agents and LLMs by combining it with the battle-tested Robot Framework (<a href="https://robotframework.org/">https://robotframework.org/</a>). At the moment there are more than 260+ AI agent projects being tracked and curated on pulsemcp.com (<a href="https://www.pulsemcp.com/clients">https://www.pulsemcp.com/clients</a>) and this list keeps growing. The tutorial below will focus on Block’s “Codename Goose” project (<a href="https://block.github.io/goose/">https://block.github.io/goose/</a>) and use a local running LLM provider called Ollama (<a href="https://ollama.com/">https://ollama.com/</a>) that installs and runs models on your hardware.</p><h3><strong>Understanding Codename Goose and its Instruction Files</strong></h3><p>Codename Goose provides several strategies for interacting with an LLM provider. One approach that is easy to work with and share with teammates is the “instruction file” approach. These files are typically written in Markdown and outline the steps and parameters that guide the AI agent to perform specific tasks. They provide a structured way to define the agent’s behavior, from initiating actions on the local machine to analyzing information through given files (retrieval-augmented generation or “RAG”) and generating answers based on the content it is given. This human-readable format allows users to define and understand the logic driving the AI agent. Furthermore, Codename Goose agents can leverage Model Context Protocol (MCP) Servers, an ecosystem of over 4,000 projects that significantly expand the agent’s capabilities during task execution.</p><p>However, the reliance on static, predetermined steps within Codename Goose’s instruction files can present limitations when dealing with more dynamic or complex automation scenarios. This is where Robot Framework RPA becomes particularly valuable. Robot Framework, with its robust libraries and flexible keyword-driven approach, offers a dynamic and extensible platform for quickly automating complex processes. It can provide a powerful complement to Codename Goose’s instruction file approach.</p><h3><strong>Enhancing AI Agent Control with Robot Framework Tags and robotframework-datadriver</strong></h3><p>To overcome the static nature of Codename Goose’s instruction files, the Robot-Framework-AI-Agent-Datadriver toolkit (<a href="https://github.com/jg8481/Robot-Framework-AI-Agent-Datadriver">https://github.com/jg8481/Robot-Framework-AI-Agent-Datadriver</a>) leverages the power of Robot Framework and René Rohner’s robotframework-datadriver (<a href="https://github.com/Snooz82/robotframework-datadriver">https://github.com/Snooz82/robotframework-datadriver</a>) library. The robotframework-datadriver library is a versatile tool that allows for managing data externally, often in CSV files. In this context, it leverages this capability to manage the instructions for the AI agents below.</p><p>Instead of only working with a single, monolithic instructions.md file, the automation steps for the AI agents are defined in data-driven CSV files that robotframework-datadriver can interpret. Additionally, each instruction step within these CSV files can be associated with one or more Robot Framework Tags.</p><p>Robot Framework Tags provide a useful mechanism for controlling or organizing the execution flow of AI agent tasks. You can use these tags to:</p><ul><li>Run specific Codename Goose task instructions individually.</li><li>Run groups of specific instructions based on shared tags.</li><li>Orchestrate the execution of these instructions in any desired order.</li></ul><p>This approach allows for both granular and dynamic control over the AI agents compared to the static sequences defined in a typical Codename Goose instructions.md file.</p><h3><strong>Robot-Framework-AI-Agent-Datadriver Ollama and Codename Goose example</strong></h3><p>The Robot-Framework-AI-Agent-Datadriver toolkit was created to help explore these popular projects and tools in the evolving LLM and AI agent space. It leverages Codename Goose, MCP tools, Ollama, Docker, and controls all of it through Robot Framework RPA. The rest of this article will focus on a local Ollama setup with Codename Goose. This strategy is the cheapest and most accessible because it offers the following advantages (but not limited to these) over cloud-based AI offered by Google, Anthropic, OpenAI etc.</p><ul><li>Decentralized (<a href="https://en.wikipedia.org/wiki/Decentralized_computing">https://en.wikipedia.org/wiki/Decentralized_computing</a>) and deployed on your own hardware.</li><li>True privacy and taking ownership of your data.</li><li>No cloud-based subscription fees to worry about.</li><li>The developers of Codename Goose give an explanation of why this should be considered here, <a href="https://block.github.io/goose/docs/getting-started/providers#using-goose-for-free">https://block.github.io/goose/docs/getting-started/providers#using-goose-for-free</a></li></ul><p>The rest of the instructions and walkthrough below are based on the point-of-view of a macOS user, because the toolkit was designed and built on an M3 Max Macbook with 36GB RAM. Also the tutorial style of this article tries to offer a research-focused approach of “zero trust” or “don’t trust verify” (<a href="https://en.wikipedia.org/wiki/Zero_trust_architecture#History">https://en.wikipedia.org/wiki/Zero_trust_architecture#History</a>). For example you probably noticed by now that every link in this article is displayed clearly to offer you the opportunity to easily see what you are clicking.</p><p>For anyone who is interested in running this toolkit on Windows and Linux, Codename Goose and Ollama offer platform specific installation instructions below.</p><ul><li>Detailed Ollama installation instructions, <a href="https://github.com/ollama/ollama?tab=readme-ov-file#ollama">https://github.com/ollama/ollama?tab=readme-ov-file#ollama</a></li><li>Detailed Codename Goose installation instructions, <a href="https://block.github.io/goose/docs/getting-started/installation">https://block.github.io/goose/docs/getting-started/installation</a></li></ul><p>To get started with Ollama on macOS, the following technical prerequisites offer a faster and scriptable way to do it.</p><p><strong>Install Homebrew.</strong></p><ul><li>Before installing any type of package manager on your machine, I recommend following the official instructions provided by the actual project maintainers. Don’t just blindly trust anyone’s curl commands published on Medium.com</li><li>Follow the official Homebrew instructions displayed here, <a href="https://brew.sh/">https://brew.sh/</a></li></ul><p><strong>Install Ollama using the following command.</strong></p><ul><li>brew install ollama</li><li>That Homebrew command was published here, <a href="https://formulae.brew.sh/formula/ollama">https://formulae.brew.sh/formula/ollama</a></li><li>The actual Homebrew formula code can be found here, <a href="https://github.com/Homebrew/homebrew-core/blob/aee85e9f07b3ccd4fc384cf896f7e261231473cf/Formula/o/ollama.rb">https://github.com/Homebrew/homebrew-core/blob/aee85e9f07b3ccd4fc384cf896f7e261231473cf/Formula/o/ollama.rb</a></li></ul><p>To get started with Codename Goose on macOS, please follow the official instructions from the project’s developers.</p><p><strong>Install the Goose CLI.</strong></p><ul><li>Follow the official Codename Goose instructions displayed here, <a href="https://block.github.io/goose/docs/getting-started/installation">https://block.github.io/goose/docs/getting-started/installation</a></li><li>Do not use the “Set LLM Provider” instructions found in the link above. Proceed to the next step.</li></ul><p><strong>Learn how to configure Ollama as a local LLM provider from the Goose CLI.</strong></p><ul><li>Follow the official Codename Goose instructions displayed here to learn how to configure Goose CLI to use Ollama. The Ollama commands should feel familiar to Vagrant and Docker users, <a href="https://block.github.io/goose/docs/getting-started/providers#local-llms-ollama">https://block.github.io/goose/docs/getting-started/providers#local-llms-ollama</a></li><li>The Codename Goose developers recommend qwen2.5 because it can run on different RAM sizes. Using the ollama run qwen2.5 example they provide will quickly get you started by downloading, installing, and running that model on your hardware.</li><li>A general guideline from the Ollama developers for choosing the right model for your hardware is “you should have at least 8 GB of RAM available to run the 7B models, 16 GB to run the 13B models, and 32 GB to run the 33B models.” Check this readme.md file for more details, <a href="https://github.com/ollama/ollama?tab=readme-ov-file#model-library">https://github.com/ollama/ollama?tab=readme-ov-file#model-library</a></li><li>After completing all of the Ollama local LLM provider and Goose CLI instructions. Proceed to the next section.</li></ul><p>If this is your first time working with Robot Framework, this section will briefly explain how to set yourself up from the perspective of a macOS user who frequently uses Bash scripting and does not have this framework installed yet. Please keep in mind, everyone has their own way of doing this and I am not here to sell you silver-bullet approaches. This project uses Python Virtual Environments and provides scripting to manage that. This approach has been successful for me for several years, but feel free to create your own script wrappers as you see fit.</p><ul><li>Install Python the way that suits your needs as a macOS user. I personally have used just this guide in the past, <a href="https://docs.python-guide.org/starting/install3/osx/">https://docs.python-guide.org/starting/install3/osx/</a></li><li>After running the brew install example that is provided in the link above, you can proceed to run the following commands from a new terminal.</li><li>git clone https://github.com/jg8481/Robot-Framework-AI-Agent-Datadriver.git</li><li>cd ./Robot-Framework-AI-Agent-Datadriver</li><li>bash ./start-ai-agent-workflow-experiments.sh -h</li><li>Running the Bash command should display the following help menu.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X_5PYUZUSOjHKmYg-2nnng.png" /></figure><p>At this point you can use the examples from the tool runner help menu to start specific AI agent automation workflows based on the Robot Framework tag examples provided in your terminal. For example run the following command below from your terminal.</p><pre>bash ./start-ai-agent-workflow-experiments.sh Run-Datadriven-Sequential-Local-AI-Tasks ResearchORQuestions</pre><p>In your terminal you should see Robot Framework console output similar to the following screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Twbl8EDU1bIXwFpv8fto4w.png" /></figure><p>That tool runner command is directly controlling specific categories of AI agent workflows through a “local-agent-sequential-instructions.csv” located in the “agent-instructions” folder. This will run the prompts that have “Research” and “Questions” assigned to them in the “[Tags]” column. The screenshot below gives examples of which prompts are assigned those tags. It also shows that the Robot-Framework-AI-Agent-Datadriver toolkit is running user prompts and the Markdown instruction files in a way that is currently not available from the Codename Goose CLI tools alone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uf4BGtespgjwacQKI0VAGA.png" /></figure><p>In the “logs” folder you can see the detailed results of the automation run, which should look similar to the screenshot below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IUYSYCgXccNi3q-zXOs6Cg.png" /></figure><p><strong>Conclusion and future experimentation</strong></p><p>Combining the strengths of Robot Framework RPA with AI agents opens up new potential ideas that should resonate with other like-minded RPA researchers and curious technologists. AI agent frameworks such as Codename Goose provide a simple bridge that makes thousands of potential MCP projects more accessible. The basic examples shown in this article only scratch the surface of what is possible with the current state of the Robot-Framework-AI-Agent-Datadriver toolkit. Stay tuned for more updates, examples, and experiments with this project!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14be64d2fe79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Turn your Test Team’s automation into monitoring and alerting using Robot Framework RPA and…]]></title>
            <link>https://medium.com/@joshua.gorospe/turn-your-test-teams-automation-into-monitoring-and-alerting-using-robot-framework-rpa-and-fa4fdf841591?source=rss-53fe75b7768e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa4fdf841591</guid>
            <category><![CDATA[robot-framework]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[rpa-tools]]></category>
            <category><![CDATA[robocloud]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Joshua Gorospe]]></dc:creator>
            <pubDate>Fri, 18 Oct 2019 03:25:37 GMT</pubDate>
            <atom:updated>2020-01-09T21:04:29.162Z</atom:updated>
            <content:encoded><![CDATA[<h3>Turn your Test Team’s automation into monitoring and alerting using Robot Framework RPA and RoboCloud</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-oAvagkK-MTxxVQbwl7ATA.png" /></figure><p>As the complexity of systems and applications grow over time, eventually the team supporting them grows in size as well. Whether it is one or many, a tester role will emerge from the core of that team. As testers, one of the many tasks that ends up being our responsibility is the design and creation of large suites of automated checks. Over time the tester or test team’s automation can become quite intricate and capable of providing valuable information outside of testing environments. If it’s adapted to run in a production environment it might even be capable of being a valuable complementary tool to your team’s monitoring and alerting processes.</p><p>In 2018, the Robot Framework Foundation extended the scope of <a href="https://robotframework.org/">Robot Framework</a> beyond testing and into a new form of automation called robotic process automation (also known as <a href="https://en.wikipedia.org/wiki/Robotic_process_automation">RPA</a>). To those who are new to this tool, Robot Framework is an open source generic automation and test framework that was created back in 2008 and has grown considerably since it first appeared. For years, the foundation and the open source community have extended it with dozens of <a href="https://github.com/fkromer/awesome-robotframework">various libraries and supporting tools</a>. Fast forward to January 2019. Following the official release of Robot Framework RPA support, the CEO of a newly formed company called Robocorp announced at <a href="https://robocon.io/">RoboCon</a> 2019 their plans to build a cloud-native RPA platform called RoboCloud. On June 28, 2019 a pilot program for the closed beta version of the platform was made available to a small group of Robot Framework users. In the following examples I will demonstrate a fraction of the possibilities that RoboCloud can provide. For example, teams that want to build out more monitoring and alerting processes can use RoboCloud and reuse their tester or test team’s existing Robot Framework automation to get it done quickly.</p><blockquote><strong>“Everyone who knows Robot Framework, knows RPA.”</strong></blockquote><blockquote><em>“The Start Of The Open Source RPA Movement”, RoboCon 2019 presentation, </em><a href="https://robocon.io/"><em>https://robocon.io</em></a></blockquote><blockquote><em>Antti Karjalainen, Robocorp CEO</em></blockquote><p>One of the common checks performed by testers working with web applications is browser compatibility. Sometimes these checks need to be performed across various types of mobile and desktop operating systems. The following demonstrations reused existing <a href="https://github.com/jg8481/Tool-Strategies-Lone-Testers-Test-Leadership-Congress-2019/blob/master/Workshop-Examples/Tests/Workshop-Part-Two/Desktop-Example-Safari.robot">MacOS</a> and <a href="https://github.com/jg8481/Tool-Strategies-Lone-Testers-Test-Leadership-Congress-2019/blob/master/Workshop-Examples/Tests/Workshop-Part-Two/Mobile-Example-Safari.robot">iOS</a> automation, and turned them into parallel running “RoboCloud Robots”. These demonstrations were performed on my personal MacOS machine that already had Python 3, Safari WebDriver, and Appium installed.</p><p>The first part of creating RoboCloud Robots is to set up a bundle that can be used by the RoboCloud platform. The Robocorp team was kind enough to provide a publicly accessible and reusable <a href="https://github.com/robocloud/openrpa-template">“OpenRPA” template</a> with scripts that will allow anyone to quickly get that started.</p><p>Each RoboCloud robot bundle needs to be compressed into a zip file and uploaded to a Stage within a Project. The intuitive web UI of the RoboCloud platform makes setting up Projects and Stages simple enough without instructions. The following video shows where bundles can be uploaded once a Project has been set up, which is mostly just filling out fields and clicking the Update button to upload a bundle etc.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FoMgA1iQmKUE%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DoMgA1iQmKUE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoMgA1iQmKUE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ac2c55f51ff51bfa059d0b657f80f354/href">https://medium.com/media/ac2c55f51ff51bfa059d0b657f80f354/href</a></iframe><p>The second part is downloading the appropriate runtime agent from the RoboCloud Environments, generating a token, running the agent, and linking it with the provided token. In general the available RoboCloud runtimes cover Linux, Docker containers, Windows, and MacOS. The following video demonstrates the set up of a new runtime agent for a MacOS environment.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fx5j9wZAEvy4%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dx5j9wZAEvy4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fx5j9wZAEvy4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec0cd6945d52350fabdd48ce3bd6217d/href">https://medium.com/media/ec0cd6945d52350fabdd48ce3bd6217d/href</a></iframe><p>The third part is setting up and configuring Robots through the RoboCloud web UI. This is where each robot needs to be configured for the Project, the Stage (this field actually links the specific bundle.zip file to a robot), the Environment runtime agent, the Command field (runs specific scripts within a bundle.zip file), the Notification settings (sets email addresses to send out alerts of failed runs), and the Scheduler setting for running robots at specific time intervals. The following video demonstrates the configuration of one of the two parallel running MacOS robots that will be shown below, and also shows the level of detail the robot logs can display.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FpVIIJam01N8%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DpVIIJam01N8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FpVIIJam01N8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3f5b082ed6d539a62388cbb92e36683/href">https://medium.com/media/b3f5b082ed6d539a62388cbb92e36683/href</a></iframe><p>After all three of these parts have been properly set up, running these monitoring and alerting robots with RoboCloud becomes very simple. The following video shows two parallel running MacOS runtime agents, one for handling the desktop Safari WebDriver robot and another for handling the mobile iOS Appium robot. You can see that triggering two parallel running agents is as simple as clicking a “START” button for each robot. After clicking that button the agents download the bundle.zip to the machine they are installed on, extract the contents, and run the scripts that was specified in the Command fields.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FxuVdRqtWOmE%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DxuVdRqtWOmE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FxuVdRqtWOmE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a7b5be70771a872347b4750dd45f4942/href">https://medium.com/media/a7b5be70771a872347b4750dd45f4942/href</a></iframe><p>If a more hands-off and set-it-forget-it approach is needed then the RoboCloud scheduler works well to accomplish this. The following video shows how to set intervals in the Scheduler, and demonstrates the scheduled triggering of the two parallel running MacOS runtime agents.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvpMbnH5MY3g%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvpMbnH5MY3g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvpMbnH5MY3g%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6dfb387fb5c67aac2e520058a792d0ba/href">https://medium.com/media/6dfb387fb5c67aac2e520058a792d0ba/href</a></iframe><p>Finally and most importantly, the following video shows the notification emails that get sent out when the Safari WebDriver robot and iOS Appium robot both detect failures.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmghGrC5qZ2g%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmghGrC5qZ2g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmghGrC5qZ2g%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/329748b1d0b6d41529aa19472a1e2ee2/href">https://medium.com/media/329748b1d0b6d41529aa19472a1e2ee2/href</a></iframe><p>These monitoring and alerting examples only show a very small part of what is possible with RoboCloud and Robot Framework’s approach to RPA. The developers at Robocorp have informed all of the pilot program participants that new features are being added frequently, and core features like “work queues” are currently on their roadmap. As RPA in general gains more traction, tools like Robot Framework will become the leaders in open source and accessible solutions for quickly getting started with this type of automation. If you have testers who already have experience creating automation with Robot Framework, then your team may have potential RPA capabilities that can be utilized for various types of tasks. RoboCloud can provide a platform that can take your team’s Robot Framework automation capabilities even further.</p><p>Here is the code that was used in the video demonstrations of the <a href="https://github.com/jg8481/webdriver-desktop-safari-robocloud-robot">Safari WebDriver robot</a> and <a href="https://github.com/jg8481/appium-mobile-safari-robocloud-robot">iOS Appium robot</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa4fdf841591" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How machine learning can assist testers]]></title>
            <link>https://medium.com/ixn-the-intersection-blog/how-machine-learning-can-assist-testers-f42ce28e4792?source=rss-53fe75b7768e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f42ce28e4792</guid>
            <category><![CDATA[testers]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[robot-framework]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Joshua Gorospe]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 16:53:54 GMT</pubDate>
            <atom:updated>2019-07-02T18:16:29.752Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>“Tools don’t do testing work; tools help testers to do testing work.”</strong></blockquote><blockquote><em>James Bach and Michael Bolton</em></blockquote><p>In a previous <a href="https://ixn.intersection.com/continuous-learning-to-guide-testing-decisions-a69ee295c1fd">article</a> from 2017, I demonstrated test tool POCs (proof of concepts) that could generate and run test sequences based on the results of previous tests. I also mentioned working on a different version of these tools. This version would allow a software tester to be the leader of a pack of model-based testing Docker containers that decide what a test sequence should be before running it. After more than a year of research and experimentation, I discovered some approaches that not only help with getting closer to that idea, but could also help software testers in general.</p><p>In 2011 <a href="https://scholar.google.com/scholar?q=Bug+Cache+for+inspections%3A+hit+or+miss%3F">F Rahman, D Posnett, et al. wrote a paper</a> that revealed their findings about a bug prediction algorithm that was easier to implement than similar types of algorithms at that time. Their paper became more popular when Google engineers in 2011 covered that research in a <a href="http://google-engtools.blogspot.com/2011/12/bug-prediction-at-google.html">blog post</a> describing their experiences with it and applying the bug prediction approach to their source control process. In the comments of that blog post, numerous people began posting their own implementations of it in Ruby and eventually in Python. The gist of the Ruby and Python implementations is that the historical logs for a team’s source control can be used to help identify possible hotspots for bugs. Using the “git” command line tool should be an easy way to achieve a similar effect by using variations of “git log”. The example below (based on an inactive project) shows how to use the simple grep option (for example, “--grep=&#39;bug&#39;” etc.) built into git log, and filtering the output according to a specific timeframe. Ideally you would want to set the “--since=” option to “--since=X.weeks” or “--since=X.days” timeframes that make sense for your project…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2PHqgidS0bg5Rape" /><figcaption>Simple demonstration of the convenient “git log” command showing possible git hotspots with “bug” or “fix”</figcaption></figure><p>Moving forward to 2018. A tool called “<a href="https://github.com/hinnefe2/gitrisky">gitrisky</a>” was developed by J. Henry Hinnefeld and released to the open source community. This tool also leverages git metadata, but uses more than just git log (it also uses git blame and git diff). Using this tool requires that your team’s git log hygiene be very good in order for gitrisky to provide more accurate risk scores (consider making that a part of your testability efforts). Using classification machine learning, gitrisky trains a model based on the available git metadata in a cloned repo. After a model is successfully created (run “gitrisky train” in your repo) it can be used to assign a “bug score” to the last commit or a specific commit. Ideally you would want to provide gitrisky a properly filtered set of relevant commits (commits labeled “bug”, “fix”, or both within a specific timeframe), and have each of them scored by gitrisky. If you are open-minded to using Bash one-liners this can be accomplished very easily and with different ways to customize the outputs for your needs. Here is an example screenshot that displays the commit with a gitrisky bug risk score, detailed information about it using “git log -n 1 --stat …”, and the “time” command to let us know how long it took to run this Bash one-liner…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PD2esHL1zkd1jgwbWs1CbA.png" /><figcaption>Demonstration of a one-line for-loop Bash script combining the git log bug hotspot approach with gitrisky</figcaption></figure><p>So you’re probably wondering right now “how is any of this useful for testing”? If someone were to personally ask me that, I would direct that person to the following line taken from the article “<a href="http://www.satisfice.com/articles/omega_tester.pdf">Omega Tester: Testing with a Team of One.</a>”</p><blockquote><strong>“Let risk be your compass.”</strong></blockquote><blockquote><em>James Bach</em></blockquote><p>All of this information could be a useful part of the compass that is built into the brain of every software tester. For example, having knowledge of 2 days (or weeks) worth of the changes related to bugs or fixes in an active project would be useful information that could be tucked away and pulled out later as you test. Combine that with the bug risk scores generated by gitrisky for each commit, and you end up with a potentially powerful approach to add to your personal tester toolbox.</p><p>Below is an implementation of a hybrid manual-automated tool, which was created by Intersection’s Connected Communities test engineering team and inspired by James Bach’s article. It combines the use of the F Rahman, D Posnett, et al. bug hotspot approach, gitrisky, Robot Framework’s built-in Dialogs and Screenshot libraries. This tool has been used in several projects and is one of the core pieces of the team’s automated Testrail + Jira + Buildkite (a continuous delivery tool) test reporting process. The screenshots below show how Robot Framework is more than just an automation tool and demonstrates all of the strategies mentioned here used in a test session for a Facebook messenger application, fully controlled by a software tester:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPWDqHS_aa7P7a4E2GFLBg.png" /><figcaption>A software tester provides our Robot Framework hybrid manual-automated tool with Testrail, Jira, and Buildkite information through Robot Framework dialog boxes and command line prompts</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U1cr49vbY7GvSaJwK-9fCg.png" /><figcaption>As our tool waits for the PASS or FAIL buttons to be pressed, a software tester proceeds with testing a Facebook messenger application while taking into account the bug scores and possible bug hotspots</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aCkYGYKLj8yz_CBCvJcQcg.png" /><figcaption>After the software tester selects PASS or FAIL in the dialog box the tool generates screenshots and results files stamped with information collected at the beginning of the test session</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iucKPubrby5YU_LIBdNFYQ.png" /><figcaption>The tool also sends Jira task IDs, Buildkite build numbers, and other important information to Testrail</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uWCYTEQ1BEX_L_rSfo72Cw.png" /><figcaption>After logging results in Testrail, our tool also sends results to the Jira task page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7BNoCMNwuAPo654FXfmE0Q.png" /><figcaption>Here is an example of my team’s test sessions with the tool, combined into one result log for a specific sprint</figcaption></figure><p>After spending months using this hybrid manual-automated tool in combination with the bug hotspot (using git log) + gitrisky approach, it has proven to be a useful addition to our toolbox. I have converted the existing tool POCs in the previous article from 2017 to utilize the same approach for Graphwalker test sequence generators in each of the Docker containers. In the future, this hybrid manual-automated tool could go through several improvements that can take advantage of the <a href="http://robotframework.org/rpa/">RPA capabilities</a> being developed by the Robot Framework community. In a Q&amp;A session at the recent <a href="https://robocon.io/#program">RoboCon 2019 convention</a>, one of the lead developers mentioned that eventually Robot Framework + RPA will become a feasible solution for creating machine learning agents that could learn from a software tester and assist with testing. The human trainable testing agents that Robot Framework + RPA could provide might become the final piece of the puzzle for our team’s test tool POCs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f42ce28e4792" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ixn-the-intersection-blog/how-machine-learning-can-assist-testers-f42ce28e4792">How machine learning can assist testers</a> was originally published in <a href="https://medium.com/ixn-the-intersection-blog">IxN — The Intersection Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Continuous learning to guide testing decisions]]></title>
            <link>https://medium.com/ixn-the-intersection-blog/continuous-learning-to-guide-testing-decisions-a69ee295c1fd?source=rss-53fe75b7768e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a69ee295c1fd</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[model-based-testing]]></category>
            <category><![CDATA[exploratory-testing]]></category>
            <category><![CDATA[intersections]]></category>
            <category><![CDATA[automation-in-testing]]></category>
            <dc:creator><![CDATA[Joshua Gorospe]]></dc:creator>
            <pubDate>Wed, 06 Dec 2017 21:48:33 GMT</pubDate>
            <atom:updated>2020-12-18T17:28:28.276Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>“All testers do exploratory testing. Some do it more deliberately and in intentionally skilled ways.”</strong></blockquote><blockquote><em>Cem Kaner, “A tutorial in exploratory testing”, Chicago QAI QUEST Conference, April 2008</em></blockquote><p>Exploratory and model-based testing approaches have been around for decades. An exploratory test involves unscripted concurrent test design and execution. While a system is tested with this approach, there are a number of supportive activities running in parallel. The most crucial activity is continuous learning about the system to gain more knowledge about its behavior and attributes. Concurrently, a tester will adapt the test design according to results collected in real-time during the testing session.</p><p>While scripted tests are necessary for creating a foundation of basic test coverage, they can also lead us to a false sense of security if they are the only type of coverage in the continuous testing toolbox. In most cases, scripted tests only check for one type of issue, or they focus solely on issues that are covered in the hand written script. Another problem with scripted tests is that the same static test sequence is repeated during every test run cycle.</p><p>Model-based testing can help us avoid static sequences by automatically generating tests using models of system behavior and requirements. For example, model-based test tools such as GraphWalker can help testers automatically create large volumes of varied test sequences using different test generator options and specified coverage parameters. Models also have the added benefit of being a useful visualization and collaborative tool for anyone to use.</p><p>Here is an example of what a model could look like. The following comes from a working Appium example in the <a href="https://github.com/GraphWalker/graphwalker-example">graphwalker-example</a> repo on Github.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/0*eicXOnCVbffKXbtq." /><figcaption>Appium GraphWalker example model</figcaption></figure><p>Both of these approaches provide several advantages for testers, but combining them can produce an even more powerful tool. Exploratory testing (in most cases) is handled manually, and requires a significant time investment to complete. Model-based testing is usually an automated test generation approach, but it lacks the adaptability of exploratory testing. A tester’s capabilities could be greatly enhanced with a flexible model-based exploratory test (MBET) process that runs on a frequent schedule every night, makes decisions based on the results status of scripted tests, and adapts the test sequences after every run.</p><blockquote><strong>“The most powerful testing does new things all the time. Automated tests can be designed this way and they explore system characteristics we never conceived of.”</strong></blockquote><blockquote><em>Douglas Hoffman, Belgium Testing Days Conference, March 2014</em></blockquote><p>At Intersection we believe that automation in testing is important for achieving good test coverage. This coverage is crucial given that our products help millions of people every day. That said, we also recognize that conventional static automation scripts alone are not enough. In addition to the basic coverage our various manual and automated scripts provide, which we manage with Testrail (central hub for all of our test results), we also use combinations of exploratory testing, fault-injection, properties-based testing, fuzz testing, model-based testing, and experiment with various types of software testing oracles.</p><p>Test engineers in Intersection’s Consulting &amp; Solutions team are currently experimenting with unique model-based exploratory test POCs (proof of concepts) that utilize Docker containers. These POCs orchestrate various combinations and types of software testing oracles. The oracles are mechanisms that help us evaluate result statuses of recently completed scripted test processes in Testrail (any test management tool would also work), and also evaluate all of the test tool logs generated by recently completed automation runs. They help make GraphWalker test path generation decisions based on all of the gathered historical information. Over time, the following POCs make better decisions the more frequently they are used.</p><p>One of the earliest POCs we have experimented with in the past was built for the MTA On the Go (OTG) kiosk. This early version of the tool would run for more than 12 hours a day. Here is the model that was used to run the OTG kiosk test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9gIDtb2mE2dG9q7RFjkiMw.png" /><figcaption>MTA On the Go (OTG) kiosk GraphWalker model</figcaption></figure><p>This early POC helped Intersection’s OTG test engineers discover the following difficult to find user-facing issue that was reported several times in the subways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/0*4RQMaEr6t-YyDVfZ." /><figcaption>OTG kiosk issue found by a 12+ hour model-based exploratory test run</figcaption></figure><p><strong><em>FYI: The following section assumes that you have knowledge of Docker and docker-compose.</em></strong></p><p>The first high-level diagram below displays the capabilities of one of our newest POCs that evolved from the MBET automation work that was done for the MTA On the Go kiosk. We refer to it as a “Path Deciding Model Based Exploratory Test”, which runs within a single Docker container. The core components used in this first example are the following…</p><ul><li>Logs from the previous test run</li><li>Robot Framework, <a href="http://robotframework.org/">http://robotframework.org/</a></li><li>Robot Framework PaBot parallel test runner, <a href="https://github.com/mkorpela/pabot">https://github.com/mkorpela/pabot</a></li><li>Testrail (not limited to this, any test case manager can be used), <a href="http://www.gurock.com/testrail/">http://www.gurock.com/testrail/</a></li><li>GraphWalker, <a href="http://graphwalker.github.io/">http://graphwalker.github.io/</a></li><li>Docker, <a href="https://www.docker.com/">https://www.docker.com/</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5kDkhXy4T5_DKSBwBVBlSw.png" /><figcaption>Path Deciding Model Based Exploratory Test</figcaption></figure><p>The second high-level diagram below displays the capabilities of another POC that we refer to as a “Wolfpack Strategy Model Based Exploratory Test”. It utilizes multiple Docker containers and is basically a scaled out version of the Path Deciding POC. The Alpha Container runs first and provides GraphWalker test path decisions for the four Follower Containers that run immediately after it. This was partially inspired by the behavior of wolves. The core components used in this second example are the following…</p><ul><li>Logs from the previous test run</li><li>Robot Framework, <a href="http://robotframework.org/">http://robotframework.org/</a></li><li>Robot Framework PaBot parallel test runner, <a href="https://github.com/mkorpela/pabot">https://github.com/mkorpela/pabot</a></li><li>Testrail (not limited to this, any test case manager can be used), <a href="http://www.gurock.com/testrail/">http://www.gurock.com/testrail/</a></li><li>GraphWalker, <a href="http://graphwalker.github.io/">http://graphwalker.github.io/</a></li><li>Docker, <a href="https://www.docker.com/">https://www.docker.com/</a></li><li>docker-compose, <a href="https://www.docker.com/">https://www.docker.com/</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBgR-mvqYto2PMkkx9MsEw.png" /><figcaption>Wolfpack Strategy Model Based Exploratory Test</figcaption></figure><p>The below screenshot represents the Robot Framework results log of Follower Container One. This shows the GraphWalker test path that was generated by the Alpha Container and executed as Robot Framework keywords within Follower Container One.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*opRjxDsuFQCnl28FwsI-rg.png" /><figcaption>Robot Framework results log of Follower Container One</figcaption></figure><p>Here is a video demonstration of the Wolfpack Strategy POC running tests on an event driven system. The video also displays it catching an issue after running approximately ten minutes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fl8xRoDh5f38%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dl8xRoDh5f38&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fl8xRoDh5f38%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1e37799798a3ba44110faace801f9795/href">https://medium.com/media/1e37799798a3ba44110faace801f9795/href</a></iframe><p>Both of these POC examples use combinations of the following types of software testing oracles to help the tests make a GraphWalker test path, and determine whether the system under test is actually misbehaving. If the software test oracles detect something unusual, they trigger emails, send Slack messages, and also send test result status updates to Testrail’s API.</p><ul><li>Golden Master, or Consistency Oracle</li><li>Model-based Oracle</li><li>Statistical Oracle</li><li>Diagnostic Oracle</li><li>Probabilistic Oracle</li></ul><p>Model-based exploratory testing is a great new addition to our scheduled continuous testing and real-time monitoring processes at Intersection. In fact, the team is learning from the test sequences generated by the Path Deciding POC. It has given us several new test ideas that helped us improve the existing scripted regression tests.</p><p>Still, there remains plenty of room to grow, and several improvement possibilities are currently being researched. For example, the scalability of these POCs can be enhanced with container orchestration tools such as Kubernetes. We also plan on adapting the Wolfpack Strategy POC to further extend a tester’s abilities by creating a version that allows a human tester to be the Alpha for the Follower Containers. We look forward to sharing more details in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a69ee295c1fd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ixn-the-intersection-blog/continuous-learning-to-guide-testing-decisions-a69ee295c1fd">Continuous learning to guide testing decisions</a> was originally published in <a href="https://medium.com/ixn-the-intersection-blog">IxN — The Intersection Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>