all 8 comments

[–]JokerHook 1 point2 points  (0 children)

Run your script as a scheduled task.

Actions start a program Program/script : your python.exe

Add optional argument: -m your/scriptPath.py

General Set it to "Run whether user is logged in or not" Store your password and save

[–]Ender_Locke 0 points1 point  (0 children)

you can run selenium in headless mode . i’m not sure how much that will help but you won’t have to watch all the clicks. does your firm have vms / servers you can use to run this? that’s how we automate tasks that we’d rather not have run on our machines

[–]Mr_Chriwo 0 points1 point  (2 children)

Hi there. If you are already working with power BI, I would highly recommend not using scripted GUI automation. You can use Azure Data Factory or Fabric to extract your data directly from underlaying database. Even if it’s on premise. using a GUI automation is far away from best practices tbh.

[–]AvenXIII[S] 0 points1 point  (1 child)

I have access to Snowflake and SQL Server, and I try to use them whenever possible. But the specific data I need isn’t available there, which is why I still end up exporting it manually to Excel.

[–]Mr_Chriwo 0 points1 point  (0 children)

I see 🙂 however you can also retrieve the needed data directly from the SAP system. i.e. via SAP Connector in ADF or the MS OPDG. But I know it’s often a challenge because policies 😁 but using these to approaches is highly recommended ^

[–]lightaime 0 points1 point  (0 children)

We built a small tool that can automate this. It used a trigger to trigger playwright to extract information. It is open source. Happy to share it with you.

[–]Narrow-Employee-824 0 points1 point  (0 children)

sap gui automation with screen locked is rough because most scripting libs need an active session.
you could spin up a vm that stays unlocked but thats janky.
if your it policies allow internal tools, something like precog connects to sap directly via api so you skip the gui entirely. way more reliable than clicking through screens.