Opkey Web Recorder


Opkey Web Recorder is a recorder utility integrated with Opkey. It allows Opkey users to record their actions performed on a web application and create a Test script to automate the web application. 

 

Need of Web Recorder 

 

The traditional process of automating the web application involves the mentioned process to be followed: 
Adding the appropriate keyword in the Test Step.

 

Fetching the required objects and mapping them by using the Object Input Arguments (if required) 


Providing Data Input arguments to the test case (if required) 

 

The process is time-consuming and manual. Opkey Web Recorder facilitates capturing actions on a web application and automatically creates a test script. 

 

Working with Opkey Web Recorder in Opkey: 

 

Login to Opkey and select the Project to work on. 

Navigate to the Project workspace section and create a new Test case file. 

 

 

 

Go to the Toolbar section and click on the ‘Record’ icon which provides six options: Web Recorder, Mobile Recorder, Oracle Recorder, Desktop Recorder, Salesforce Recorder, and Workday Recorder 

 

 

Select Web Recorder to perform recording on a web application. 

The web recorder window will open. 

‍ 

Select Object Repository 


The Web recorder window asks you to select Object Repository. This step has two radio buttons with the following options: 

 

 

 

Choose Object Repository. Once this radio button is selected, the Object Repository tree will be automatically enabled. 


You can search for a Specific Folder or Object Repository file by typing its name in the Search box. 

 

 

 

You can search for a Specific Folder or Object Repository file by typing its name in the Search box. 

‍ 

Select Your Browser. The web recorder window asks the User to select the browser. This step has two radio buttons with the following options: 

 

Chrome Add On

 

This radio button is selected, by default along with the browser Chrome. The recording button will appear on the screen to record the steps.

‍ 

Smart Recorder 


Once this radio button is selected, the.Jnlp file starts getting downloaded on your machine. 

 

 

 

Note: If you are using the Web Recorder on a new machine where Smart Recorder is not installed, the 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. 

 

 

 

 

The option to select other browsers will be enabled. You may select any browser of your choice and start Recording. 

‍ 

  

Using Spy Mode of Recorder 

 

Spy, an advanced recorder feature, lets you inspect and retrieve the properties of a desired object. Useful if an object is missing during recording.  In Spy mode, hold the Alt key and hover the mouse over the object to fetch its details. 


Spied object properties are displayed in the recorder's bottom pane. In the images, the spied object, its image, and its properties are visible. Add the retrieved object directly to the step or Object Repository (OR). 

  

 

If you want to add it to the step then click on the Add Step icon by choosing action from the drop-down list. When you use the Add Step icon then this fetched object will be added within the current recording session only.  

 

You can also view the flow of live recordings here. 

 

 

 

 


Executing the Recorded Test Steps 


Once done, click on the Save and Close button. Your recorded steps will be saved in the test case. 

  

 

  

Save the Test steps with the Save button. Click the Run button to execute the test case.  

 

 

  

Enter details of Session Name, Build Name, Execution Agent, and Plugin on the pop-up window of Local Execution Wizard. Click on Finish.  

 

 

  

 The test steps get executed and its result can be seen in the Execution Result section.  

 

 

  

Now you have successfully created and executed a test case.  

For more Opkey features click Here.   

  

  

  

  

  

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article