This guide describes how to analyze and resolve some of the common problems that you might encounter while you work with HCL OneTest™ UI.
You can find information about the issues or problems that you might encounter while working with HCL OneTest™ UI in the UI Test perspective. Details about issues, their causes and the resolutions that you can apply to fix the issues are described in this section.
This section provides information about error messages that you might encounter with HCL OneTest™ UI. This section lists the error messages by ID, explanation, system action and your response to correct the error message.
InWindow Found
When you record a Web UI test and enter the URL of the web application that you want to test, the application might be redirected to a different URL. When you play back this recorded Web UI test, the playback fails.
When you play back a Web UI test, the test fails occasionally before HCL OneTest™ UI opens a browser.
When you record or play back a Web UI test, the application under test (AUT) fails to open and displays the 403 forbidden error.
When you play back a Windows test with a content verification point, the test fails to verify the text content.
When you run Web UI tests on a remote agent that runs on Linux, the browser fails to launch.
When you run Web UI tests in Google Chrome versions that are earlier than 110 on an Android 13 device or emulator, the browser fails to open.
When you playback a Web UI test, the test fails on the submenu actions that are beneath the overlaid control.
When you install HCL OneTest™ UI on a Linux or Mac operating system and create a test, occasionally, the test generation fails with NullPointerException.
When you use Microsoft Edge on Linux systems, you cannot record or play back a Web UI test. HCL OneTest™ UI opens Google Chrome instead of Microsoft Edge when you start recording or play back a Web UI test and the test fails.
When you run a Web UI test in the headless mode in Google Chrome, the browser does not open correctly in the maximized window, and the screen resolution is not the same as that was used while recording the test.
This topic can help you troubleshoot some of the problems that you might encounter in Web UI testing.
When you play back a Web UI test in the Chrome browser that is installed on an Android device, the playback does not start and the unified report displays an error message.
When you change the value of the WEBDRIVER_CHROME_DRIVER_MOBILE environment variable in the Windows or Linux operating system, and then run a Web UI test on the Android device, emulator, or simulator connected to the system, the test fails.
When you change the value of the WEBDRIVER_CHROME_DRIVER_MOBILE environment variable in the Mac operating system, and then run a Web UI test on the Android device, emulator, or simulator connected to the system, the test fails.
When you perform mobile tests on Android applications, you might face issues. You can find details about issues, their causes, and the resolutions that you can apply to fix the issues.
You can find information about the issues or problems that you might face while you perform mobile tests for iOS applications. Details about issues, their causes, and the resolutions that you can apply to fix the issues are described.
There was an error in asserting the HCL OneTest™ UI log type.
There was an error in getting an image for the HCL OneTest™ UI type.
There was an error while verifying if HCL OneTest™ UI is installed.
HCL OneTest™ Studio sending command to open Log
After sending command to open Log
There was an error in opening the HCL OneTest™ UI script.
HCL OneTest™ Studio sending command to open Script
After sending command to open Script
Opening HCL OneTest™ UI Script in HCL OneTest Studio Perspective
There was an error in opening the HCL OneTest™ UI script in the __WUT_PRODUCT_NAME__ perspective.
About to execute HCL OneTest™ UI Script
After the HCL OneTest™ UI Script Execution
There was an error in executing the HCL OneTest™ UI script.
Shell-sharing of HCL OneTest™ UI with __WUT_PRODUCT_NAME__ might not be configured.
No selection is available to complete the operation.
An invalid extension was defined for HCL OneTest™ UI integration.
There was an error in sending requests to HCL OneTest™ UI.
There was an error in obtaining the HCL OneTest™ UI test path.
There was an error in generating code for HCL OneTest™ UI.
Exception in Setting Test Path of HCL OneTest™ UI Test
Exception in refresh of Editor Tree
Exception in opening the editor
Exception while renaming Functional Test Script Assets
Exception while setting the job schedule for Renaming Functional Test Script Assets
HCL OneTest™ UI is not installed.
Inflating Project during execution
There was an error while executing a HCL OneTest™ UI script.
Exception in parsing Functional Log
A class could not be loaded during execution
A directory could not be created during execution
The execution results could not be parsed.
The property value of a verification point could not be fetched.
A command to get the verification point could not be created.
There was an error in getting a command parameter that is needed to open the verification point comparison editor.
The verification point comparison editor could not be opened.
Missing message for log entry '{0}' in class: {1}
Cannot get Log key '{0}': SecurityException raised.
Cannot initialize Log key '{0}'
IExtendedType '{0}' already defined, at extension point '{1}'
Warning: field '{0}' is not defined in class: {1}
Warning: Cannot check a message against log key mapping for '{0}' of class {1}, SecurityException raised.
Unexpected exception, please check Error Log view: {0}
Mismatch between number of formal bindings and number of icu bindings for key {0}
Cannot parse number from string '{0}', a parameter of the translated message {1} for icu bindings
unexpected exception
Error getting persistent property '{0}'
Error setting persistent property '{0}'
Cannot reload device list
Cannot reload application list
Cannot save editor '{0}'
Cannot reload resource '{0}'
IExtendedTypeUI '{0}' already defined, at extension id='{1}'
Failed to generate QRCode image, content is:'{0}'
Imported package '{0}' is not rebuild because application '{1}' already exists ({2})
Cannot update original package of Web application: '{0}' (build dir: '{1}')
Mobile Run Wizard extension already defined for '{0}'
Unable to run external command '{0}'
Unable to handle menu from report: reason '{0}'
Failed to download the driver for '{0}' browser.
Exception in starting Edge browser.
IExtendedTypeTegGen '{0}' already defined, at extension id='{1}'
Execution exception
Unexpected exception
Information: %1
Exception thrown during server address check
Exception thrown during data harvest
Exception thrown during substitution
Android USB controller process exited with exit code {0}\n{1}
Enumeration type {0} doesn't exist in grammar {1}
IExtendedTypeCodeGen '{0}' already defined, at extension id='{1}'
Unable to find field {0} in object
cannot load resource '{0}'
cannot save resource '{0}'
cannot create directory '{0}'
cannot copy file '{0}' to directory '{1}'
exception thrown while configuring '{0}'
exception thrown from component {0} while building from '{1}'
from component {0}: {1}
state machine error thrown during execution
user error detected during execution: {0}
device data corrupted during properties update (data: '{0}')
Unexpected exception while dealing with {0}
Missing translation for key {0}
error while serving landing page
An %1 exception occured during translation
"ClassName : %1 ProjectName : %2 IsJunit : %3 ExecutionArgs : %4"
Exception in opening Script %1 Editor
Exception in getting Source (src) folder from Project %1
Exception in setting Source for IFile : %1
Start of Web UI Recorder
Java Script Request Received
Java Script Sent in (ms) = %1
Xhr Request Received
Xhr Request Process Start
Xhr Response Time (ms) = %1
Exception in processing Action
Exception while sending JavaScript
Start of capturing snapshot;
End of capturing snapshot in (ms) = %1
Exception in capturing snapshot
Exception in sending Xhr response
Processing Xhr Request by Recorder.
Stopping the recorder as browser is closed
Seems like Browser is Closed.
Web Application Node Added
Exception in Recorder Delegate
Empty Json Action String. No Operation in Recorder.
Exception in setting recorder preferences.
InWindow Added
Exception in setting Firefox browser preferences.
Exception in starting Chrome browser.
Exception in bringing browser to front.
Exception in starting Internet Explorer.
Exception in starting Safari.
Exception in starting Firefox.
Exception in computing the port from json.
Exception in serialization.
Exception in computing the browsers connected to workbench.
Registered %1 (%2), located at %3
Found %1 at %2
Web UI testing is supported on %1 version %2 or later. Found version %3
Could not find %1
Error determining the version of %1
There was a problem adding the browser %1
There was a problem setting the Web UI playback preference
There was an exception.
There was a problem scanning and marking the test.
Register Browsers
Hybrid, invoking action using WebDriver
Script Method : %1
Invoke action "%1" on "%2"
Hybrid, invoking JavaScript
Start %1 using %2
Done with execution.
Creating xpath for %1
Generated XPath %1
Searching by %1
Execute : %1
Found %1 objects
Time taken (%1) = %2
Switched to window : %1
Return value from JS : %1
Exception : %1
%1 is not implemented.
Unexpected return value from JS, %1
Unable to delete file
Failure to create directory during test generation.
License server connection test failed: %1
RMSE0003W There are currently no selected counters for the source named {0}.
RMSE0004W The source named {0} is no longer available.
RMSE0005W The source named {0} is reporting the error message {1}.
This section provides answers to frequently asked questions about the HCL OneTest™ UIWeb UI extension.
In this section, you will learn how to troubleshoot the tests in the Functional Test perspective.