<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: robin gupta</title>
    <description>The latest articles on DEV Community by robin gupta (@smilinrobin).</description>
    <link>https://dev.to/smilinrobin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F349562%2F08c85bff-0bb8-4f23-9549-587b1324ecb1.jpeg</url>
      <title>DEV Community: robin gupta</title>
      <link>https://dev.to/smilinrobin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smilinrobin"/>
    <language>en</language>
    <item>
      <title>Open source stack for agentic testing using Deepseek</title>
      <dc:creator>robin gupta</dc:creator>
      <pubDate>Tue, 28 Jan 2025 13:22:43 +0000</pubDate>
      <link>https://dev.to/smilinrobin/open-source-stack-for-agentic-testing-using-deepseek-5ecp</link>
      <guid>https://dev.to/smilinrobin/open-source-stack-for-agentic-testing-using-deepseek-5ecp</guid>
      <description>&lt;p&gt;At TestZeus, we're pushing the boundaries of open source software testing stack by combining the power of innovations with cutting-edge AI technologies. Today, we’re excited to share how you can leverage &lt;a href="https://www.deepseek.com/" rel="noopener noreferrer"&gt;Deepseek&lt;/a&gt; R1 for generating both UI and API tests, and seamlessly execute them using &lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/" rel="noopener noreferrer"&gt;Hercules&lt;/a&gt;, the world’s first open-source testing agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Open-Source Advantage
&lt;/h2&gt;

&lt;p&gt;Open-source tools have revolutionized the software industry, offering transparency, flexibility, and significant cost savings. Deepseek R1, released under the permissive MIT license, harnesses advanced AI capabilities to generate high-quality test cases for both UI and API scenarios. With its Mixture of Experts (MoE) architecture, Deepseek R1 excels in logical inference, mathematical problem-solving, and real-time decision-making, ensuring comprehensive and effective test generation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fucjzos11lzb3y1ja28gl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fucjzos11lzb3y1ja28gl.png" alt="Image description" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hercules, our groundbreaking open-source testing agent, empowers teams to execute these tests efficiently, delivering unparalleled automation capabilities. By leveraging these tools, you not only accelerate your testing process by up to 70-80%, but also reduce dependencies on proprietary solutions that can come with hidden costs and security vulnerabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example Prompts for Test Generation with Deepseek R1&lt;/strong&gt;&lt;br&gt;
Deepseek R1 simplifies test generation by using natural language prompts. Here are a few examples to get you started:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Generating UI Tests:&lt;br&gt;
Prompt: &lt;code&gt;Act as an expert QA Analyst with deep expertise in Behavior-Driven Development (BDD) and Gherkin syntax. Your task is to analyze the provided **Functional Requirement Document (FRD)** and generate comprehensive **positive and negative functional test scenarios** in Gherkin format. Follow these guidelines:    1. **Input Processing**:      - Parse the FRD to identify **all functional requirements**, including user stories, acceptance criteria, edge cases, and error-handling rules.      - Extract preconditions, user actions, system responses, and postconditions.    2. **Test Scenario Generation**:       - For each requirement, generate **at least 1 positive test** and **2–3 negative tests** covering diverse failure modes.    3. **Gherkin Structure**:      - Use the&lt;/code&gt;Feature&lt;code&gt;,&lt;/code&gt;Scenario&lt;code&gt;,&lt;/code&gt;Given&lt;code&gt;,&lt;/code&gt;When&lt;code&gt;,&lt;/code&gt;Then&lt;code&gt;syntax.      - Include a **descriptive title** and **purpose** for each test.      - Use **data tables** and **examples** where applicable for parameterization.      - Ensure scenarios are atomic, independent, and executable.    4. **Output Format**:&lt;/code&gt;&lt;code&gt;gherkin           Scenario: &amp;lt;Positive Test Title&amp;gt;          Given &amp;lt;precondition&amp;gt;          When &amp;lt;action&amp;gt;          Then &amp;lt;expected outcome&amp;gt;       Feature: &amp;lt;Feature Name&amp;gt;        Scenario: &amp;lt;Negative Test Title&amp;gt;          Given &amp;lt;precondition&amp;gt;          When &amp;lt;invalid/edge-case action&amp;gt;          Then &amp;lt;system should handle error with [specific message/behavior]&amp;gt;&lt;/code&gt;&lt;code&gt;5. **Examples**:      - *FRD Requirement*: "User must log in with a valid email and password."      - *Generated Tests*:&lt;/code&gt;&lt;code&gt;gherkin                Scenario: Successful login with valid credentials            Given the user is on the homepage          When they click on the search icon          And enter the "search term"          Then they should be shown the relevant search results.       Feature: User Login          Scenario: Login attempt with invalid password            Given the user is on the login page            When they enter "test@example.com" and "WrongPass"            And click the "Login" button            Then the system should display "Invalid credentials"            And the user remains on the login page&lt;/code&gt;&lt;code&gt;6. **Validation**:      - Ensure all FRD requirements are mapped to tests.      - Avoid redundancy; prioritize clarity and coverage.      - Include error messages, boundary values, and security checks for negative tests.    Return **only the Gherkin code**, organized by feature and test type, with no additional commentary."&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Generating API Tests:&lt;br&gt;
Prompt: &lt;code&gt;Create API test cases for the attached OpenAPI Spec. Test scenarios should be in Gherkin format, to be consumed in a REST client.&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These prompts unleash Deepseek R1’s ability to create structured, detailed, and executable test cases for both UI and API layers.&lt;/p&gt;

