Introduction
This guide is your definitive resource for integrating and effectively utilizing the qTest toolkit within ELITEA. It provides a detailed, step-by-step walkthrough, from setting up your qTest API token to configuring the toolkit in ELITEA and seamlessly incorporating it into your Agents. By following this guide, you will unlock the power of automated test management, streamlined testing workflows, and enhanced test coverage, all directly within the ELITEA platform. This integration empowers you to leverage AI-driven automation to optimize your qTest-driven workflows, enhance test quality, and improve project visibility within your organization. Brief Overview of qTest qTest, by Tricentis, is a leading cloud-based test management platform that centralizes software testing activities and enables comprehensive quality management. It serves as a central hub for teams to manage test cases, track test execution, and ensure comprehensive test coverage. qTest offers a wide array of functionalities, including:- Test Case Management: Create, organize, and manage test cases in a centralized repository
- Test Execution Tracking: Monitor test runs and track execution status in real-time
- Requirements Traceability: Link test cases to requirements and defects for complete audit trails
- Reporting & Analytics: Generate comprehensive reports on test coverage and quality metrics
- Agile Integration: Support for iterative testing and CI/CD pipeline integration
Account Setup and Configuration in qTest
Account Setup If you do not yet have a qTest account, please follow these steps to create one:- Visit Tricentis Website: Open your web browser and navigate to the official Tricentis qTest website: https://www.tricentis.com/.
- Sign Up for qTest: Navigate to “Trials & demos” and click on “Try qTest free” to start a free 14-day trial.
- Create an Account: Follow the prompts to create your qTest account. Complete the registration form with your business details.
- Create Workspace: During the signup process, you will be asked to create your qTest web address and account credentials.
- Verify Email: Check your inbox for a verification email from qTest. Click the verification link in the email to activate your account.
- Access qTest: Once your email is verified, log in to qTest using your newly created credentials and access your qTest instance.
Generate an API Token
For secure integration with ELITEA, it is essential to use a qTest API token (Bearer Token) for authentication. This method is more secure than using your primary qTest account password directly and allows you to control access permissions. Follow these steps to generate an API token in qTest:- Log in to qTest: Access your qTest workspace by navigating to your qTest URL (e.g.,
your-subdomain.qtestnet.com) and logging in with your credentials. - Navigate to API Settings: Go to “Manager” → “API & SDK” from the main navigation menu.
- Copy Your API Token: Find and copy your Bearer Token from the API settings page. This is your API token that will be used for authentication.
- Securely Store Your API Token: Immediately copy the generated API token. Store it securely in a password manager or, preferably, ELITEA’s built-in Secrets feature for enhanced security within ELITEA. You will need this API token to configure the qTest toolkit in ELITEA.



