Troubleshooting: HCL OneTest™ API Agent
You can use workarounds to common problems that you might encounter when you install and run the HCL OneTest™ API Agent.
Problem | Description | Solution |
---|---|---|
Project fails to open - duplicate items |
Each file within an Agent project has a unique identifier of the following format:
This problem is caused by project files that are copied by using the operating system rather than copying within HCL OneTest™ API Agent. |
HCL OneTest™ API
Agent must
always be used to copy objects. The error message tells which files have the same ID's and the solution is to remove one of them and reopen the project. |
HCL OneTest™ API Agent fails to start |
The Agent workspace can get corrupted. This problem occurs in any of the following conditions:
|
Try renaming the Perform any of the following actions:
|
Unix-like systems: program does nothing and exits |
In HCL OneTest™ API
Agent
Installation Directory |
Review the log files to locate the error. For information about using Library Manager, refer to Working with Library Manager. |
Linux™ systems: fail to start - java.lang.UnsatisfiedLinkError |
The following error occurs: java.lang.UnsatisfiedLinkError: /home/root/jdk1.6.0_16/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory |
Install the libXtst package.Contact your system administrator for assistance. |
PatternRunTargetException occurs |
The following text is recorded in the log file:
The
number at the end of the message, hashed above is the UUID of the resource. The entry in the log
file indicates that a resource is missing. Each file within an HCL OneTest™ API project is
a resource and is identified by a UUID. The project files are XML files and the UUID of each can be
found at XPath location: /*/@uuid. If the project is damaged, the project could
contain a resource reference that has a UUID which is not fulfilled by any resource within the
project. This can occur, for example, in a situation where the following tasks were done sequentially:
|
|