Troubleshooting

This topic describes some unexpected scenarios, and explains what to do when they occur.

Connecting to UFT Mobile

When connecting to a UFT Mobile server, the following error may occur:

A problem occurred while connecting to the server. Check your Internet connection and the server address.

When this happens, check the following:

  • Make sure the server address you entered is correct.
  • Make sure the user name and password you entered are correct.
  • Make sure you have network connection.
  • Make sure the UFT Mobile server is accessible.
  • If you are connecting to a server with a self-signed certificate, make sure you selected the Ignore certificate errors option.

Back to top

Design-time errors

When updating an environment, the following error may occur:

Select an app that matches the device platform.

When this happens, make sure you selected an application that matches the platform of the selected device.

Back to top

Runtime errors

If you try to run a test and it fails immediately:

  • Make sure the device is not reserved for any other UFT Mobile user.
  • Open the %localappdata%\Codeless\Logs\ui_service.log log for more details.

The table below explains what to check for different errors that might occur when running a test:

Error message What to do

No item detected for class <class>.

  • Make sure the application was launched correctly.
  • Make sure the application is in the correct state.
  • Make sure the object is visible on the screen.
Detection not unique for class <class>.
  • Make sure the application was launched correctly.
  • Make sure the application is in the correct state.
  • Make sure there is only one object of the required class.

Back to top

Verification fails on misspelled text

Running a Verify step on text may fail if the text is displayed with a misspelling indication, such as a red line under the text.

Use one of the following workarounds:

  • Disable spell checking in your browser or application.

  • Before the Verify step, add a step that clicks another location, to remove the focus from the text and clear misspelling indication.

Example: The following example adds a step before the Verify step to move the focus away.

Copy code
Click the profile
Type "naame" into "Username" input
Click the "Username" text 
Verify that the value of "Username" input is "naame"

Back to top

Logs

If any error occurs, for which you need additional information, check the %localappdata%\Codeless\Logs folder for more details about the error.

Back to top