Working on a Job File and Performing Actions on it
Go to OpKey Test Surge Dashboard > Click on Jobs.

A Manage Jobs window will get open.

The Manage Jobs Window displays the list of all Existing Job(s). This List of Job(s) can be in either of the two views. One is the Grid View and the Other is the Label View.
Now, let us learn how to create a Job in OpKey Test Surge.
Creating a Job
A Job File can be created in either of the two views.
For Grid View
To add a new Job

OR
Select a Label and Right Click on It. Now, select Create Job.

OR
Select a Label and click on the Create Job icon.


For Label View
Go to the Label view, by clicking on the Grid View Tab.

The Existing Job(s) will get displayed in Label view. To add a new Job, Click on Create.

A pop-up window will get open.

The field marked with * is mandatory. Enter the Name of the Job.
Also, Enter the description of the Job.
Click on the Labels Dropdown. The dropdown of Labels is auto-populated with all the pre-built Labels. You may select the Labels from it.
Click on Create.



Getting Familiar with the Job Icons



Let’s see what are the actions that can be performed on the Job File.
Create Copy
You can create a duplicate file for the Selected Job. To do so-
For Grid View

OR
Right Click on the Selected Job File and Select Create Copy Option.

OR
Click on the Create Copy icon.

For Label View

Sync
You can Synchronize the Data of the Selected Job(s) of one Project with another. To do so-
For Grid View
Case 1:Selecting a Job for Synchronization

OR
Right Click on the Selected Job File and Select Sync Option.

OR
Click on the Sync icon.

Case 2:Selecting a Label for Synchronization

OR
Right Click on the Selected Label and Select Sync Option.

OR
Select the appropriate Label and click on the Sync icon.

For Label View


In this way, the data from one Project can be Synchronized with the Data of another Project for the selected job(s).
Export
You can Export the Selected Job(s) to a win.rar Zip File. To do so-
For Grid View
Case 1:To Export a Selected Job File

OR
Right Click on the Selected Job File and Select Export Option.

OR
Click on the Export icon.

Case 2:To Export a Selected Label

OR
Right Click on the Selected Label and Select Export Option.

OR
Select the appropriate Label and click on the Export icon.

For Label View


In this way, you can Export the Selected Job(s) in the OpKey Test Surge.
Open in New Tab
You can Select a Job and then Open it in New Tab. To do so-
For Grid View
Select the Job, which you wish to Open in New Tab. Here, “Modify: Daily Suite”.

OR
Right Click on the Selected Job and Select Open in New Tab Option.

For Label View

The selected Job will get Open in a New Tab in “Modify: Jobs ” window.

In this way, you can open the Selected Job in a New Tab in OpKey Test Surge.
Delete
You can Select a Job and then Delete it. To do so-
For Grid View
Select the Job, which you wish to Delete. Here, “Modify: Daily Suite”.

OR
Right Click on the Selected Job and Select Delete Option.

For Label View

A pop-up window will get open as

Click OK.
The Selected Job will get Deleted and the Message “Artifact Deleted Successfully” will get displayed.
In this way, you can successfully delete a Job in OpKey Test Surge.
Rename
You can Select a Job and then Modify its name. To do so-
For Grid View
Select the Job, which you wish to Rename. Here, “Modify Daily Suite”.

OR
Right Click on the Selected Job and Select Rename Option.

For Label View

A pop-up window will get open as

Click OK.
The Name and Description field will be editable and auto-filled with the Existing Jobs Details. You can Modify the Name and Description of the Job as per the requirements.
Click on the Label dropdown. It will get auto-populated with all the Existing Labels in the Project. Select the appropriate Label to which the Job has to be assigned.

Click Update.
The Job will get Updated Successfully, and a message “Job Updated Successfully” will be displayed on the screen.
In this way, you can successfully Rename a Job in OpKey Test Surge.
Search
You can Search for a specific Job(s) by it’s Name or the Name of the Label to which the Job(s) is assigned in the Search Box [depending on the Type of View Selected]. To do so-
For Grid View
Let’s Say, you are looking for a specific Job –“Modify: Daily Suite”.

