Tip 1: Using Global Search with ZQL Queries
How to Do It: The Search icon (magnifying glass) on the top right of Zephyr Enterprise screen provides access to a field which can be used to make keyword searches. Here is an example:
Once you’ve entered a keyword, press the Enter key and the results will appear as below:
This is the basic form of search, referred to as Quick Search. However, you’ll notice a radio button above the Search text box, for Advanced searches. When this radio button is selected, ZQL queries can be built in the Search text box. These queries are built using auto-completion, providing options for fields, values, and operators as you type, thus avoiding the need to rely on the ZQL Reference documentation. Custom fields can also be used, as long as the field has been created with “Searchable” being enabled.
As with Quick Search, results can be restricted to Requirements, Testcases or Executions. These results can also be restricted to mine only the current release, or the results can be widened for search across all releases.
Here are some examples of ZQL queries you can run:
- project = “Project Ironclad” and status = “Fail”
- priority = “P1” and (tag = “infrastructure” or tag = “Installation” ) and automated = false
- tag = “Accounting” not tag = “Payment” and release != “Billing”
For more information read here!
Tip 2: Tracking Test Case Executions Under Specific Conditions, in Real-Time
How to Do It: The first step is to create the generic tests we want to run across various platforms or conditions. This is accomplished using the Testcase Creation application. Next, in the EAS application we can create a test run (a cycle/sprint) and under this each phase we create will represent the conditions under which we are testing. So, for instance, a Cycle called “October sprint” will have phases labelled “Windows 10”, “Fedora 22”, and “OS X El Capitan”. We would then add the same testcases to each phase.
Now when we view the results in the Metrics and Reports application, under Testcase Execution Progress, we’ll see the October sprint. Clicking on this will show the various phases, and the results of the testcases in these phases. If we have built folder structures in the phases we can drill down to these as well, and view the corresponding results.
Tip 3: How to Make Bulk Changes to Test Cases in Zephyr Enterprise
How to Do It: Ever wondered how to make changes to a bunch of Testcases in one go? Zephyr Enterprise allows bulk changes to be made not only to System fields, but also Custom fields. Here’s how:
Step 1: In Testcase creation, select a group of testcases using the SHIFT button to multi-select
Step 2: Click on the “Change” button to the top-right of the Testcase Creation window
Step 3: Make changes to System and/or Custom fields
Step 4: Click on “Save”