Creating your first automated test flow with Uptime

Watch our 3 minute video or follow the steps below

Recording a test flow

Recording a test flow only takes a minute and can be completed in three simple steps

  • The Uptime Recorder is a free chrome extension that allows you to easily record test flows that can be uploaded to your Uptime app.

    Note: for the best results you should record tests in an incognito window. To do this you will need to enable Allow in incognito in the extension settings. You will be prompted to enable this the first time you open the extension.

    Install the Uptime Recorder
  • In a new browser tab navigate to the page on your online store you want to start recording on. Then open the Uptime Recorder extension, enter a descriptive test flow name, and click the Start recording button

    Best starter test flows

    • Home > Collection page
    • Collection page > Quick add to cart
    • Product page > Add to cart > Checkout

    For more test flow ideas check out this blog post

    When the recording is active you will see 🔴 Recording test flow appear at the bottom of your browser window. Once you’re happy with the flow simply open the extension again and click Stop recording.

    Test flow recording tips

    • Record tests in an incognito window since our servers will always run tests in a fresh cookie free browser
    • Record product page tests on products that are generally in stock to prevent false-positive test failures
    • Keep in mind that all tests run from a server based in the US
    • Smaller and simpler tests are more resilient, for example, if you want to test the end-to-end customer journey record each step individually (eg. home > collection, product > checkout).
  • When you hit Stop recording you will see a list of your recorded test flows. Click the Download link next to the test flow you just recorded to download it to your computer.

    Now simply head over to Testing Flows tab in your Uptime app, click the Add test flow button and add the test flow file you just downloaded.

    Once uploaded the test will be queued and run on your online store and you should see it update after a few minutes.

Frequently asked questions

Here are some of the most frequently asked test flow questions

  • For most merchants, the following tests provide solid testing coverage:

    • Home > Collection page
    • Collection page > Quick add to cart
    • Product page > Add to cart > Checkout
    • Adding various upsells/recommendations across product pages and cart

    For more test flow ideas check out this blog post.

  • We want to give you peace of mind knowing whenever a change is made to your online store that it’s thoroughly tested. That’s why your test flows will run whenever you make an update to your online store theme. This includes edits made via the Shopify admin editor (eg. editing headlines, imagery, or moving sections around), a developer partner pushing code, or if you install a third-party app. All of your tests will also run by default every 24hrs.

  • If one of your tests flows fail you will receive an email alert (and Slack if you have it connected) with useful information to help start debugging the issue.

    Here are some helpful tips to assess a test flow failure:

    • Check the test flow screenshot: when a test fails we will take a screenshot at the point of failure. This can be viewed by clicking the ‘View screenshot’ button on the test flow that failed. This image will often make it obvious to you in terms of what’s going wrong.
    • Check the advanced debugging information: above the screenshot image in the app, you will see advanced debugging information, which for the technically inclined will provide some insights into what event in the test failed.
    • Test the flow yourself live: you should double-check the test by clicking through the steps live on your online store. This will help you confirm if it’s just a passing issue, or if something is currently broken.
    • Re-record if necessary: if an adjustment on your store caused a test to fail, but the actual functionality is still working, it may be necessary to simply re-record the test flow. This can be done by following the simple steps above
  • Nope! While your automated test flows are running we block events to Google Analytics, Shopify Analytics, and Amplitude. So there won’t be any impact on your store's analytics.

  • Nope! Uptime does not make any changes or performance impact to your online store – it runs completely separately on our own servers. That means it's safe to install anytime.

  • If for example, you have a test that adds a product to the cart and that product sells out, that test flow will fail. This is because the test will be unable to add that product to the cart.

    This is why we recommend recording test flows on products that generally remain in stock.

  • Due to privacy reasons (collecting payment details) and since Shopify doesn’t provide the ability to create test checkouts, we do not currently support end-to-end checkout test flows.

    You can record tests as far as the ‘Payment details’ checkout step (keep in mind this will create an abandoned checkout in Shopify).

    Checkout is handled by Shopify and is generally covered by Uptime’s Shopify status page monitoring, so going beyond the first step of checkout is not necessary for most merchants.

  • We do! For headless stores, since the theme itself is hosted outside of Shopify, you can leverage our ‘Flow run webhook’ to trigger your test flows to run whenever you deploy code to your online store.

    You can find your ‘Flow run webhook’ on the Uptime settings page. Headless support is currently only available on Enterprise plans. Email us for more details at [email protected]

  • Our tests run from a server based in the United States (Iowa to be specific) – meaning each test flow will simulate a customer residing in the US.

    Therefore it’s important when you’re recording tests to simulate the US customer experience, whether via a VPN or setting store location/currency preferences before recording.

  • Not a problem! Make sure to record your tests in incognito so you are forced to enter the password before accessing the store.

  • Unfortunately at the moment, we are unable to run tests that interact with an element nested within an <iframe>. We hope to support <iframe>s in a future update!

Prefer a chat?

We love talking to our customers, book us anytime that fits your schedule.

Get the app today

Try Uptime for free today with our 7-day trial and get peace-of-mind knowing someone is always monitoring your store.