&lt;p&gt;Sample Gherkin Tests Generated by Deepseek R1&lt;br&gt;
UI Test Case:&lt;br&gt;
`Feature: Login functionality testing&lt;br&gt;
  Scenario: Successful login with valid credentials&lt;br&gt;
    Given the user is on the login page&lt;br&gt;
    When the user enters valid credentials&lt;br&gt;
    And clicks the login button&lt;br&gt;
    Then the user should be redirected to the dashboard&lt;/p&gt;

&lt;p&gt;Scenario: Unsuccessful login with invalid credentials&lt;br&gt;
    Given the user is on the login page&lt;br&gt;
    When the user enters invalid credentials&lt;br&gt;
    And clicks the login button&lt;br&gt;
    Then an error message "Invalid credentials" should be displayed`&lt;/p&gt;

&lt;p&gt;API Test Case:&lt;br&gt;
`Feature: Payment Gateway API Testing&lt;br&gt;
  Scenario: Successful payment&lt;br&gt;
    Given the payment gateway is active&lt;br&gt;
    When a valid payment request is sent&lt;br&gt;
    Then the response code should be 200&lt;br&gt;
    And the response body should contain "payment_status: success"&lt;/p&gt;

&lt;p&gt;Scenario: Payment with invalid card details&lt;br&gt;
    Given the payment gateway is active&lt;br&gt;
    When a payment request is sent with invalid card details&lt;br&gt;
    Then the response code should be 400&lt;br&gt;
    And the response body should contain "error: Invalid card details"`&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Running Tests with Hercules&lt;/strong&gt;&lt;br&gt;
Hercules makes executing these Gherkin-based tests effortless. Here’s a quick primer:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: Setup Hercules&lt;br&gt;
Clone the open-source Hercules repository from GitHub and set up the environment by following the installation guide.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Prepare Your Test Files&lt;br&gt;
Save the Gherkin test cases into .feature files and place them in the specified directory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;: Execute Tests&lt;br&gt;
Run the following command to execute your tests:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;testzeus-hercules --input-file opt/input/test.feature --output-path opt/output --test-data-path opt/test_data --llm-model gpt-4o --llm-model-api-key sk-proj-k.......&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Step 4:&lt;/strong&gt; View Results&lt;br&gt;
Hercules generates detailed execution logs and test reports, making it easy to review the outcomes and identify any issues.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost Savings and Security Benefits of an Open-Source Stack&lt;/strong&gt;&lt;br&gt;
Lower Costs: By using open-source tools like Deepseek R1 and Hercules, you eliminate licensing fees and significantly reduce your testing expenses.&lt;/p&gt;

&lt;p&gt;Enhanced Security: Open-source tools are transparent and community-vetted, enabling quicker identification and resolution of vulnerabilities. Also, you can deploy them in an air gapped fashion at your end.&lt;/p&gt;

