OpKey Execution Agent is a Functional Test Execution Engine which provides a GUI-based execution environment on the web. It follows the Open Test Architecture design by supporting the execution with any new plug-in. OpKey Execution Agent is necessary for executing Tests on desktop and web using OpKey. So, make sure that it is installed on your machine with the required configurations and is working properly.
Now, OpKey Execution Agent is also available as a standalone installer. It can be used for Test Execution on both OpKey Desktop and OpKey Web. The main objective of developing this standalone OpKey Execution Agent installer is to run the execution on OpKey Web by using this Execution Agent. In fact, both Execution Agents (standalone OpKey Execution Agent & OpKey Execution Agent installed with OpKey desktop package installer) are the same.
For more details about downloading and installing OpKey Execution Agent, you can refer: Downloading & Installing OpKey Execution Agent
You can download OpKey Execution Agent from the Download Center given on the OpKey Web dashboard page as shown below:
- Agent Information page opens. Here, you can view your Domain Name, Username, Agent Version, Agent Authentication Code along with Download Agent Link.
- Click on the Download Agent link to download the OpKey Execution Agent.
- Initiate installation of OpKey Agent on your machine. While installing OpKey Agent in Web mode, you need to enter the Agent Authentication code and then proceed the Agent installation.
Auto-configuration of OpKey Agent:
Now, there is an Authentication code (a unique alphanumeric) available on the Download Agent page under Download Center. This Authentication code is required during the installation of OpKey Execution Agent in Web Mode (by default), you will need to enter this Agent Authentication code to the specified text field and click on Finish. Once the installation has finished successfully, a shortcut icon of OpKey Agent is created on the desktop. Double click this shortcut icon to launch the OpKey Agent. Here, you can view that your OpKey Agent is configured successfully in Web Mode, and you are logged in. Thus, you need not configure the OpKey Agent manually.
For detailed information on downloading & installing OpKey Execution Agent, please refer: Downloading & Installing OpKey Execution Agent
Once, OpKey Execution Agent gets installed on your machine successfully, an icon is shown on the desktop.
When you launch it, the Agent Dashboard page opens as shown below. The agent dashboard page contains information about the Settings, Configurations & Plugin License of OpKey Agent.
Getting familiar with Menus of OpKey Execution Agent:
File: File menu contains two options: Relaunch & Exit.
Relaunch is used to launch Execution Agent to apply any newly made changes whereas Exit is used to close the Execution Agent.
Tools: Tools menu contains two options: Agent Log and Plugin Settings.
Agent Log option shows execution logs as shown below:
Plugin Settings option displays a list of all OpKey Plugins along with description and settings as shown below.
Plugin Settings help you to execute Plugin specific Test by using the respective plugin drivers.
For example, if you want to execute your test on Google Chrome by using Selenium WebDriver then you need to locate Chrome Driver of Selenium to your local system and then set its path.
To do so, go to the Value column and set path of ChromeDriverPath of Selenium WebDriver section, as shown below:
Mobile: Mobile menu opens a Mobile tab which includes information (OS, Device Name, Serial Number, Manufacturer, Build Model, Version, IP Address, Duration & Status) about the connected mobile device and Device Logs.
Help: Help menu includes two options: Go To Help (F1) and About OpKey Agent.
Click on Go To Help or press F1 key to go to the Online Help of OpKey Execution Agent.
Click on About OpKey Agent to view its version and check for available updates as well.
The configuration of the Execution Agent is required for Test Execution on OpKey Web & Desktop both. At a time, you can configure the OpKey Execution Agent either for OpKey Desktop or OpKey Web.
There are four default plugins which get installed automatically with the OpKey Agent & they are OpKey-IE, OpKey Desktop, Web & Utility Plugin with 30 days of trail period. You can also extend and avail license by contacting to OpKey Support team.
Silent Installer Procedure
“OpKeyAgent.exe” /s –
This command helps get the agent installed in the default location for the current user. The command silently installs the agent without displaying any notification on the UI.
“OpKeyAgent.exe” /s ALLUSERS=TRUE
This command installs the agent for all users of Windows. This helps get the agent installed in the default location of the system.
“OpKeyAgent.exe” /s TARGETDIR=“D:\Folder”’
This command helps to install the Agent on the specified target folder of the current user. This will not install in the by default location.
“OpKeyAgent.exe” /s TARGETDIR=“D:\Folder” ALLUSERS=TRUE
This command helps install the agent for all users in the specified target folder.
This command helps install the plugin on the default location silently for the current user without displaying any notification on the UI.
“Plugin.exe” /s ALLUSERS=TRUE
This command installs the plugin for all users of Windows. This helps get the plugin installed in the default location of the system of all the users.
“Plugin.exe” /s TARGETDIR=”D:\Folder”
This command helps install plugin for the current user in the specified target folder and not on the default folder.
“Plugin.exe” /s TARGETDIR=”D:\Folder” ALLUSERS=TRUE
This command helps install the plugin for all the users on Windows on the specified target folder.