System Integration with ELITEA
To integrate qTest with ELITEA, you need to follow a three-step process: Create Credentials → Create Toolkit → Use in Agents. This workflow ensures secure authentication and proper configuration.Step 1: Create qTest Credentials
Before creating a toolkit, you must first create qTest credentials in ELITEA:- Navigate to Credentials Menu: Open the sidebar and select Credentials.
- Create New Credential: Click the
+ Createbutton. - Select qTest: Choose qTest as the credential type.
- Configure Credential Details:
- Display Name: Enter a descriptive name (e.g., “qTest - Test Management”)
- Base URL: Enter your qTest instance URL (e.g.,
https://your-subdomain.qtestnet.com) - qTest API Token: Enter your Bearer token from qTest
- Test Connection: Click Test Connection to verify that your credentials are valid and ELITEA can successfully connect to qTest
- Save Credential: Click Save to create the credential. After saving, your qTest credential will be added to the credentials dashboard and will be ready to use in toolkit configurations. You can view, edit, or delete it from the Credentials menu at any time.

Step 2: Create qTest Toolkit
Once your credentials are configured, create the qTest toolkit:- Navigate to Toolkits Menu: Open the sidebar and select Toolkits.
-
Create New Toolkit: Click the
+ Createbutton. - Select qTest: Choose qTest from the list of available toolkit types.
-
Configure Basic Information:
- Toolkit Name: Enter a descriptive name for your toolkit (required). Example: “qTest - Project Testing”
- Description: Provide an optional description to explain the toolkit’s purpose. Example: “Toolkit for managing test cases and test execution in qTest for Project Alpha”
-
Configure Credentials:
- In the Configuration section, select your previously created qTest credential from the Credentials dropdown
-
Configure Advanced Options:
- PgVector Configuration: Select a PgVector connection for vector database integration
- Embedding Model: Select an embedding model for text processing and semantic search capabilities
-
Configure qTest Settings:
- qTest Project ID: Enter the numerical Project ID of your qTest project
- No Of Tests Shown In DQL Search: [Required Field] Set the maximum number of test cases to retrieve in DQL queries (recommended: 100-200) !!! warning “Required Field” The “No Of Tests Shown In DQL Search” field is mandatory and must be filled in. This setting controls the maximum number of test cases returned from DQL queries to prevent context overflow and improve performance.
-
Enable Desired Tools: In the “Tools” section, select the checkboxes next to the specific qTest tools you want to enable. Enable only the tools your agents will actually use to follow the principle of least privilege
- Make Tools Available by MCP - (optional checkbox) Enable this option to make the selected tools accessible through the external MCP clients to use the toolkit’s capabilities
- Save Toolkit: Click Save to create the toolkit

DQL Search Limit Configuration: “No Of Tests Shown In DQL Search”
Purpose and Usage:- Context Management: Prevents LLM context limits from being exceeded when retrieving large datasets
- Performance Optimization: Smaller result sets improve query response times and Agent processing speed
- Resource Control: Manages the amount of data transferred and processed during DQL operations
- Image Handling: Especially important when “Extract Images” is enabled, as images significantly increase context size
Available Tools:
The qTest toolkit provides the following tools for interacting with qTest projects and test cases, organized by functional categories:| Tool Category | Tool Name | Description | Primary Use Case |
|---|---|---|---|
| Search & Discovery | |||
| Search by DQL | Search for test cases using qTest Data Query Language (DQL) queries | Find test cases based on complex criteria using DQL | |
| Search entities by DQL | Search for various qTest entities using DQL queries | Find requirements, test runs, defects, and other entities | |
| Get modules | Retrieve module IDs and names from the qTest project | Discover project module structure for accurate DQL queries | |
| Find entity by ID | Retrieve any qTest entity by its unique identifier | Access detailed information for any entity type | |
| Test Case Management | |||
| Create test cases | Create new test cases in qTest within a specified project and folder | Automate test case creation from requirements or user stories | |
| Update test case | Modify fields of existing test cases | Update test case steps, expected results, and attributes | |
| Find test case by ID | Retrieve detailed information about a specific test case | Access comprehensive test case details for analysis | |
| Delete test case | Delete a test case from qTest | Clean up obsolete or redundant test cases | |
| Add file to test case | Upload file from artifact storage to qTest test case or specific test step | Attach files, screenshots, or documents to test cases or individual test steps | |
| Get all test cases fields for project | Retrieve all available custom and standard fields for test cases | Understand available fields for creating or updating test cases | |
| Test Run & Defect Management | |||
| Find test runs by test case ID | Retrieve all test run instances for a specific test case | Track execution history and test run results | |
| Find defects by test run ID | Retrieve all defects associated with a specific test run | Analyze defects found during test execution | |
| Requirements & Traceability | |||
| Find requirements by test case ID | Retrieve all requirements linked to a specific test case | Verify test coverage for requirements | |
| Find test cases by requirement ID | Retrieve all test cases linked to a specific requirement | Assess requirement testing completeness | |
| Link tests to Jira requirement | Link test cases to Jira requirements | Maintain traceability between qTest tests and Jira requirements | |
| Link tests to qTest requirement | Link test cases to qTest requirements | Maintain traceability between tests and qTest requirements | |
| Advanced Search (Vector/Index) | |||
| Index data | Index test case data into vector database for semantic search | Enable AI-powered semantic search across test cases | |
| Search index | Perform semantic search across indexed test case data | Find relevant test cases using natural language queries | |
| Stepback search index | Perform stepback semantic search with query refinement | Enhanced search with automatic query optimization | |
| Stepback summary index | Generate summaries from stepback search results | Get concise summaries of search results | |
| List collections | List all available vector database collections | Discover indexed data collections | |
| Remove index | Delete indexed data from vector database | Clean up or refresh indexed data |
Testing Toolkit Tools
After configuring your qTest toolkit, you can test individual tools directly from the Toolkit detailed page using the Test Settings panel. This allows you to verify that your credentials are working correctly and validate tool functionality before adding the toolkit to your workflows. General Testing Steps:- Select LLM Model: Choose a Large Language Model from the model dropdown in the Test Settings panel
- Configure Model Settings: Adjust model parameters like Creativity, Max Completion Tokens, and other settings as needed
- Select a Tool: Choose the specific qTest tool you want to test from the available tools
- Provide Input: Enter any required parameters or test queries for the selected tool
- Run the Test: Execute the tool and wait for the response
- Review the Response: Analyze the output to verify the tool is working correctly and returning expected results
Step 3: Add qTest Toolkit to Your Workflows
Now you can add the configured qTest toolkit to your agents, pipelines, or use it directly in chat:In Agents:
- Navigate to Agents: Open the sidebar and select Agents.
- Create or Edit Agent: Either create a new agent or select an existing agent to edit.
- Add qTest Toolkit:
- In the “TOOLKITS” section of the agent configuration, click the “+Toolkit” icon
- Select your configured qTest toolkit from the dropdown list
- The toolkit will be added to your agent with the previously configured tools enabled

In Pipelines:
- Navigate to Pipelines: Open the sidebar and select Pipelines.
- Create or Edit Pipeline: Either create a new pipeline or select an existing pipeline to edit.
- Add qTest Toolkit:
- In the “TOOLKITS” section of the pipeline configuration, click the “+Toolkit” icon
- Select your configured qTest toolkit from the dropdown list
- The toolkit will be added to your pipeline with the previously configured tools enabled

In Chat:
- Navigate to Chat: Open the sidebar and select Chat.
- Start New Conversation: Click +Create or open an existing conversation.
- Add Toolkit to Conversation:
- In the chat Participants section, look for the Toolkits element
- Click the “Add Tools” Icon to open the tools selection dropdown
- Select your configured qTest toolkit from the dropdown list
- The toolkit will be added to your conversation with all previously configured tools enabled
- Use Toolkit in Chat: You can now directly interact with your qTest projects and test cases by asking questions or requesting actions that will trigger the qTest toolkit tools.

- “Search for all test cases in module ‘Partners pages’ with status ‘Ready for Testing’.”
- “Create a new test case for the login functionality with steps and expected results.”
- “Find test case with ID TC-12345 and show me its details.”
- “Link test cases TC-100, TC-101, and TC-102 to Jira requirement PROJ-456.”
Instructions and Prompts for Using the qTest Toolkit
To effectively instruct your ELITEA Agent to use the qTest toolkit, you need to provide clear and precise instructions within the Agent’s “Instructions” field. These instructions are crucial for guiding the Agent on when and how to utilize the available qTest tools to achieve your desired automation goals.Instruction Creation for Agents
When crafting instructions for the qTest toolkit, especially for OpenAI-based Agents, clarity and precision are paramount. Break down complex tasks into a sequence of simple, actionable steps. Explicitly define all parameters required for each tool and guide the Agent on how to obtain or determine the values for these parameters. OpenAI Agents respond best to instructions that are:- Direct and Action-Oriented: Employ strong action verbs and clear commands to initiate actions. For example, “Use the ‘search_by_dql’ tool…”, “Create a test case with…”, “Find test case by ID…”.
-
Parameter-Centric: Clearly enumerate each parameter required by the tool. For each parameter, specify:
- Its name (exactly as expected by the tool)
- The format or type of value expected
- How the Agent should obtain the value – whether from user input, derived from previous steps in the conversation, retrieved from an external source, or a predefined static value
- Contextually Rich: Provide sufficient context so the Agent understands the overarching objective and the specific scenario in which each qTest tool should be applied within the broader workflow. Explain the desired outcome or goal for each tool invocation.
- Step-by-Step Structure: Organize instructions into a numbered or bulleted list of steps for complex workflows. This helps the Agent follow a logical sequence of actions.
- Add Conversation Starters: Include example conversation starters that users can use to trigger this functionality.
- State the Goal: Begin by clearly stating the objective you want to achieve with this step.
- Specify the Tool: Clearly indicate the specific qTest tool to be used for this step.
- Define Parameters: Provide a detailed list of all parameters required by the selected tool.
- Describe Expected Outcome: Briefly describe the expected result or outcome after the tool is successfully executed.
- Add Conversation Starters: Include example conversation starters that users can use to trigger this functionality.
Chat Usage Examples by Tool Category
The following examples demonstrate how to interact with the qTest toolkit in ELITEA Chat, organized by functional categories. Each example shows the user request and the expected agent behavior.Search & Discovery - Search by DQL
Search & Discovery - Search by DQL
Test Case Management - Create Test Cases
Test Case Management - Create Test Cases
Requirements & Traceability - Link Tests to Jira Requirement
Requirements & Traceability - Link Tests to Jira Requirement
Test Run & Defect Management - Find Defects by Test Run ID
Test Run & Defect Management - Find Defects by Test Run ID
Advanced Search - Search Index
Advanced Search - Search Index
Best Practices and Use Cases for qTest Integration
Best Practices for Efficient IntegrationTest Integration Thoroughly
Test Integration Thoroughly
- Credentials are correctly configured
- API token is valid and not expired
- All enabled tools function as expected
- Responses match your qTest instance data
Security Best Practices
Security Best Practices
- Use API Tokens: Always use API tokens instead of passwords for integration
- Secure Storage: Store credentials securely using ELITEA’s Credentials feature and Secrets Management
- Least Privilege: Enable only the tools your Agent actually needs
- Regular Audits: Periodically review and rotate API tokens
- Access Control: Ensure proper permissions are set in qTest for the integration account
Optimize Performance
Optimize Performance
- DQL Search Limits: Set appropriate “No Of Tests Shown In DQL Search” limits (100-200 for most cases, 20-50 with images)
- Image Extraction: Disable “Extract Images” when visual analysis isn’t needed to reduce token usage
- Query Specificity: Use specific DQL queries instead of broad searches to minimize data transfer
- Incremental Complexity: Start with simple use cases and gradually increase complexity
- Monitor Usage: Track token usage and adjust settings based on actual needs
Provide Clear Agent Instructions
Provide Clear Agent Instructions
- Use the prompt examples in this guide as templates
- Adapt instructions to your specific workflows
- Include conversation starters for user guidance
- Define clear parameters and expected outcomes
- Test instructions thoroughly before production deployment
Use Cases for qTest Toolkit Integration The qTest toolkit opens up a wide range of automation possibilities for test management, QA workflows, and reporting within ELITEA. Here are some compelling use cases:
Automated Test Case Retrieval for Test Execution Guidance
Automated Test Case Retrieval for Test Execution Guidance
find_test_case_by_id, read_file (if test data is in external files)Example Instruction:Dynamic Test Case Creation from Requirements or User Stories
Dynamic Test Case Creation from Requirements or User Stories
create_test_casesExample Instruction:Automated Test Case Updates Based on Test Feedback or Requirements Changes
Automated Test Case Updates Based on Test Feedback or Requirements Changes
update_test_case, read_document (if updates are based on external documents)Example Instruction:Reporting on Test Case Coverage and Status using DQL Queries
Reporting on Test Case Coverage and Status using DQL Queries
search_by_dqlExample Instruction:Module-Specific Test Case Retrieval with Image Analysis
Module-Specific Test Case Retrieval with Image Analysis
get_modules, search_by_dql (with Extract Images enabled)Example Workflow:- “Use the ‘get_modules’ tool to retrieve all available modules and their full names.”
- “Use the ‘search_by_dql’ tool with Extract Images enabled to search for test cases using: ‘Module = ‘MD-1 MD-6 Company page’ AND Status = ‘Ready for Testing”. Analyze any embedded images to provide insights on UI testing requirements.”
Troubleshooting
Connection Errors
Connection Errors
- Verify Credentials: Ensure your qTest credentials are correctly configured and the API token is valid
- Check Base URL: Verify the qTest Base URL in your credentials matches your instance (e.g.,
https://yourcompany.qtestnet.com) - Verify Project ID: Double-check that you have entered the correct Project ID for your qTest project
- Network Connectivity: Confirm network connectivity between ELITEA and your qTest instance
Authorization Errors (Permission Denied/Unauthorized)
Authorization Errors (Permission Denied/Unauthorized)
Context and DQL Search Limit Issues
Context and DQL Search Limit Issues
- Issue: “No Of Tests Shown In DQL Search” field is empty or set to 0
- Solution: Set a valid number (recommended: 100-200 for most use cases)
- Issue: Large responses when “Extract Images” is enabled overwhelm the AI context
- Root Cause: Images significantly increase token usage and context size
- Solutions:
- Reduce DQL search limit to 20-50 when images are enabled (much lower than text-only queries)
- Disable “Extract Images” checkbox if visual analysis isn’t required
- Use highly specific DQL queries to target only necessary test cases
- Focus on single modules or specific test case criteria
- Monitor token usage and adjust limits accordingly
- Image-Specific Considerations:
- Only pasted images in test steps are retrieved (not attachments)
- Multiple images per test case multiply the context impact
- Custom image description prompts can help optimize token usage
- Issue: Slow response times or timeouts with high search limits
- Solution:
- Start with lower limits (50-100) and increase gradually
- Use targeted DQL queries instead of broad searches
- Consider pagination for large result sets
DQL Query Syntax and Module Issues
DQL Query Syntax and Module Issues
- Use Full Module Names: Always use complete module paths (e.g.,
'MD-1 MD-6 Company page'not just'Company page') - Get Modules First: Use the “Get Modules” tool to retrieve exact module names for your queries
- Verify DQL Syntax: Ensure proper DQL syntax following qTest documentation standards

No Data Retrieved from Queries
No Data Retrieved from Queries
- Check Search Limit: Verify “No Of Tests Shown In DQL Search” is set to appropriate value (>0)
- Test Simple Query: Start with basic queries like
Project = 'YourProject' - Verify Project ID: Ensure the Project ID in toolkit matches the target project
- Check Permissions: Confirm the API token has read access to the target test cases
Toolkit Configuration Issues
Toolkit Configuration Issues
- Complete Required Fields: Ensure all mandatory fields are filled:
- qTest API Token (credential selection)
- Project ID (numerical value)
- No Of Tests Shown In DQL Search (positive number)
- Credential Validation: Test the credential independently before using in toolkit
- Tool Selection: Enable at least one tool for the toolkit to be functional
Support Contact
If you encounter issues not covered in this guide or need additional assistance with qTest integration, please refer to Contact Support for detailed information on how to reach the ELITEA Support Team.FAQ
How do I create a qTest toolkit in ELITEA?
How do I create a qTest toolkit in ELITEA?
- First create qTest credentials in the Credentials menu with your API token and Base URL
- Then create the toolkit by selecting those credentials and configuring the Project ID and DQL search limit
What is the 'No Of Tests Shown In DQL Search' field and why is it required?
What is the 'No Of Tests Shown In DQL Search' field and why is it required?
Can I use my regular qTest username and password for the ELITEA integration?
Can I use my regular qTest username and password for the ELITEA integration?
Where do I find the Project ID for my qTest project?
Where do I find the Project ID for my qTest project?
https://yourcompany.qtestnet.com/p/12345).Why am I getting 'Permission Denied' errors?
Why am I getting 'Permission Denied' errors?
- API Token Validity: Ensure the token hasn’t been revoked in qTest
- qTest Account Permissions: Verify your account has proper permissions for the target project
- Correct Project ID: Ensure the Project ID in toolkit configuration matches your target project
- Proper Credential Selection: Confirm you’ve selected the correct credential in the toolkit
My DQL queries return no results, but I know test cases exist. What's wrong?
My DQL queries return no results, but I know test cases exist. What's wrong?
Can I use the same qTest credential across multiple toolkits and agents?
Can I use the same qTest credential across multiple toolkits and agents?
What are some best practices for using the qTest toolkit effectively?
What are some best practices for using the qTest toolkit effectively?
- After setting up the qTest toolkit, thoroughly test each tool you intend to use to ensure seamless connectivity, correct authentication, and accurate execution
- Regularly monitor the performance of Agents utilizing qTest toolkits to identify any potential issues or areas for optimization
- Use API Tokens for integrations
- Grant only the minimum necessary permissions (principle of least privilege)
- Securely Store Credentials using ELITEA’s Secrets Management feature
- Craft clear and unambiguous instructions within your ELITEA Agents to guide them in using the qTest toolkit effectively
- Begin with simpler automation tasks and gradually progress to more complex workflows as you gain experience
What are common use cases for qTest toolkit integration?
What are common use cases for qTest toolkit integration?
- Quickly retrieve detailed test case steps and expected results for test execution guidance
- Automatically generate test cases from requirements or user stories to ensure comprehensive test coverage
- Automatically update test cases based on changing requirements, test feedback, or workflow progress
- Generate custom reports on test case coverage, execution status, and quality metrics using DQL queries
- Link test cases to Jira requirements for complete traceability between testing and requirements
- Analyze test cases with embedded images to understand visual requirements and expected UI behaviors
- How to Use Chat Functionality - Complete guide to using ELITEA Chat with toolkits for interactive qTest operations.
- Create and Edit Agents from Canvas - Learn how to quickly create and edit agents directly from chat canvas for rapid prototyping and workflow automation.
- Create and Edit Toolkits from Canvas - Discover how to create and configure qTest toolkits directly from chat interface for streamlined workflow setup.
- Create and Edit Pipelines from Canvas - Guide to building and modifying pipelines from chat canvas for automated qTest workflows.
- How to Test Toolkit Tools - Detailed instructions on testing toolkit tools before deploying to production workflows.
- Secrets Management - Best practices for securely storing API tokens and sensitive credentials.
- Credentials Documentation - Comprehensive guide to creating and managing credentials in ELITEA.
- Toolkits Documentation - Complete reference for toolkit configuration and management.
- Tricentis qTest Website - Main product website for qTest information and documentation.
- qTest Documentation - Official qTest documentation for features, functionalities, and API.
- qTest API Documentation - Official API documentation for developers.
- Tricentis Support - Community support, articles, FAQs, and troubleshooting guides.