&lt;p&gt;Flexibility and Customization: Tailor the tools to fit your specific testing needs, avoiding the one-size-fits-all limitations of proprietary software.&lt;/p&gt;

&lt;p&gt;Community Support: Benefit from a vibrant community of developers and contributors who constantly improve the tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Deepseek R1 and Hercules represent the future of software testing by combining AI-driven test generation with robust, open-source test execution capabilities. Deepseek R1’s advanced reasoning and problem-solving abilities ensure comprehensive test coverage, while Hercules provides an efficient and effective test automation solution. You can find the full video here: &lt;a href="https://youtu.be/-gbNDZ1eqnY" rel="noopener noreferrer"&gt;Youtube&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Whether you're a small team or a large enterprise, this powerful duo can help you achieve higher efficiency, lower costs, and improved software quality. Ready to transform your testing strategy? Join the open-source revolution with TestZeus, and experience the power of intelligent, efficient, and affordable software testing.&lt;br&gt;
Check out the open source solution here, and drop us a star or a line: &lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/" rel="noopener noreferrer"&gt;World's first open source testing agent&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>testing</category>
    </item>
    <item>
      <title>How I built my open source testing agent..🤖</title>
      <dc:creator>robin gupta</dc:creator>
      <pubDate>Mon, 27 Jan 2025 19:28:52 +0000</pubDate>
      <link>https://dev.to/smilinrobin/how-i-built-my-open-source-testing-agent-ine</link>
      <guid>https://dev.to/smilinrobin/how-i-built-my-open-source-testing-agent-ine</guid>
      <description>&lt;p&gt;Hercules is an open-source, AI-powered testing agent designed to automate end-to-end web application testing using Gherkin feature files. This guide provides a technical overview of Hercules' architecture, functionality, and usage, omitting marketing jargon.&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Concepts
&lt;/h3&gt;

&lt;p&gt;Hercules operates on a multi-agent arca fewhitecture based on the AutoGen/AG2 framework.  It employs a few sub-agents:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Planner Agent:&lt;/strong&gt;  Responsible for interpreting Gherkin steps and formulating an execution plan.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser Navigation Agent:&lt;/strong&gt;  Executes the plan by interacting with the web browser using a library of specialized tools.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The &lt;strong&gt;Tools Library&lt;/strong&gt; is central to Hercules' functionality.  These tools could be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sensing Tools:&lt;/strong&gt; Gather information about the web page state (e.g., &lt;code&gt;geturl&lt;/code&gt;, &lt;code&gt;get_dom_with_content_type&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action Tools:&lt;/strong&gt; Perform interactions with the web page (e.g., &lt;code&gt;click&lt;/code&gt;, &lt;code&gt;enter_text&lt;/code&gt;, &lt;code&gt;openurl&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tools return natural language descriptions of their outcomes, facilitating communication with the LLM.&lt;/p&gt;

&lt;h3&gt;
  
  
  DOM Distillation
&lt;/h3&gt;

&lt;p&gt;To improve efficiency, Hercules employs &lt;strong&gt;DOM Distillation&lt;/strong&gt;, a process that simplifies the HTML DOM into a more manageable JSON representation.  This distilled DOM focuses on relevant elements, reducing the cognitive load on the LLM.  &lt;/p&gt;

&lt;p&gt;Hercules utilizes the &lt;strong&gt;DOM Accessibility Tree&lt;/strong&gt; for distillation, aligning with the needs of web automation.  &lt;/p&gt;

&lt;h3&gt;
  
  
  Architecture
&lt;/h3&gt;

&lt;p&gt;Hercules' architecture can be visualized as follows:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46r8wwn4005dmqb91ui7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46r8wwn4005dmqb91ui7.png" alt="Architecture diagram" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Planner Agent uses an LLM (e.g., GPT-4o) to interpret the Gherkin steps and create an execution plan. The Browser Navigation Agent then uses this plan to execute the test steps by leveraging the tools library to interact with the web browser.&lt;/p&gt;

&lt;h3&gt;
  
  
  Installation and Usage
&lt;/h3&gt;

