What is a Business Component?
Business Component refers to the repository of reusable executable functions that can be used across different Business Processes
. It is considered to be the smallest artifact unit of the OpKey Test Surge.
These Business Components can be composed of various Keywords, Service Repository, Pre-built Business Components.
Once you have created any Business Component, it can be easily modified and reused
repetitively.
For example:
Let’s Suppose you are an Admin of an Enterprise Application say, Workday. Your requirement is to add a new user
having valid login credentials.
Here, you can create a Business Component for adding a new user.
Working on a Business Component File and Performing Actions on it
Go to
OpKey Test Surge Dashboard
> Click on
Business Component.

A Manage Business Component window will get open.

The Manage Business Component Window displays the list of all Existing Business Component(s). This List of Business Component(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 Business Component in the OpKey Test Surge.
Creating a Business Component File
To add a new Business Component


You will be navigated to the Modify Business Component window. You can see a blank flowchart with
Start and End boxes.
Let’s see what are actions can be performed on the Business Component File.
Create a Copy
You can create a duplicate file for the SelectedBusiness Component. To do so-

Click on the Create Copy icon. A Duplicate file will be created for the selected Business Component.
Sync
You can Synchronize the Data of the Selected Business Component(s) of one Project with another. To do so-
Case 1:Selecting a Business Component for Synchronization

You can also perform the Syncing action by clicking on the 4th button placed above the search bar. Please refer to the image below.


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

Right, Click on the Selected Business Component File and Select Export Option. You can also export the selected artifact by clicking on the last button placed above the Search Bar. Please refer to the image below.

A Pop-Up is displayed when the Export is successfully done.

In this way, you can Export the Selected Business Component(s) in OpKey Test Surge.
Delete
You can Select a Business Component and then Delete it. To do so-
Select the Business Component, which you wish to Delete.
Right Click on the Selected Business Component and Select Delete Option.

A pop up window will get open as

Click OK. The Selected Business Component will get Deleted and the Message “Artifact Deleted Successfully” will get displayed. In this way, you can successfully delete a Business Component in OpKey Test Surge.
Rename
You can Select a Business Component and then Modify it’s name. To do so-
Select the Business Component, which you wish to Rename.
Right Click on the Selected Business Component

A pop-up window will get open as

Click OK.
The Name and Description field will be editable and auto-filled with the Existing Business Component Details. You can Modify the Name and its Description of the Business Component as per the requirements. Click on the Label dropdown. It will get auto-populate with all the Existing Labels in the Project. Select the appropriate Label to which the Business Component has to be assigned. Click Update. The Business Component will get Updated Successfully, and a message “Business Component Updated Successfully” will be displayed on the screen. In this way, you can successfully Rename a Business Component in OpKey Surge.
Search
You can Search for a specific Business Component(s) by it’s name or the Name of the Label to which theBusiness Component(s) is assigned in the Search Box [depending on the Type of ViewSelected]. To do so-
Let’s Say, you are looking for a specific Business Component –

In this way, you can successfully search for a specific Business Component(s) in the OpKey Surge.