Skip to main content
Real-world OQL query examples for common testing scenarios.

Test Management

Returns all active smoke tests, sorted by priority.
Tests that failed in the last week.
All P0 and P1 tests that aren’t archived.
Active tests that have never been executed.
Tests modified in the last 2 weeks.
Deprecated tests not run in 3 months.

Feature-Specific

Important authentication tests.
Automated API tests for users endpoint.
All mobile tests grouped by platform.
Critical payment-related tests.

Quality Analysis

Tests with inconsistent results (60-80% pass rate).
Tests taking longer than 5 minutes on average.
Recent production failures.
Failed tests without linked bugs.

Sprint & Release Planning

Tests tagged for sprint 24.
Critical tests blocking release.
Automated regression tests by folder.
Your tests from this month.

Team & Ownership

All tests you created.
Tests assigned to you.
Tests waiting for your review.
QA team’s tests from this week.

Organization & Cleanup

Untagged tests needing organization.
Tests at root level.
Potentially duplicate tests by name.
Draft tests older than 30 days.

Advanced Combinations

Critical manual tests needing execution.
Tests failing in staging but passing (or not run) in production.
Stable manual tests run frequently (good automation candidates).
Tests with declining quality or performance.

Tips for Writing Queries

Start Simple

Begin with one condition and add more:

Use Parentheses

Make complex logic clear:

Order Matters

Put most selective conditions first for better performance:

Save Frequent Queries

Save complex queries for reuse instead of rewriting them

What’s Next?

Syntax Reference

Complete OQL syntax documentation

Field Reference

All searchable fields