OpenBots Studio Demo: Mainframe Automation

Seeing a terminal instance, we have to start by receiving our credentials that we have stored within our server.

We do this by creating a login to the terminal which is called Herc01 and the password which is currently not visible. These credentials then get stored into two variables. The username being a string and the password being a secure string.

Upon creating our terminal session we provide information such as host, port, terminal type and we have a terminal emulator helper which you can use to test this information. If you go to settings you can use this to test the connections as you can see I was able to connect to this terminal and that demonstrates that it is working.

We have various terminal commands including a stored credential command as well as things like prompt for username, prompt for password. Which supply you with texts box that requests that you give a username or password which is then inputted into the terminal. Here we are storing the credentials we received from the server into the terminal session and then setting that username and password when necessary.

I am going to put a break point right here debug this, go create the terminal session. It has already inputted the username, sets the password and then closes the session. I put it here and then run again.

Here it is, inputted the username and the password. hit enter. Currently it is not able to log into the session because it is already logged in. Then well just close the session. I mentioned that in place of commands such as set username, you can use a prompt for username instead. Which will then ask you to provide a username, in this case herc01. and it will type it in for you and this is for various kinds of automation.

In addition to these native terminal commands we also have very similar blue zone terminal commands that utilize the rocket BlueZone API for automation. Many of these commands function the same way with the exception being the create BlueZone terminal session command. Which asks for a BlueZone session file path containing all of the metadata and information required to connect to the terminal.

openbots.ai/downloads/
Newsletter Bot

Lets stay in touch!

Join our weekly newsletter and follow us on social media.

Contact Sales
Call Our Experts!