&lt;p&gt;Hercules offers several installation methods:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PyPI:&lt;/strong&gt; &lt;code&gt;pip install testzeus-hercules&lt;/code&gt; followed by &lt;code&gt;playwright install --with-deps&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docker:&lt;/strong&gt; &lt;code&gt;docker pull testzeus/hercules:latest&lt;/code&gt;.  See the README for details on mounting volumes and setting environment variables.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source Code:&lt;/strong&gt; Clone the repository and use the provided &lt;code&gt;make&lt;/code&gt; commands.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Helper Script:&lt;/strong&gt; Use the provided &lt;code&gt;helper_script_custom.sh&lt;/code&gt; for automated setup on Linux/macOS.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Running tests requires specifying parameters such as the input feature file, output path, and test data path.  These can be provided directly or via environment variables when using Docker.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;agents_llm_config.json&lt;/code&gt; file allows for advanced configuration of LLMs used by the agents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Supported LLMs and Platforms
&lt;/h3&gt;

&lt;p&gt;Hercules supports various LLMs, including OpenAI, Anthropic, Groq, and Mistral.  It also integrates with cloud platforms like AWS Bedrock, GCP VertexAI, and AzureAI, as well as browser providers like BrowserStack, LambdaTest, BrowserBase, and AnchorBrowser.&lt;/p&gt;

&lt;h3&gt;
  
  
  Extending Hercules
&lt;/h3&gt;

&lt;p&gt;Developers can extend Hercules by creating custom tools.  Tools are defined as Python functions decorated with &lt;code&gt;@tool&lt;/code&gt;.  The decorator should include a clear description and parameter annotations to facilitate LLM interaction.  Custom tools can be added by specifying their directory path using the &lt;code&gt;ADDITIONAL_TOOL_DIRS&lt;/code&gt; environment variable.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gherkin-based testing:&lt;/strong&gt;  Simplified test case creation and management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No-code automation:&lt;/strong&gt;  Reduces the need for complex scripting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Salesforce support:&lt;/strong&gt; Handles complex UIs and interactions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multilingual capabilities:&lt;/strong&gt; Supports testing in multiple languages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CI/CD integration:&lt;/strong&gt;  Facilitates automated testing within development pipelines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mobile device emulation:&lt;/strong&gt; Enables testing on various mobile devices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security and accessibility testing:&lt;/strong&gt; Integrates with Nuclei for security scanning and supports WCAG standards for accessibility testing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Hercules provides a novel approach to web application testing by leveraging the power of AI and a multi-agent architecture.  Its open-source nature, combined with its extensibility and support for various platforms and LLMs, makes it a valuable tool for developers seeking to streamline and enhance their testing processes.&lt;/p&gt;

&lt;p&gt;If you like the article, please feel free to try out Hercules and Star the repo here: &lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/" rel="noopener noreferrer"&gt;https://github.com/test-zeus-ai/testzeus-hercules/&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>testing</category>
      <category>ai</category>
      <category>python</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Making the Web More Inclusive: Accessibility Testing with open source testing agents</title>
      <dc:creator>robin gupta</dc:creator>
      <pubDate>Tue, 24 Dec 2024 16:03:19 +0000</pubDate>
      <link>https://dev.to/smilinrobin/making-the-web-more-inclusive-accessibility-testing-with-open-source-testing-agents-2l27</link>
      <guid>https://dev.to/smilinrobin/making-the-web-more-inclusive-accessibility-testing-with-open-source-testing-agents-2l27</guid>
      <description>&lt;p&gt;Hey dev community! With the holidays right around the corner, it feels like the perfect time to talk about one of the best gifts we can give our users: &lt;strong&gt;an accessible web&lt;/strong&gt;. Here at TestZeus, we’ve been hard at work adding &lt;strong&gt;Accessibility Testing&lt;/strong&gt; to our open-source &lt;strong&gt;Hercules Agent&lt;/strong&gt;—and I’m super excited to share the details with you!&lt;/p&gt;




&lt;h3&gt;
  
  
  Why Accessibility Matters
&lt;/h3&gt;

