Opkey Mainframe Recorder is a Recorder utility which helps you in the automation of a Mainframe application. This Mainframe Recorder allows you to record all actions performed on the mainframe and create a Test Case or Function Library in an effortless manner. The created Test case or Function Library can be further customized as per the requirement.
Need of Opkey Mainframe Recorder:
Automation of Mainframe applications is a challenging task as these applications behave in a different way. Here, we are discussing about the Mainframe Rumba Display. Rumba display provides a console platform where you can perform tasks, connect/disconnect with the server, and do more.The existing recorder utilities are not capable of recording actions performed on the Rumba Mainframe Display.
The Opkey’s Mainframe Recorder is now capable of recording actions from mainframe applications and create a test case.
It comes with the Opkey Smart Recorder package. For installing Opkey Mainframe Recorder, please refer to Installing Opkey Smart Recorder. Once, it has installed on your machine, its icon is showing on the desktop as shown below:
Opkey Smart Recorder is a complete recorder package which works as a Web, Mobile, Desktop Recorder as well as Mainframe Recorder. You need to choose the mode (Selected or Any) on which you want to perform the recording.
Getting started with Opkey Mainframe Recorder:
To start recording on the Mainframe application (like Rumba) by using Opkey Mainframe Recorder, you need to follow the below given steps:
Recording Test Steps through Mainframe Application Recorder:
- Create a Test Case/Function Library.
- Click on the Record button and then Mainframe Recorder as shown below.
- There are two options for creating Object Repository (collection of objects to be fetched): Default Object Repository and Choose Object Repository. You can select any one of them and start the recording session.
- If you select the Default Object Repository option then an OR file will be created in the default folder which will contain all the fetched objects.
- JNLP file of Mainframe Recorder is getting downloaded.
- Save the downloaded JNLP file and launch it to launch the Mainframe Recorder.
Note: If you are using the Mainframe Recorder on a new machine where the Mainframe Recorder is not installed, JNLP file gets downloaded. You need to save the downloaded JNLP file and launch it and further you will be redirected to install it first and then launch it to start recording.
- If the Mainframe Recorder is already installed on your system then you need to click on the Open Start to launch the Mainframe Recorder.
- If you select the Choose Object Repository option then a tree of existing OR files will be displayed. You can select any OR file or create a new OR file.
- Click on Start Recording to begin the recording process.
(A) Selected Application mode:
In this mode, you can perform the recording process on a selected application. Provide full path (without Quotation marks) of the .exe file of the application to be recorded. (Here, Rumba application). Paste the Rumba mainframe Application location path (without Quotation marks) at the specified location.
- Mainframe Recorder and the Mainframe Rumba Application Window opens. Start working on the Mainframe (like Rumba) Application.
- You can see that your actions being performed on the application are being recorded here.
- You can switch to the Spy mode of recording. In Spy mode, you need to click and place your cursor where you want to hover mouse. After that, hold the pressed Alt button and hover mouse on the desired object. Once its properties are fetched, click the left Ctrl button and select the relevant action keyword from the dropdown list and add it. You can add it as a Test Step or add only objects.
Once, Spy mode of recording session is finished, go back to the Record mode. When the recording process gets completed, click on the Save & Close button to save the recorded objects and close the recording session.
- Let us have a look at the recorded Test Steps to the Test case.
- Now, you can execute this Test Case by using the Mainframe Plugin, and analyze the execution result.