Robotic Process Automation Community Question

Can python programming be used effectively for real-time robotic process automation in 2024?

Posted on 2025-01-15 • In Robotic Process Automation • By Kevin Moore

My company is looking to move away from expensive UIPath licenses. We want to know if <python programming> libraries like PyAutoGUI or Selenium are robust enough to handle enterprise-level RPA tasks. Specifically, we need to scrape data from legacy desktop apps and input them into a modern CRM. Is the maintenance of these custom scripts too high compared to low-code tools?

3 Answers 5,658 Views

All answers to this question 3 Answers

Rebecca Hall Answered on 2024-01-17
Answered

Moving from UIPath to is a great way to save costs, but it requires a higher skill ceiling for your team. For legacy apps, PyAutoGUI is decent, but it lacks "element-level" awareness since it mostly relies on image recognition or coordinates. I would recommend looking into the RPA Framework (Robocorp), which is built on top of Python and provides much better logging and error handling for enterprise environments. It makes the maintenance of scripts much easier because it uses keyword-driven automation which is more readable than raw scripts.

Steven King Answered on 2024-01-19
Answered

Does your legacy application support any command-line arguments or backend database access, or is the GUI truly the only way to interact with it via <python programming>?

Andrew Young Commented on 2024-01-20
Commented

Steven, unfortunately, it's a 15-year-old VB6 app with no API or CLI. It’s strictly GUI interactions. That's why I'm worried about script stability if a window shifts by even a few pixels. Do you think specialized libraries for Windows UI Automation are better than standard coordinate-based clicking for this specific type of old software?

Laura Scott Answered on 2024-01-22
Answered

I have successfully used the pywinauto library for this. It interacts with the actual control elements of Windows apps, making RPA much more stable.

Kevin Moore Commented on 2024-01-23
Commented

I've used pywinauto too, and Laura is right—it's far superior to coordinate-based tools. It actually "sees" the buttons and text fields in the code.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.