&lt;p&gt;Accessibility is about making sure everyone can use your website or app, regardless of ability. That includes users who rely on screen readers, have motor difficulties, or experience color blindness, among many other scenarios. It’s not just a moral responsibility or a legal checkmark—it’s about crafting better user experiences for everyone.&lt;/p&gt;




&lt;h3&gt;
  
  
  Meet Hercules
&lt;/h3&gt;

&lt;p&gt;If you haven’t heard of it yet, &lt;strong&gt;Hercules&lt;/strong&gt; is our open-source testing agent that automates various aspects of software testing. By adding &lt;strong&gt;Accessibility Testing&lt;/strong&gt;, we aim to reduce the friction developers often face when trying to meet &lt;strong&gt;WCAG (Web Content Accessibility Guidelines)&lt;/strong&gt;. Some highlights:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Covers WCAG 2.0, 2.1, and 2.2&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Costs less than $1 per scan&lt;/strong&gt; (so, super accessible for smaller teams too!)
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-source&lt;/strong&gt; and easy to integrate into your CI/CD pipeline
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In other words, we’re focusing on practicality and affordability, so you don’t need a huge budget or specialized skillset to make your site more inclusive.&lt;/p&gt;




&lt;h3&gt;
  
  
  Quick Setup
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Clone the Repo&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Head over to our &lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/tree/main" rel="noopener noreferrer"&gt;GitHub repo&lt;/a&gt; and clone it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Install Dependencies&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A quick 'pip install testzeus-hercules'&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Write Your Test in Gherkin&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hercules uses Gherkin-like &lt;code&gt;.feature&lt;/code&gt; files. It’s straightforward and keeps the logic clear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Run Hercules&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A single command to scan for accessibility issues. Reports are automatically generated, so you can jump right into fixing any violations.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  Sample Test Scenario
&lt;/h3&gt;

&lt;p&gt;We’ve included a snippet below to show how a typical &lt;code&gt;.feature&lt;/code&gt; file might look, using the Zerodha brokerage calculator page as an example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight gherkin"&gt;&lt;code&gt;&lt;span class="kd"&gt;Feature&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; Check accessibility for brokerage calculator on Zerodha website
  &lt;span class="c"&gt;# This feature tests the brokerage calculator, and contract notes on Zerodha website&lt;/span&gt;

  &lt;span class="kn"&gt;Scenario Outline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; Check calculations on brokerage and SEBI charges
    &lt;span class="err"&gt;Given the user is on "https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;//zerodha.com/brokerage-calculator&lt;/span&gt;&lt;span class="c"&gt;#tab-equities"&lt;/span&gt;
    &lt;span class="nf"&gt;Then &lt;/span&gt;validate the page for accessibility.
    &lt;span class="nf"&gt;Then &lt;/span&gt;there should not be any issues.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here’s the breakdown:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Feature&lt;/strong&gt;: Provides context—testing Zerodha’s brokerage calculator.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scenario Outline&lt;/strong&gt;: Explains the specific scenario.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Steps&lt;/strong&gt;: 

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Given&lt;/strong&gt;: Navigate to a specific URL.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Then&lt;/strong&gt;: Validate accessibility.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Then&lt;/strong&gt;: Ensure zero issues remain (fingers crossed!).&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Hercules interprets this scenario, visits the page, scans it, and flags any WCAG non-compliances.&lt;/p&gt;




&lt;h3&gt;
  
  
  Viewing Your Results
&lt;/h3&gt;

&lt;p&gt;Once your tests complete, Hercules shows you a report detailing any accessibility issues found:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Issue Description&lt;/strong&gt;: A quick summary of the violation.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WCAG Reference&lt;/strong&gt;: Which guideline is being broken.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Severity&lt;/strong&gt;: Ranges from minor to critical.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Location&lt;/strong&gt;: Points you to the exact DOM element or area in the UI.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This immediate feedback loop makes it easy for devs to fix issues before they reach production.&lt;/p&gt;




&lt;h3&gt;
  
  
  Integrating with CI/CD
&lt;/h3&gt;

&lt;p&gt;Because Hercules is open-source and script-friendly, you can plug it into your CI pipeline. For example, in GitHub Actions, you can create a workflow that runs Hercules every time you push new code. That way, you’ll catch accessibility regressions early in the development process.&lt;/p&gt;




