TQL is a powerful tool for performing complex searches, It uses of expressions to filter and retrieve specific data
Why use TQL?
- Efficiently locate specific test cases or data sets
- Keep your workspace organized by saving queries in virtual folders
- Generate comprehensive reports from virtual folders
How to navigate to the TQL search box:
Press "CTRL + F" twice or
Right-click on the folder and click on the search symbol
Here are a few helpful TQL queries to get you started:
1) Find test cases with a specific name:
=>SUBPARTS:TestCase[Name == "Login Test"]
2) Find test cases containing a specific keyword in their description:
=>SUBPARTS:TestCase[Name =? "keyword"]
3) Find test cases using the created date:
=>SUBPARTS:TestCase[CreatedAt =? "1-Aug-24"]
4) Find test cases with a test configuration parameter. Searching for test cases using Chrome browser:
=>SUBPARTS:TestCase[EVALCP("Browser") == "Chrome"]
5) Find all the failed test cases in the execution list:
=>SUBPARTS:ExecutionEntry[ActualResult == "Failed"]
Virtual Folders:
- You can store your frequently used query results in virtual folders.
- This makes it easier to review and manage your queries.