Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

VS Code Extension

The RocketQA VS Code Extension transforms your development experience by providing intelligent support for writing, editing, and managing your E2E tests directly within VS Code. Perfect for manual QA engineers, automation engineers, and developers who want to streamline their testing workflow.

While you can write RocketQA tests in any text editor, the VS Code extension provides powerful features that dramatically improve your productivity:

  • Type $ to get instant suggestions for page elements from your locators.yml
  • Type { to reference existing scenarios for reusable test steps
  • Intelligent suggestions based on your project’s locator definitions
  • Catch syntax errors as you type
  • Validate locator references before running tests
  • Highlight missing or incorrect references
  • Ctrl+Click on {scenario names} to jump to their definitions
  • Navigate between feature files and locator definitions seamlessly
  • Quick access to referenced scenarios and page elements
  • Beautiful, readable .feature files with proper syntax coloring
  • Clear visual distinction between Given/When/Then steps
  • Highlighted locator references and scenario calls
  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for “RocketQA”
  4. Click Install on the extension by ENTech Solutions
Terminal window
code --install-extension ENTechSolutions.RocketQA

Open VS Code Quick Open (Ctrl+P), paste the following command, and press enter:

ext install ENTechSolutions.RocketQA

Create a .feature file and experience the intelligent autocompletion:

Feature: User Authentication
Scenario: Successful Login
When navigate to "/login"
And type "admin" into $loginPage.username
And type "password123" into $loginPage.password
And click $loginPage.submitButton
Then $dashboard.welcomeMessage is visible

When you type $ in a feature file, the extension automatically suggests available page elements:

# Type: $login
# Suggestions appear:
# - $loginPage.username
# - $loginPage.password
# - $loginPage.submitButton

Reference existing scenarios by typing {:

shared.feature
Scenario: Login as Admin
When navigate to "/login"
And type "admin" into $loginPage.username
And click $loginPage.submitButton
# blog.feature
Scenario: Create New Blog Post
When run scenario {Login as Admin} # ← Smart completion available!
And click $navbar.blog
  • Ctrl+Click on {Login as Admin} jumps directly to the scenario definition
  • Ctrl+Click on $loginPage.username shows you the locator in locators.yml

The extension supports complex nested locator structures:

pages:
login:
form:
username: "#user"
password: "#pass"
buttons:
submit: ".btn-login"
forgot: ".forgot-link"
components:
header:
navigation:
home: ".nav-home"
about: ".nav-about"

Access these with: $pages.login.form.username or $components.header.navigation.home

The extension provides intelligent suggestions across multiple feature files:

features/
├── auth/
│ ├── login.feature
│ └── registration.feature
├── blog/
│ ├── create-post.feature
│ └── edit-post.feature
└── shared/
└── common-actions.feature

Access debugging information via Command Palette:

  • Ctrl+Shift+P → “Show Gherkin Locators Logs”
  • View extension logs for troubleshooting
  • Validate your locators.yml syntax
  1. Check locators.yml exists in your project root
  2. Validate YAML syntax - invalid YAML breaks suggestions
  3. Restart VS Code if suggestions stop appearing
  4. Check file associations - ensure .feature files are recognized
  • Make sure your feature files follow proper Gherkin syntax
  • Verify locator references match exactly what’s in locators.yml
  • Check the extension logs via Command Palette
  • The extension is optimized for projects with hundreds of scenarios
  • If experiencing slowness, ensure locators.yml isn’t overly complex
  • Consider breaking large locator files into logical sections

💡 Pro Tip: The VS Code extension is actively developed. Check the VS Code Marketplace for the latest features and updates!