Click on “Add Test Flow” from the CheckView website dashboard.
When you add a new test flow, CheckView automatically detects if WooCommerce is activated on your website. Select WooCommerce.
Choose a product from your WooCommerce store CheckView will automatically detect all products in your WooCommerce store, allowing you to select which product to include in the test flow. Currently, only one product can be selected. CheckView supports testing simple and variable products with multiple options, such as sizes and colors. It does not support configurable products, product add-ons, or custom setups, but you can always run through the test flow and manually edit the steps if initialization fails. Note that the first product on the dropdown list is the WooCommerce Automated Testing Product, automatically created by CheckView. This hidden product cannot be found in WooCommerce searches or search engines. You can choose to use a real product from your store or this test product.
Choose the WooCommerce test flow type CheckView offers two built-in test flow types for WooCommerce: Add to Cart and Full Checkout.
Add to Cart: CheckView bots visit the product page of the selected product, add the item to the cart, and verify that the cart is working as expected.
Full Checkout: This test flow includes the Add to Cart process but also proceeds to checkout, completes all billing and shipping details, and submits an order using a test payment gateway. The type of test flow you choose will depend on your testing needs and your setup’s capabilities.
Select a support payment gateway from your WooCommerce store. Currently, CheckView supports using the CheckView payment method, which is a hidden WooCommerce payment method that regular users cannot access; it only works for CheckView bots. This test payment method does not interact with any real or sandbox payment processor. Alternatively, if you are using Stripe, CheckView can run the test flow against Stripe in test mode. CheckView will enable test mode on your website specifically for CheckView bots and run transactions against your Stripe account’s test mode. Note that it does not verify the transaction’s success in Stripe, only completing a successful transaction from WooCommerce’s side. Other payment gateways in test or sandbox modes are not yet supported but will be in the future. No live credit card payments are processed with any of the available options.
Select the frequency for running the test flow As with form test flows, WooCommerce test flows allow you to select how often the test flow should be run, either daily or weekly, and set the time based on a timezone. Keep in mind that running tests more frequently will use more of your available monthly tests.
Enter billing test data details CheckView will add either default CheckView billing sample details on the basic CheckView plan or use your global variable defaults set in your organization settings for all other plans. You can leave these as they are or modify the test data for this specific test flow to your liking. Note that these billing details are not verified by any payment gateway, as the test payment gateways will accept any billing details. You cannot change the email address, as it is automatically set by CheckView to ensure test data can be scrubbed clean and email confirmations are sent out properly. Lastly, keep in mind that selecting a country where you do not sell in WooCommerce will cause the test to fail, as users cannot choose that billing country.
Select separate shipping details if desired. If you choose to use separate shipping details, CheckView will enter default test data similar to the billing details based on CheckView’s defaults or your organization’s global variables. Note that selecting a country where you do not allow shipping or where no shipping methods are set up in WooCommerce will cause the test to fail. Additionally, if you have any address validation plugins, please ensure you use a real address so the validation passes and the test does not fail.
Enter order notes if desired CheckView will enter default test data similar to the billing and shipping details based on CheckView’s defaults or your organization’s global variables.
Click on Add test flow
A popup will appear, informing you that the test flow is being added, which may take a few minutes.
Once added, the test flow will be initialized, with all test steps automatically added and the status set to ‘Initializing’. During this time, you will not be able to edit or run the test flow.
If the test flow initializes successfully, it will automatically run its first test. Once complete, the status should be ‘Passed’. Congratulations on running your first test flow! It will now run automatically according to the schedule you set. If your test status shows an error or fails, please review our troubleshooting tips.