20220713 TagUI Workshop to Civic Service College Colleagues
Venue: CSC Tamarind 2, Level 5, CSC
Date: 20220713
Time: 1330-1430
Trainer: Lawrence and Suhaimi
after 1430 is consultation for more in depth usage
Mode: Face to Face
Equipment: Personal Computer with Admin rights to install these software
- TagUI https://tagui.readthedocs.io/en/latest/setup.html
- VS code studio https://code.visualstudio.com/Download
- SelectorsHub Chrome Extension https://chrome.google.com/webstore/detail/selectorshub/ndgimibanhlabgdgjcpbbndiehljcpfh
- Reference: https://tagui.readthedocs.io/en/latest/reference.html
Desired Outcomes:
- Participants' computer can install and run TagUI ( tall order, need more time, only one early participant was guided to install)
- Participants' computer can download and unzip all my TagUI on Github ( didn't do with them)
- Participants can run in command prompt: c:/rpa/tagui/flows/tagui live
- Participant's computer TagUI Chrome Browser has gmail login and password added
- Be able to run simple one TagUI flow
From Michael
Hi Colleagues,
Thank you for indicating your interest in the informal sharing first mooted in Derrick’s thread in the R user community.
I’m soft-booking your time on Wed 13 July and providing some materials should you be keen to get your hands dirty for the power users in our midst.
- Installation https://tagui.readthedocs.io/en/latest/setup.html
- Recommended to use Window installer TagUI v6.110 for Windows
- Recommended path is c:/rpa/tagui for WOG (need to email your own ITD to whitelist and install for your WOG, TagUI is already running on my WOG) and personal computer
- else d:/rpa/tagui for SSOE
- cannot work on c:/program files/rpa etc probably due to the space in the path
- Run command line
- navigate to c:/rpa/tagui/flows/
- type tagui live
- if you use gmail, need to key in the login id and password once, for this browser to remember so that it can be used in all other flows
- type tagui update
- this will update the tagui to the latest version if need
- type tagui
- this will show all the commands available
- GitHub lookang TagUI page – https://github.com/lookang/TagUI
- https://github.com/lookang/TagUI/archive/refs/heads/main.zip download this into the folder c:/rpa/tagui/flows/
- unzip it and rename the folder to c:/rpa/tagui/flow/lookang for example to get all my flows
- Youtube library of demonstrations in MOE’s context – https://www.youtube.com/playlist?list=PLYIwRBA8ZhdPh8W68XCB1gEMv8A0Bl7Qk
- Demo a simple TagUI, how to get elements name or id to click on
- Deck from AI SG – https://weelookang.blogspot.com/2022/06/tagui-roadmap-slides-my-personal-copy.html
I’ll provide you with a bit more detail with what Lawrence will share closer to the date, and update the venue in this calendar invite. In the unlikely event of an emergency, the backup date I have is Wed 27 July morning, which I won’t book until something crops up.
Thank you once again for your enthusiasm, which warms my heart. Get ready for a fun session of feasting on brain food (and also some light refreshments). Bring your lunch if you wish
Reference:
1. TagUI-AI Singapore https//aisingapore.org/tagui/
2. Installation Windows, Mac, Linux https://tagui.readthedocs.io/en/latest/setup.html
3. UiPath paid RPA https://www.uipath.com/pricing
4. TagUI GitHub issues-discussions https://github.com/kelaberetiv/TagUI
5. TeleGram TagUI-RPA chat https://web.telegram.org/z/#-1299183642
8. GitHub of SLS TagUI flows https://github.com/lookang/TagUI
9. TagUI saves id and password on local computer , not visible in *.tag files, increases security https://www.youtube.com/watch?v=5wLWNB_ucbc&list=PLYIwRBA8ZhdPh8W68XCB1gEMv8A0Bl7Qk&index=7
10. https://github.com/lookang/TagUI/tree/main/SLSvle extract SLS user data to verify user with CG admin roles
11. https://github.com/lookang/TagUI/tree/main/share share many lessons with many different emails, automated
12. TagUI auto post Multi-choice and free response questions in CSV to SLS https://www.youtube.com/watch?v=KTExNaIGDfI&list=PLYIwRBA8ZhdPh8W68XCB1gEMv8A0Bl7Qk&index=12
13. Running TagUI on SSOE https://www.youtube.com/watch?v=J76fAWwcahs&list=PLYIwRBA8ZhdPh8W68XCB1gEMv8A0Bl7Qk&index=14
14. Open Source Physics https://www.compadre.org/osp/webdocs/about.cfm
15. Free AI Singapore TagUI beginner online certification course https://learn.aisingapore.org/courses/learn-rpa-with-tagui-beginners-course/
16. WOG Tagui flows https://github.com/lookang/TagUI/tree/main/login the files has wog text in them
Photo from Michael
Outline:
- in command prompt type tagui /Users/lookang/Desktop/tagui/flows/samples/1_google.tag
- use of live to demo how tagui works line by line
- navigate to three dots on chrome, right click, developer console
- use right click and inspect the element
- copy any element to see if tagui can find it such as name, class etc
- copy the line that work in live mode into a *.tag file to be made as a flow
- snap page to abc.png with go into the folder of the flow folder example /Users/lookang/Desktop/tagui/flows/samples/ or on Windows c:/rpa/tagui/samples/
- tagui /Users/lookang/Desktop/tagui/flows/samples/1_google.tag -d will create a *.deploy file for one click solution and use
- best practise: navigate the the folder of the tag file and run tagui especially if the flow needs to save file to the folder etc
- wogaa example of sending email, example of uipath fails and tagui was use to do the rpa now https://github.com/lookang/TagUI/blob/main/wogaa/compose_mail_wogaa6csv.tag
- to use tagui in turbo mode type tagui filename.tag -t
- use turbo in your own risk, better to introduce a wait 0.5 to make tagui slow down to match the internet speed, for reliability
- do not move your mouse when a flow is running, this is a chance the flow will fail if your mouse is messing up the flow
- I typically avoid visual automation due to the need to store *.png images for computer vision matching
- possible to use tagui python for more intelligent and library use
- Question on Edge: yes, TagUI can also run Microsoft edge if it is installed, type tagui filename.tag -edge
- Question on Web scrapping: Yes, tagui can https://github.com/lookang/TagUI/blob/main/table/table.tag only works on the *.tag but not the live mode. output file is https://github.com/lookang/TagUI/blob/main/table/table.csv
- Question on why use tagui: My response is use whatever tool that make sense, tagui, python etc depending on your skill level and resourcing available to you
- Question on login and password: yes, tagui browser can remember all login id and password, go tagui live and key in manually, future instance of flows will inherit all the saved id and passwords
- Question on gmail scheduler: tagui click 3 elements to schedule , comment out what you dont want, and uncomment the last 3 lines
- Question on how to compare 2 excel files. Maybe need a different tool like visual code studio to compare, tagui may not do the job as well. Use the tool that has the strength in, don't use tagui to do tasks it is not strong in.
- Question on community: join https://web.telegram.org/z/#-1299183642 and search TagUI RPA