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. You just need to select the Agent Spock during execution in the Advanced Settings tab of the Run wizard and click the Run button. 


Let's look into test execution with Spock agent

 If you are executing a test case using Spock for the first time, Opkey Teleporting Tunnel jar file gets downloaded. A popup message appears that Please Wait for OpkeyTeleportingTunnel...



And OpkeyTeleportingTunnel jar file is downloading.


Once, it gets downloaded successfully, keep it and launch to establish a secure connection between the server & your local machine for test execution.



Opkey Teleporting Tunnel downloads some important files. Let it install those required files.


In case Opkey Teleporting Tunnel jar file is already downloaded then you need to click on "Open OpkeyTeleportingTunnelLauncher" tab to launch OpkeyTeleportingTunnel.


You can mark Always open these types of links in the associated app checkbox which will launch the OpkeyTeleporting Tunnel automatically.

Here, you can have a look at the execution logs.

You can select any, browser (Chrome, Firefox or IE) from the Browser option. When the test execution is triggered, the execution will be performed on the chosen cloud agent but the live execution on the browser will be performed on your system. 

Prerequisites of Opkey Spock Agent:


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

Supported Browsers (Windows systems): Latest versions of Chrome, Mozilla Firefox or IE

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

Java: Java 8, 9, 10 or 11

Execution using Spock Agent on Mac machine

Opkey Spock Agent also allows test execution on Mac machines. Here, you need to apply the required Security and Privacy Settings so that the Opkey Teleporting Tunnel jar file can be downloaded, saved and then used to establish a secure connection between server & your local machine for test execution.Let us execute a test using Spock Agent -

Open a Test Case. Click on Run. Select Spock Agent.

Click Start Run to proceed.

If you are using Spock Agent for the first time, the Opkey Teleporting Tunnel jar file gets downloaded. A popup message appears.

Save this file.

  •     OpkeyTeleportingTunnel jar file is downloading.

Once, it gets downloaded successfully, launch it to establish a secure connection between the server & your local machine for test execution.

A security popup message appears as shown below. Click OK.

Now, you need to configure the required Security and Privacy Settings.

Apply the required settings as shown below:

Click Open to open the downloaded Opkey Teleporting Tunnel Utility.

Opkey Teleporting Tunnel updating utility.

Opkey Teleporting Tunnel updating libs of utility.

Your test execution takes a while. Once it gets completed, you can view complete logs and execution result.

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

Multiplugin Support with Spock Agent

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

Feedback sent

We appreciate your effort and will try to fix the article