&lt;h3&gt;
  
  
  Going Beyond Automated Checks
&lt;/h3&gt;

&lt;p&gt;While Hercules does a fantastic job with automated scans, keep in mind that accessibility is a multifaceted area. You might still want to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Test with screen readers&lt;/strong&gt; like NVDA or VoiceOver.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check color contrasts&lt;/strong&gt; in real-world scenarios.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Solicit feedback from users with disabilities&lt;/strong&gt; for real-life insights.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Automated testing is a huge help, but manual testing still plays a key role in thorough accessibility coverage.&lt;/p&gt;




&lt;h3&gt;
  
  
  Wrapping Up
&lt;/h3&gt;

&lt;p&gt;This holiday season, consider giving the gift of an accessible experience to your users. With Hercules, you can weave accessibility checks right into your development cycle—reducing barriers and making the web a more inclusive place.&lt;/p&gt;

&lt;p&gt;Here are some helpful links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repo&lt;/strong&gt;: &lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/tree/main" rel="noopener noreferrer"&gt;TestZeus Hercules GitHub&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latest Release&lt;/strong&gt;: &lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/releases/tag/0.0.16" rel="noopener noreferrer"&gt;Version 0.0.16&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Demo Video&lt;/strong&gt;: &lt;a href="https://youtu.be/s_LaHIuurVQ?si=GL12D1Vz2xQXEvQ_" rel="noopener noreferrer"&gt;Check it out on YouTube&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have any questions, feedback, or ideas for improvement, we’d love to hear from you! Let’s work together to make the internet more welcoming for all.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Happy Holidays and Happy Testing!&lt;/strong&gt;  &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hercules⚡: The Testing agent you always wanted</title>
      <dc:creator>robin gupta</dc:creator>
      <pubDate>Sat, 07 Dec 2024 20:51:22 +0000</pubDate>
      <link>https://dev.to/smilinrobin/hercules-the-testing-agent-you-always-wanted-1jdc</link>
      <guid>https://dev.to/smilinrobin/hercules-the-testing-agent-you-always-wanted-1jdc</guid>
      <description>&lt;p&gt;If you've ever spent hours wrestling with &lt;strong&gt;flaky tests&lt;/strong&gt;, dreaded the maintenance burden, or felt limited by tools that don’t keep up with your needs, you’re not alone.&lt;br&gt;&lt;br&gt;
As &lt;strong&gt;developers&lt;/strong&gt;, &lt;strong&gt;QA engineers&lt;/strong&gt;, and &lt;strong&gt;product owners&lt;/strong&gt;, we know this struggle all too well.  &lt;/p&gt;

&lt;p&gt;That's why we created &lt;strong&gt;Hercules&lt;/strong&gt; 🛡️—  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The first open-source testing agent that’s flexible, intelligent, and powerful.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;


&lt;h3&gt;
  
  
  🚀 &lt;strong&gt;What is Hercules?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Hercules is an &lt;strong&gt;end-to-end testing agent&lt;/strong&gt; that takes care of the heavy lifting so you can focus on building great software.&lt;br&gt;&lt;br&gt;
It simplifies testing across APIs, browsers, and databases—no scripting, no maintenance headaches, and no costs.&lt;/p&gt;

&lt;p&gt;Think of Hercules as your &lt;strong&gt;digital testing assistant&lt;/strong&gt; that:&lt;br&gt;&lt;br&gt;
✅ &lt;strong&gt;Reads your Gherkin files&lt;/strong&gt; (or structured test cases)&lt;br&gt;&lt;br&gt;
✅ &lt;strong&gt;Executes tests seamlessly&lt;/strong&gt; across tools like APIs, web browsers, and databases&lt;br&gt;&lt;br&gt;
✅ &lt;strong&gt;Analyzes results&lt;/strong&gt; to give you clear, actionable insights  &lt;/p&gt;


&lt;h3&gt;
  
  
  🔑 &lt;strong&gt;Key Features&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;1️⃣ &lt;strong&gt;Supports API, Web, and Database Testing&lt;/strong&gt; 📊  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Test your APIs (REST, GraphQL) with ease
