Legacy application question

Hi,

Working with Studio 2014.10 on a legacy application that does not let identify any elements.

Please suggest the best way to automate, image automation is not allowed.

Thank you,

Try:

  • Windows project
  • Modern and Classic UI activities
  • CV UI activities
  • Use different Input modes
  • Add multiple backups for selectors (Strict, Fuzzy, CV and Image)
  • Upgrade the UiPath.UiAutomation.Activities to latest stable version

Most legacy applications supports keyboard shortcuts so you can try Hotkeys also you can use CV selectors with CV activities.

Thank you @adi.mehare @marian.platonov

Hot keys is hard with dynamic screens.
Tried both classic and modern ui activities.
How do I use CV?

Thank you,

Hi @A_Learner ,

CV is the good option when other option fails.

Below is the paylist for CV activity use.
UiPath Computer Vision CV Screen Scope | UiPath Automation Developer Professional Exam Preparation

Watch this and try on your project.
Let us know your output.

Happy automation!

Follow below guides

Single video covers CV activities
UiPath Computer Vision Activities

Thank you. OCR is not working.

Are you facing any issues using CV activity?
May I know which element you are trying to interact with?(Please share screenshot if possible)

UiPath screen ocr is never loading up ending up with an error.

Thank you,

could you please share the error that you are getting?

Wanted to second what Tapas_Kumar_Pattnaik said and ask if you can provide screenshots of the application itself, the application feature you are attempting to interact with, and what happens when attempting to use the CV activity. If the legacy application is proprietary, then just screenshots within Studio of using the CV activity and OCR options.

We will want to confirm the specific CV activity is within an CV Screen Scope activity. Here is a link to the latest documentation: Activities - Computer Vision activities

It could also be helpful to replicate the CV example within Notepad to confirm the CV functionality is working as expected, which will assist in isolating whether this is an issue within Studio or a potential issue with the legacy app.

1 Like

Thank you. OCR engine failed to load.

Were you able to select a OCR option before the “loading failed” error message? Can you provide a screenshot?

Here are some troubleshooting steps to consider:

  1. Restart the machine and UiPath Studio
  2. Update UiPath Packages: Ensure all relevant UiPath packages, especially those related to OCR (e.g., UiPath.OCR.Activities, UiPath.UIAutomation.Activities) and Document Understanding (e.g., UiPath.IntelligentOCR.Activities, UiPath.DocumentUnderstanding.Activities) are up to date.
  3. Check Package Compatibility: Ensure your UiPath Studio version is compatible with the packages being used, as newer versions might have breaking changes.
  4. Re-add the OCR activity: Delete the existing OCR activity and add a new one to ensure a clean configuration.
  5. Check and Repair Dependencies: In the Project panel in UiPath Studio, right-click on “Dependencies” to view the installed packages and their versions. If you find any broken or invalid dependencies, utilize the “Repair Dependencies” option.
  6. Monitor System Resources: Ensure your machine has enough RAM and CPU resources to handle the OCR process, especially with larger documents or complex layouts.
  7. Clean UiPath cache files ::WARNING Implement carefully and only if absolutely necessary::
    Close Studio, kill UiPath processes in Task Manager, and clear the temporary cache files in these locations: %USERPROFILE%.nuget, %LOCALAPPDATA%\UiPath.cache, %LOCALAPPDATA%\NuGet, %LOCALAPPDATA%\Temp\NuGetScratch, %LOCALAPPDATA%\Temp\nuget.

The default one “UiPath Document OCR” showed up. Thank you.

@A_Learner

Use UiPath Screen OCR or Tesseract OCR instead of UiPath Document OCR

Thanks for the update. As Tapas mentioned, you will want to choose a different OCR for interacting with the legacy application.

Let us know if UiPath Screen OCR or Tesseract OCR do or do not appear.

Do I need to install anything for CV activities to work correctly?

Or any license needed?

When bot is running as unattended would the environment need any thing?

Thank you,

Cv activities are under UiPath.UIAutomation.Activities. So no license required. maybe try upgrading the package.

While running the bot especially when you have used CV activities you need the application/website opened before your CV activity steps.

1 Like