Executions using Spock

Opkey allows you to execute your test cases, reusable components, and test suites with the Opkey execution agent.  Additionally, Opkey also has a cloud-based execution agent named Spock. To use this agent, you just need to select the Agent Spock during execution in the Advanced Settings tab of the Run wizard and click the Run button. 

Prerequisites of using Opkey Spock Agent:


Supported OS: Microsoft Windows 7, 8.1, 10 & Mac

Supported Browsers (Windows systems): Latest versions of Chrome, Mozilla Firefox, and Edge

Supported Browsers (Mac systems): Latest versions of Chrome, Mozilla Firefox, and Safari

Java: Java 8, 9, 10 or 11

Note: For executions using Spock agent on a Windows device, Install the Opkey lite agent. If you don't have the Opkey lite agent installed, the Spock agent will download the Lite agent file for installation. You can click on the file and follow the steps to install the light agent.

Let's look into test execution with Spock agent


1. Open any Test Case and click on Run. 

2. Click Run on Browser, a new window opens. Select Local Run on this window and click next. 

3. On the Run Wizard page, add a name for your test run and select Spock Agent from the agent selection dropdown in the Advanced Run tab. 

4. Click Start Run to proceed.

If you are executing a test case using Spock for the first time and don't have the Opkey Lite/Playback agent installed, It will download the installation file of Spock agent and ask you to install it before proceeding. If you already have the Playback agent installed, then a pop-up appears to open the Opkey Teleporting Tunnel. Click Open OpkeyTeleportingTunnelLauncher. 


Opkey Teleporting Tunnel will launch and download all necessary libraries and utilities for test execution. Wait, and let it install those required files.


Once the downloads are complete, the test executions will automatically start. 

Execution using Spock Agent on Mac machine

1. Open any Test Case and click on Run. 

2. Click Run on Browser, a new window opens. Select Local Run on this window and click next. 

3. On the Run Wizard page, add a name for your test run and select Spock Agent from the agent selection dropdown in the Advanced Run tab. 


Choose plugins in Cloud Run for execution with Spock agent on Mac machines. Select the appropriate plugin to execute the test cases. 

 

4. Click Start Run to proceed.

If you are using Spock Agent for the first time and haven't installed the Opkey Lite/Playback Agent, the agent will download the Playback agent installation file. For this, it will give you two options to download the file as per the Chipset in your device. If your device has Mac Intel Chip, you can select that option and proceed. If your device has Apple Chip, you can select the respective option to download the agent installation file. 

You can find the chipset related information on the box of your device or on the back of your device. 


Once your file is downloaded you can double click to open it and proceed with installation of the Opkey Lite/Playback agent. The process is similar to installation in Windows devices. You only need to add your system password to proceed with installation process. You can follow the steps given on installation screen to complete installation.


5. If you already have the Opkey Lite/Playback agent installed or you have installed it after selecting Spock agent, a pop-up will appear asking you to open the Opkey Teleporting Tunnel launcher. Click on it. . 

Opkey Teleporting Tunnel will launch and download all necessary libraries and utilities for test execution. Wait, and let it install those required files.


Once the downloads are complete, the test executions will automatically start. 

 

Multi-plugin Support with Spock Agent

Opkey Spock Agent (cloud agent) now supports test execution on the locally hosted Opkey Web. 

Opkey Spock Agent supports multiple Opkey plugins. The list of Spock Agent supported plugins for Windows & Mac systems are given below:

Spock Agent supported plugins for Windows machine

Opkey Desktop

Oracle Fusion

Salesforce

Web

Utility

Visual

IE Plugin

Appium

Opkey OracleEBS

OpkeyMobility-Android

OpkeyMobility-iOS

PeopleSoft

Spock Agent supported plugins for Mac machine

Oracle Fusion

Salesforce

Selenium-JS

Workday

Utility

Workday



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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article