Business Component refers to the repository of reusable executable functions libraries 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(SR), pre-built test components. Once you have created any business component, it can be easily modified and reused repetitively.
Working on a Business Component File and Performing Actions on it
1. Go to Opkey Test Surge Dashboard
2. Click on Business Component.
3. A business component window opens.
The business component window displays the list of all existing business components. Now, let us learn how to create a Business Component in the Opkey Surge.
Creating a Business Component File
To add a new Business Component
1. Click on Create Business Component Tab by right-clicking on a folder. You can also do so by selecting the “+” button on the toolbar given above.
2. A pop-up window opens.
2. Enter the Name and Description of the business component.
3. 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.
4. Click on Create.
5. You will be navigated to the Automated Business Component window. You can see a blank flowchart with Start and End boxes.
6. Right click on the business component file and you will get some options to perform actions of business components. Let's go through them one by one.
Create a Copy
You can create a duplicate file for the selected business component. To do so-
Select the appropriate business component file.
Right click on it and select Copy option.
next, 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 of one Project with another. To do so-
Case 1:Selecting a Business Component for Synchronization
Select the appropriate Business Component file in Business Component window.
Right, click on the selected business component file and Select Sync Option.
Click on the Sync icon.
You can also perform the Syncing action by clicking on the 4th button placed above the search bar. Please refer to the image below.
All the fields marked with * are mandatory. Enter the URL name.
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
Select the appropriate Business Component file in the Business Component window. Click on Export Tab.
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 open as shown.
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
Click on the “Rename” Icon.
A pop-up window will get open as
Click OK.