# Use case management
Detailed explaination of use case management for automated test panels.
# Multilevel Directory Management
Allows the creation of multilevel folder categorization management test cases

# Fundamental modules
Qualcomm. Use cases for the basic function can be inserted into any step to reduce the number of repeatedly recorded operations. Qualcomm. Use cases for the basic function support the configuration of common variables, and can modify the target and text to improve the versatility.
# 1. Basic modules on recording
After clicking, you can record as you would in a normal use case.
Once recorded, it is inserted into the Base Modules directory. All use cases in this directory are base modules that can be used, as described in more detail below.
# 2. Set public variables
After recording the use cases, you can configure some common variables for later use as slots.
After the addition above, the specific way elements are positioned in the step can be changed to find by text, and the text content can be replaced with common variables.

# 3. Using basic modules
You can add a basic module directly in the steps to record a common use case
The base modules that can be selected are all use cases in the Base Modules directory, and when selected, public variables can be filled in with the values of this step.
Is theset (text for public variables to select) = Service Market
In this way, when the base module uses this variable, the placeholder will be replaced with theservice marketwhen it comes to the base module.
For example, thetap # Text to click #set in step 2 above finds an element of the text containingservice marketto click when replaced
# 4. Configure the login module


Since most Weixin Mini Program require a login to access the test page, While login is a pre-requisite for most of the cases, here is a quick operation to globally configure the login module **** to configure both the current case and the global case only in. minitest cloud test platform plays effectively in playback, because tool side playback, there is a cache in the current window, and playback does not need to be re-logged in, while playback on cloud test platform requires re-pulling the Mini Program, which is a brand new environment.
The configuration operation is consistent with the process of inserting a common module, and only can insert a common module case allows to select either the global application or the current use case . When successfully configured, each step of this common module is set to be ignorable, even if failure does not affect subsequent implementation. After configuration, if you do not want to use, you can delete, the same can be global or current case delete.