1. Home
  2. OpKey Help
  3. 5. Working with Business Components
  4. 5.1 Overview

5.1 Overview

Overview 

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

  • Click on Create Tab by right-clicking on the Home Folder.


 

  • A pop-up window will get open.

  • The field marked with * is mandatory.  Enter the Name of the Business Component.
  • Also, Enter the description of the Business Component. Click on Create.

 

 

 

 

 

 

 

The field marked with * is mandatory.  Enter the Name of the Business Component.

Also, Enter the description of the Business Component.

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.

You will be navigated to the Modify Business Component window. You can see a blank flowchart with Start and End boxes.

Getting Familiar with the Business Component Icons

Step Details

While working with the Business Component in the OpKey Test Surge, you can view details of the selected Test Step within the Business Component module.

It includes the Step Information where you can read the brief summary of the Selected Test Step.

With the help of the Step Details window, you don’t need to open the Object Repository file for viewing object details. When you select any test step its corresponding details such as Object Arguments, Object Image, and Object Properties are displayed at the bottom of the screen under the Step Details section.

Object Arguments section displays the name of the object(s) mapped with the test step and the properties associated with the object are displayed under the Object Properties section. Object Image section displays the image of the object mapped with that particular step.

In the case of multiple objects associated with a test step, you need to select the object to view its corresponding image and object properties.

The object details shown under Step Details panel are in Read-Only mode.

The Step Details window also allows you to view Data Input Arguments involved in the Test Step including its Data Type, Name and Mapped Data.

Grid Option in Business Components

Clicking here allows you to view all the Test Steps in the form of Grid as shown

Let’s see what are the actions that can be performed on the Business Component File.

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 the Selected Business Component File and Select Copy Option.

 

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

  • 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.

 

  • A pop-up window will get open as

 

  • All the fields marked with * are mandatory. Enter the URL Name.
  • Click on the Select Project dropdown. The Dropdown will get auto-populated with all the existing Projects.
  • Select the appropriate Project.
  • Click on the Sync Icon.

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.

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

  • Click on the “Rename” Icon.

 

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-populated 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 the Business Component(s) is assigned in the Search Box [depending on the Type of View Selected]. To do so-

Let’s Say, you are looking for a specific Business Component

  • Once you start typing the name of the Business Component in the Search Box. The List of the Business Component(s) starts filtering accordingly in the Manage Business Component window.

 

  • You can also Type the Keywords related to the Name of the Business Component in the Search Box. Still, the Search will begin and the Business Component(s) will get filtered accordingly.

For Label View

  • In the Label View, a Business Component can be searched by either typing its name/Keyword or Selecting the Name of the Label to which the Business Component(s) is assigned to in the Search box.
  • To Search by Name of the Business Component, Go to the Search by Keyword Search Box and Type the Keyword/Name of the Business Component to be Searched.
  • Once you start typing the name of the Business Component in the Search Box. The List of the Business Component(s) starts filtering accordingly in the Manage Business Component window.

  • To Search for Business Component(s) assigned to a specific label, Go to the Search by Label Dropdown. The Dropdown will get auto-populated with all the Existing Labels.
  • Select the appropriate Label.
  • All the Business Component(s) assigned to that Label will get filtered accordingly in the Manage Business Component window.

  • Clicking on the Clear Search icon will clear the Text written in the Text Box.

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

Was this article helpful to you? Yes No