For Label View



In this way, you can successfully search for a specific Job (s) in the OpKey Test Surge.
Execute Job
You can Select a Job and then Execute it. To do so-
For Grid View
Select the Job, which you wish to Execute. Here, “Modify: Daily Suite”.

OR
Right Click on the Selected Job and Select Execute Job Option.

For Label View

A Local Execution Wizard window will get open as

Enter all the Relevant Details.
Click Finish.
In this way, you can successfully Execute a Job in OpKey Test Surge.
Execute Job With Tag Version
You can Select a Job and then Execute it with Tag Version. To do so-
For Grid View
Select the Job, which you wish to Execute with Tag Version. Here, “Modify: Daily Suite”.

OR
Right Click on the Selected Job and Select Execute Job with Tag Version Option.

For Label View

A pop-up window will get open as

Click on the Tag Keys dropdown. It will get auto-populated with all the Existing Tag Keys in the Project. Select the appropriate Tag Key to which the Job has to be Executed.

Click Ok.
A Local Execution Wizard window will get open as

Enter all the Relevant Details.
Read: How to Execute a Job?
Click Finish.
In this way, you can successfully Execute a Job with its Tag Version in OpKey Test Surge.
Schedule Job/Job Scheduler
OpKey manages Job execution from a single place by facilitating distributed execution. The overall execution time can be reduced by distributing the run on different machines.
A separate utility named Scheduler allows Job execution management from a single place.
Job execution can also be scheduled later for the night to maximize team productivity.
You can Select a Job and then Schedule it. To do so-
Case 1: For Grid View & Label View
For Grid View
Select the Job, which you wish to Schedule. Here, “Modify: Daily Suite”.

OR
Right Click on the Selected Job and Select Schedule Job Option.

For Label View

A Schedule Job window will get open as

Case 2: For Dashboard
Go to Dashboard > Jobs > Job Scheduler.

The Job Scheduler window will get open and a Calendar will be displayed having the time slots mentioned within a gap for one hour. You can also adjust the calendar for Next Week and even after depending on the requirements for the schedule.

To schedule a Job on the specific Date and Time, Click on the appropriate calendar cell. The Schedule Job window will get open as follows-

The Right-hand side of the window will initially be disabled. Select a Job to enable it.

The Fields marked with * are mandatory. The Session Name, Build Name, Plugins used, Execution Time, Time Zone, and Generic Plugin fields are auto-filled with the Existing Jobs Details.
However, these fields are editable and can be modified as per the requirements.
Click on the agent dropdown. It will get auto-populated with all the Existing agents. The agents which are online are accompanied by a Green color radio button. The agents which are offline are accompanied by a Red color radio button.
Select the appropriate Online agent. In case you have selected an offline Agent, still, the Job can be scheduled, for the future.
** It is mandatory for the OpKey Hub to be Online for the Scheduled Session(s) to get Executed.
Click on the icon Next to the Schedule Button for the Execution Advanced Settings.

You can adjust the
Take Snapshot of: The Steps for which you wish to take snapshots like All Steps, Failed Steps, No Steps.
Snapshot Quality: The Quality of Snapshots required like Low, High or Medium.
Step TimeOut: The Step Timeout can be adjusted from 5 – 300 Sec.
Mail Report: The Type of Reports that has to be mailed like Integrated, Outline, Detailed, Summary, Failed or none.
You may Check/Uncheck the
Skip Empty Data Steps: By using this feature, you can skip the execution of test steps having blank mandatory data arguments.
Randomize Input Default Value :
Select Run Time Global Variable Tab to make changes in the Value of the Global Variable at Runtime.

Click Ok to save the Settings for the Execution.
Click Schedule.
The Job will get Scheduled to be executed on the specific time defined and the highlighted message will get displayed on the screen.

The Scheduled Jobs will get Displayed in the Calendar as :

Go to Tools > Schedule Sessions to View the Scheduled Jobs.
In this way, you can successfully Schedule a Job in OpKey Test Surge.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article