&lt;/li&gt;
&lt;li&gt;Run browser-based UI tests with minimal configuration
&lt;/li&gt;
&lt;li&gt;Verify database queries and responses effortlessly
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2️⃣ &lt;strong&gt;No-Code Simplicity&lt;/strong&gt; 🚫💻  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Write tests in &lt;strong&gt;Gherkin syntax&lt;/strong&gt;—simple, human-readable, and powerful
&lt;/li&gt;
&lt;li&gt;Hercules parses, executes, and reports results—no need for coding expertise.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;3️⃣ &lt;strong&gt;Open-Source and Free&lt;/strong&gt; 🔓  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fully open-source under the MIT License
&lt;/li&gt;
&lt;li&gt;Customize it to your needs, or extend it as you grow
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;4️⃣ &lt;strong&gt;Agent-Driven Testing&lt;/strong&gt; 🤖&lt;br&gt;&lt;br&gt;
Hercules is not just another tool—it’s an &lt;strong&gt;AI-powered agent&lt;/strong&gt; designed to perform, adapt, and deliver reliable results every time.&lt;/p&gt;


&lt;h3&gt;
  
  
  🌐 &lt;strong&gt;How Does It Work?&lt;/strong&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Write Your Tests&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Create tests in Gherkin format (&lt;code&gt;Given-When-Then&lt;/code&gt;)—clean, simple, and intuitive.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Run Tests&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Hercules runs your tests across APIs, browsers, or databases seamlessly.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;View Results&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Get &lt;strong&gt;structured and insightful reports&lt;/strong&gt; that help you identify issues quickly.  &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight gherkin"&gt;&lt;code&gt;&lt;span class="kd"&gt;Feature&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; API Response Validation  
  &lt;span class="kn"&gt;Scenario&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; Verify API returns 200 status code  
    &lt;span class="err"&gt;Given the API endpoint "https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;//api.example.com/health"&lt;/span&gt;  
    &lt;span class="nf"&gt;When &lt;/span&gt;I send a GET request  
    &lt;span class="nf"&gt;Then &lt;/span&gt;the response status should be 200
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🎯 &lt;strong&gt;Why Hercules?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;We built Hercules to solve real testing pain points:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No-Code Simplicity&lt;/strong&gt; 🧩: Use Gherkin—not scripts
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time-Saving&lt;/strong&gt; ⏳: Minimal setup, minimal maintenance
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-Tool Execution&lt;/strong&gt; ⚙️: API, web, database—all in one place
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost-Free and Customizable&lt;/strong&gt; 💰: Fully open-source and flexible
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Testing shouldn't slow you down. It should empower you.&lt;br&gt;&lt;br&gt;
With Hercules, testing becomes as seamless and reliable as the rest of your development pipeline.&lt;/p&gt;




&lt;h3&gt;
  
  
  🌟 &lt;strong&gt;Get Started with Hercules&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;It’s easy to start testing with Hercules:  &lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/tree/main" rel="noopener noreferrer"&gt;Explore the GitHub Repository&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
👉 Clone it, run it, and experience end-to-end testing that just works!  &lt;/p&gt;




&lt;h3&gt;
  
  
  💡 &lt;strong&gt;We Need Your Feedback&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Hercules is for the community, by the community. We’d love for you to try it, break it, and improve it!  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Found a bug? Open an issue.
&lt;/li&gt;
&lt;li&gt;Got a feature request? Let us know.
&lt;/li&gt;
&lt;li&gt;Want to contribute? PRs are welcome!
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🚀 &lt;strong&gt;Simplify Your Testing. Today.&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Join us on this journey to make testing smarter, faster, and frustration-free. Hercules is open-source, powerful, and ready for you.  &lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;&lt;a href="https://github.com/test-zeus-ai/testzeus-hercules/tree/main" rel="noopener noreferrer"&gt;Start Testing with Hercules Now&lt;/a&gt;&lt;/strong&gt;  &lt;/p&gt;




&lt;p&gt;⚡ &lt;strong&gt;#OpenSource #Testing #Automation #NoCode #DevTools #Hercules&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;Let me know if you'd like me to adjust further or highlight specific sections. 🚀&lt;/p&gt;

</description>
      <category>testing</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
