Global Variables are a powerful feature available to users on Plus plans or higher in CheckView. They allow you to set custom, predefined values at the organizational level, which can be used across all your forms and WooCommerce checkout fields in the creation of future test flows. This dramatically speeds up the process of creating new test flows when custom data values are desired for each test flow.
What Are Global Variables?
Global variables are values that you define within your organization’s settings. Instead of relying on the default values set by CheckView for various fields (such as names, paragraphs, addresses, etc.), you can specify your own custom values. This feature is particularly useful for maintaining consistency, branding, and using white-labeled data in your tests.
Benefits of Using Global Variables
- Customization: Tailor test data to better match your branding and specific requirements.
- Consistency: Ensure that all tests use the same predefined values, reducing variability and potential errors.
- Efficiency: Simplify the setup of new tests by automatically applying global values, saving time and effort.
How to Set Global Variables
- Navigate to Organizational Settings:
- Log in to your CheckView account.
- Go to the organizational settings from your dashboard.
- Define Global Variables:
- Locate the section for global variables.
- Enter the custom values you wish to use for various fields, such as names, addresses, paragraphs, etc.
- Save your changes.
Applying Global Variables
- New Tests: When you create new tests, CheckView will use the global variables you have defined. This ensures that all new test flows utilize your custom values each time.
- Initialized Test Flows: Any newly initialized test flows will also adopt the global variables set in your organizational settings rather than any previously set variables specific to that test flow.
Important Notes
- Non-Retroactive Changes: Changes to global variables are not retroactive. If you update global variables, the new values will only affect new test flows or newly initialized test flows. Existing tests will not be updated automatically.
- Field Variability: While the CheckView bot attempts to use the correct field value in fields, it may not always be possible due to the variability of various forms. In such cases, you may find that global variables are not always set the proper fields at times. Ensure that your field names and identifiers are as standardized as possible to improve accuracy.
Example Use Cases
- White-Labeled Data: Use global variables to input branded or white-labeled data, ensuring that your tests reflect real-world scenarios more accurately.
- Address Fields: Set specific addresses that are relevant to your business, rather than using generic addresses provided by default.
- Custom Names and Paragraphs: Define names and text paragraphs that match your branding or test requirements.