Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Monday, 19 August 2024

Tosca Query Language

TQL is a powerful tool for performing complex searches, It uses of expressions to filter and retrieve specific data


Why use TQL?
  1. Efficiently locate specific test cases or data sets
  2. Keep your workspace organized by saving queries in virtual folders
  3. 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.



No comments:

Post a Comment

Note: only a member of this blog may post a comment.