OAC Automatic Snapshots using Selenium
For automating the manual task of taking snapshots every day I used selenium IDE. You can find all the details and code in my Gitlab.
Special thanks to Léopold Gault and Nelson Vieira.
How to create automatic snapshots in OAC?
I installed the chrome extension Selenium IDE and performed all steps that I needed to create a snapshot in OAC. Selenium generates a file (.side) that contains all those steps but is not the best option if we want to automate the process.
So, I used the export option and exported all the steps for JavaScript Mocha file (There are other options like Python, Java, C# or Ruby).
In the code that you can find in my Gitlab, you only need to replace the OAC instance, your email and password. It was tested in 4 different OAC instances.
Disclaimer
The main goal is to help OAC users to create snapshots automatically. If you find errors, I can try to solve them but depending on my available time. It’s not an Oracle solution and I’m not responsible from the wrong use of the code.
Documentation
OAC Snapshots — https://docs.oracle.com/en/cloud/paas/analytics-cloud/acabi/snapshots.html#GUID-F927C179-C787-4305-9F3D-7D7BC3F5524D