Opkey Recorder for Chrome is a Chrome Extension used for recording flows from Salesforce, Workday and other web applications. It provides a quick and easy way of recording actions and creating automation test scripts of the supported applications. There are three recording modes as Normal Recording, Salesforce Recording and Workday Recording. Spy mode of recording allows you to observe page hierarchy, object property before using it and then add them to OR or Test Step. While fetching objects in Spy mode, keep holding the Ctrl key and hover mouse over the desired object. Users can also perform recording on Salesforce and Workday web applications along with Normal web recording.
By using Opkey Recorder for Chrome, you will be able to –
- Create a test script (test case or function library) quickly and automate any web application (Salesforce, Workday and others).
- Create an Object Repository file along with the test case or function library.
- Record entire actions performed on the web application during the recording session.
- Switch from Record mode to Spy mode and vice versa.
- View page hierarchy, object property etc. using Spy mode of recorder.
- Insert desired action to the spied object and add it as a test step.
- Add spied object to the Object Repository.
- View recorded action, object and data.
- Record actions performed on Salesforce application and create a test script by switching Salesforce mode of recorder.
- Record actions performed on Workday application and create test script by switching Workday mode of recorder.
- Add a new test step, delete selected test step, move up/down desired test step.
- Pause and resume recording session as required.
- Stop the recording session and save recorded actions along with objects.
Once your test script has been created through recording, you are redirected to the corresponding Opkey Web where you can view Test Case, its recorded steps, and customize test script as per your scenario/requirement. If you have created a Function Library then you can call it to Test Case and Test Case to Suite and Suite can be executed on different supported platforms (Local, Cloud, Mobile, pCloudy, BrowserStack etc.) as well.
This Opkey Recorder for Chrome successfully records all actions performed on the application, fetch object properties and add the recorded action to the test step along with corresponding Opkey Keywords. Once the recording session has completed, you get your automatically created Test Case/Script. You can execute it directly or add to Suite and execute on the desired platform.
Getting ready to work with Opkey Recorder:
In order to integrate Opkey Recorder for Chrome with your Chrome Browser, you first need to integrate Chrome Addon with your Chrome browser.
Open Chrome Web Store and search for the Opkey Recorder keyword.
The following search result page opens. Click on Add to Chrome button to integrate Opkey Recorder (Chrome Addon) extension to the Chrome Browser.
- Click on Add extension button to proceed.
- Now, the Opkey Recorder (Chrome Addon) extension has been integrated into the Chrome Browser successfully and you can start working on it.
- Click on the Opkey Recorder extension button to launch it. Opkey Recorder page opens. Enter your Opkey Web domain name and valid login credentials and click on Login.
Getting started with Opkey Recorder:
- Let us see how to record actions from a web application using Normal Recording mode.
Step 1: After successful login, you come to the page from where you can start the recording session. Here, you need to select your project, select artifact, enter artifact name, application URL and then click on Start Recording button.
- Select your Project from the dropdown list.
- Select the type of artifact (Test case or Function Library) you want to create.
- Enter artifact name & application URL on which you want to start recording session.
- If you want to work on an existing Test Case or Function Library then check the “Record on existing Test Case/Function Library” checkbox. You will be redirected to the Artifact page from where you can select your desired artifact and start working.
- Your Test Case or Function Library and Object Repository will be created under “Default_Opkey_Location” folder in Project Workspace.
- Click on Start Recording to begin your recording session.
- Opkey Chrome Recorder page opens along with the Web application on Chrome Browser.
- Here, you can view three recording modes: Normal Recording, Salesforce Recording and Workday Recording.
- Now, you can view a few recorded actions on the web application along with their properties.
Using Spy Mode of Opkey Recorder:
- Spy mode of recordingwill allow you to view object properties without fetching it. To do so, press the Ctrl button and hover mouse on the object. Here, you can view object properties.
- You can use Capture image to create a new object feature to capture desired image, create an object and set respective Visual keywords for action.
- Click on Capture image to create a new object button, Opkey Smart Image Snipper page opens. There are few buttons like crop, rotate image left & right, undo, redo, abort and add image to Opkey. You can use these buttons.
- Here, you can view how to use the crop button to crop the image.
- For Example: here we are cropping Company image as an object.
- Click on add image to Opkey button. Add Image in the Recorder Grid page.
- Provide Logical Name, select Visual Keyword and click on OK.
- The object will get added to the list of test steps.
- Once the recording session has completed, switch to the Record mode and click on the Stop & Save button.
- When you click on the Stop & Save button, there is a popup message that “Are You Sure?“ This will save all your recorded steps”. Click on Yes.
- Further another popup appears saying that Confirmation Required. Do you want to continue using Addon.
- If you want to continue the recording session using Chrome Addon then click Yes. If you want to close the recording session then click No.
- Your Test script has been created successfully. Here, you can view the Test Case (here TC01).
- Further, you are redirected to the corresponding Opkey Web Domain to look at the newly created Test Case or Function Library. From here, you can execute it and analyze the execution result.