Error Message
XXX is an invalid it value. Enter a value that contains only digits, letters, underscores (_), and periods (.) or run from a higher level portal.
Symptom
The test case name contains invalid characters. The name must contain only digits, letters, underscores (_), or periods (.), or the test must be run from a higher-level entry point.
Possible Causes
The local test case name contains invalid characters.
Solution
Error Message
XXX is an invalid describe value. The value entered must contain only digits, letters, underscores (_), and periods (.), and can only start with a letter.
Symptom
The test suite name is invalid.
Possible Causes
The local test suite name contains invalid characters.
Solution
Ensure that the test suite name contains only digits, letters, underscores (_), or periods (.), and starts with a letter.
Error Message
XXX is a Variable. Please use string as a describe name.
Symptom
The test suite name contains a variable.
Possible Causes
The local test suite name contains a variable.
Solution
Use a string as the test suite name.
Error Message
XXX is a Variable. Please use string as an It-name.
Symptom
The test case name contains a variable.
Possible Causes
The local test case name contains a variable.
Solution
Error Message
XXX is a Variable. Please use string as an It-name or execute from the higher running entrance.
Symptom
The test case name contains a variable. Use a string as the test case name, or run the test from a higher-level entry point.
Possible Causes
The local test case name contains a variable.
Solution
Error Message
Testing failed due to the duplicate test case name XXX. The test case name must be unique in a test suite.
Symptom
The test failed due to a duplicate test case name.
Possible Causes
Test cases with the same name exist within a test suite.
Solution
Check the test case names to ensure that they are unique.
Error Message
Testing failed due to the duplicate test suite name XXX. The test suite name must be unique in a test package.
Symptom
The test failed due to a duplicate test suite name.
Possible Causes
Test suites with the same name exist within a test package.
Solution
Check the test suite names to ensure that they are unique.
Error Message
The function where the method XXX is located is not registered in the 'List.test.ets' file!
Symptom
The function containing a specified method is not registered in the List.test.ets file.
Possible Causes
The function is not registered in the List.test.ets file.
Solution
Register the function in the List.test.ets file, as shown in the following example:

Error Message
The function where the suite XXX is located is not registered in the ''List.test.ets'' file!
Symptom
The function that contains the test suite is not registered in the List.test.ets file.
Possible Causes
The function is not registered in the List.test.ets file.
Solution
Register the function in the List.test.ets file, as shown in the following example:

Error Message
None of the functions in the file XXX have been registered in the 'List.test.ets' file!
Symptom
None of the functions in the specified file are registered in the List.test.ets file.
Possible Causes
None of the functions in the specified file are registered.
Solution
Register the function in the List.test.ets file, as shown in the following example:

Error Message
Current test case XXX not found in the test file.
Symptom
The specified test case cannot be found in the test file.
Possible Causes
The specified test case cannot be found in the test file.
Solution

Error Message
No Any Test Case Found In The XXX.
Symptom
No test case can be found in the specified target.
Possible Causes
No test case is defined in the test file.
Solution
Ensure that at least one test case exists in the test file.
Error Message
Testing on C/C++ methods not supported.
Symptom
C/C++ methods are not supported in local tests.
Possible Causes
C/C++ methods are not supported in local tests.
Solution
Use instrument tests to test C/C++ methods.
Error Message
Required components are missing in the HarmonyOS SDK. Reinstall DevEco Studio again.
Symptom
Required components are missing in the SDK.
Possible Causes
Required components are missing in the SDK.
Solution
Error Message
Failed to start local test, please check the XXX path!
Symptom
The build product modules.abc cannot be found, leading to local test startup failure.
Possible Causes
Solution

Error Message
Test failed due to lack of memory. Please clean up other heavy processes or restart the computer.
Symptom
The test failed due to insufficient memory.
Possible Causes
The memory is insufficient.
Solution
Free up the memory or restart the computer.
Error Message
Build history project failed.
Symptom
Failed to execute the historical test task.
Possible Causes
The historical task is no longer valid, or the execution environment has been modified.
Solution
Do not execute the historical task. Create a new one instead.
Error Message
A runtime error occurs. The specific error message depends on the situation.
Symptom
A runtime error occurs.
Possible Causes
Unknown.
Solution
Troubleshoot based on the specific error message.
Error Message
No module found.
Symptom
The module in the current Run/Debug Configurations panel is empty.
Possible Causes
The project synchronization failed.
Solution
Synchronize the project again and ensure that the synchronization is successful.
Error Message
The product can not be empty.
Symptom
product is empty during runtime.
Possible Causes
The product configuration is incorrect.
Solution
Ensure that the applyToProducts configuration for the corresponding module in the project-level build-profile.json5 file is correct. For details, see Building a HAP and App Pack.
Error Message
The target can not be empty. Check the build-profile.json5 file of the project root directory and make sure the targets of the modules in configuration is set to specified product: default in applyToProducts.
Symptom
target is empty during runtime.
Possible Causes
target configured for the current module is incorrect.
Solution
Ensure that the applyToProducts configuration for the corresponding module in the project-level build-profile.json5 file is correct. For details, see Building a HAP and App Pack.