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 script 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 Ctrl key and hover mouse over the desired object. User can also perform recording on Salesforce and Workday web applications along with Normal web recording.
Quick Start Screencast:
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 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 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 new test step, delete selected test step, move up/down desired test step.
- Pause and resume recording session as required.
- Stop 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, customize test script as per your scenario/requirement. If you have created 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 recording session has completed, you get your automatically created Test Case/Script. You can execute it directly or add to Suite and execute on 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 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 “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 few recorded actions on the web application along with their properties.
Using Spy Mode of OpKey Recorder:
- Spy mode of recording allow you to view object properties without fetching it. To do so, press 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 Sikuli keyword 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 Recorder Grid page opens.
- Provide Logical Name, select Sikuli Keyword and click on OK.
- The object will get added to the list of test steps.
- Once recording session has completed, switch to the Record mode and click on Stop & Save button.
- When you click on Stop & Save button, there is a popup message that “Are You Sure?“ This will save your all 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 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 execution result.