Meeting point for TagUI users converting .tag workflows to Python rpa .py scripts
kensoh opened this issue · comments
TagUI RPA has been maintained by AI Singapore for several years. From Q4 2023, they will stop supporting it.
The natural evolution for TagUI users, to make the most use of developed assets like TagUI workflows, would be to assess if converting to Python rpa package scripts make sense. Since each TagUI step has a matching Python rpa function(), conversion should be pretty straightforward for any user willing to learn Python.
For the JavaScript sections in TagUI workflow files, there are online convertors to convert JavaScript code to Python code. There are also other considerations like how to deal with scripts written in human languages other than English, how to deal with object repositories, how to deal with data tables etc etc etc.
Creating a placeholder issue here so TagUI users can post their challenges and share solutions on migrating from the most popular open-source RPA tool (TagUI) to the most popular open-source Python rpa tool (this package 😄)
How I'll broadly approach migrating a TagUI script. Hope this is useful to you.
For basic TagUI workflows without advance features
- convert each TagUI step to Python syntax (it's similar to JavaScript). For example,
snap page to results.png
becomesr.snap('page', 'results.png')
- convert human language steps like
if
,for
to Python or JavaScript syntax
For more complex TagUI workflows containing advance features
- if your TagUI script has JavaScript code, use online JavaScript to Python convertors
- handle object repository possibly by loading the csv using csv module (or Pandas)
- handle data table possibly by loading the csv using csv module (or Pandas)
For other features not mentioned above, post here to ask and exchange tips
TagUI RPA and Python rpa API references for your convenience