Understanding Test Statuses
CheckView categorizes test outcomes into two primary statuses (Passed and Failed) to ensure clarity and reliability when analyzing results. Below is a breakdown of each status, along with key insights on how to interpret them and optimize your testing process.
Test Statuses
- Passed
- Definition: The test successfully completed all required steps without errors.
- What It Means: Each test step executed as expected and all assertions (e.g., element visibility, text validation) were met.
- Pro Tip: A passed test indicates your workflow is functioning as intended, but periodic retesting is recommended to catch any potential issues caused by updates or changes to your site.
- Failed
- Definition: The test encountered an error because one or more steps did not complete as expected.
- What It Means: A failure typically halts the test immediately at the step where the issue occurred. The failed step is highlighted in the test results for review. In some cases, the root cause may not be directly tied to the failed step but could stem from a previous action or environmental issue so it is key to review the video recording: CheckView provides a video of the test execution which is critical for identifying the exact point of failure and understanding the context. Further, analyze the logs which may have additional details about what the bot encountered during the test flow.
- Starting and Running
- Definition: Starting means the test has been created and CheckView is preparing a test environment for it. Running means the test environment has picked the test up: it launches the browser, opens your site and works through the test’s steps. Neither is a final status yet.
- What It Means: Start-up, from Starting to the first step, usually takes 1 to 2 minutes. While it does, the test page shows each start-up stage with a progress bar, and the first step appears once the browser is ready. On the Tests list, the In progress filter shows tests that are Starting or Running.
- Pro Tip: If a test stays in Starting or Running far longer than its usual run time, contact our support.
- Aborted
- Definition: The test was intentionally stopped before completing all steps. Users can now abort tests directly by clicking the Abort Test button on a test that is Starting or Running. The test shows Aborting for a moment before reaching Aborted. See Abort Tests for more details.
- Awaiting Email: The test has completed its browser automation steps and is now waiting for email delivery verification. This applies to test flows that include an email assertion step. The spotter service checks for the expected email, and once verified (or timed out), the status updates to Passed or Failed.
- Aborting: An abort request has been sent but the test has not yet fully stopped. This is a brief transitional state before the test status changes to Aborted.
- What It Means: The test did not reach a pass or fail conclusion based on its defined steps. No further steps were executed after the abort event besides packaging up the steps ran and the corresponding video.
- Pro Tip: Use the Abort button if you realize the test is misconfigured, targeting the wrong environment, or is taking longer than expected due to unexpected page behavior. This helps you avoid skewing your test history with unnecessary failures and speeds up iteration during test building.
- Setup Failed (Fatal)
- Definition: Indicates a critical failure during test flow setup that cannot be recovered. The Rebuild button is hidden for this status.
- What It Means: Something went fundamentally wrong during the test flow initialization process, and the setup cannot be retried automatically.
- What to Do: Contact support or delete and recreate the test flow.
- Setup Aborted
- Definition: The test flow setup was intentionally stopped by the user before completing.
- What It Means: The user chose to abort the setup process. You can restart setup at any time by clicking the Rebuild button on the test flow.
Why CheckView Doesn’t Use Partial Passes
CheckView is designed to provide consistent and reliable statuses. To maintain this standard, a test is all or nothing. A test is only marked as “Passed” if all required steps are completed successfully. Otherwise, it is marked as “Failed.” Optional steps, such as dismissing a modal or interacting with non-critical elements, are not tested and do not affect the overall test status. This ensures optional actions do not introduce unnecessary complexity or false failures.
Pro Tip: If you use optional steps, be mindful that their execution is not guaranteed. For instance, if a modal doesn’t appear in a given test scenario, the associated step will be skipped rather than marked as failed.
Additional Tips for Understanding Test Statuses
- Interpreting Failures: A failed test doesn’t always indicate a major issue. For example, failures can occur due to:
- Temporary server slowdowns or timeouts.
- Missing elements due to page load delays.
- Incorrect or outdated selectors in the test flow.
- Regular maintenance of selectors and test flows can minimize false failures.
- Using Video and Logs Effectively: Always watch the video recording to understand the bot’s behavior leading up to the failure. Also review the video the first time a test passes to ensure it is working as expected. Use the test logs to cross-reference actions and identify specific points of failure.
- Testing Changes in Real Time: If a test fails, you can edit the test steps, selectors, or timing and rerun the test immediately to verify fixes.
- Consistent Testing Environment: Ensure the testing environment remains stable. For example:
- Avoid running tests on sites undergoing live updates.
- Whitelist CheckView’s IP addresses to prevent security rules from blocking test actions.
- Plan for Resilience: Build redundancy into your test flows by using multiple selectors for critical steps (e.g., fallback CSS or XPath selectors). Use Pause steps or assertions to handle delays in dynamic elements.
For any questions or advanced troubleshooting tips, contact support for personalized assistance.