QMetry: Set QMetry Project Info
qmetry_set_qmetry_project_infoSet the active QMetry project for your account to establish the context required for test case operations, batch processes, or session defaults.
Instructions
Set current QMetry project for your account
Toolset: Projects
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
Output Description: JSON object containing project configuration details, confirmation of project switch, and available project metadata,including Version, Build Number(if greater than or equal to 1), Project ID, name, Project Key and Date Format
Use Cases: 1. Switch to a specific project before performing test case operations 2. Set project context for batch operations on test cases 3. Configure the default project for the current session 4. Validate access to a specific project before proceeding with operations
Examples:
Set default project as active
{
"projectKey": "default"
}Expected Output: Project context set to 'default' with confirmation of project details
Switch to UT project
{
"projectKey": "UT"
}Expected Output: Project context switched to 'UT' project with available configurations
Set MAC project as active for test case operations
{
"projectKey": "MAC"
}Expected Output: Project context set to 'MAC' with viewIds and folder structure
Hints: 1. Always set the project context before performing test case operations in multi-project environments 2. Use the same project key that you'll use in subsequent test case operations 3. Common project keys include 'default', 'UT', 'MAC', 'VT' - check with your QMetry admin for available projects 4. This operation must be performed before fetching test cases if working with non-default projects 5. The project context persists for the current session until changed again
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | No | Project key - unique identifier for the project | default |