1. Home
  2. OpKey Help
  3. 5. Working with Business Components
  4. 5.31 Mapping the Test Step with Object Using Object Input Argument

5.31 Mapping the Test Step with Object Using Object Input Argument

In our Previous Section, you have learnt – How to Add Test Steps in an Business Component?

Once you have added the Test Steps in an Business Component

You can map the selected Test Step with an object from object repository file as per your Test scenario.

To do so, Select any Test Step from the Business Component Structure and Click on the Object Input Argument tab.

*The Object Input Argument tab will only get enabled when you have selected the Test Step.

Once the Object Input Argument Tab is being clicked, an Object Input Argument window will get opened at the right hand corner of the screen.

This window has an Object Repository Section at the bottom of the screen.

If you wish to select the Object from the Object Repository, then expand the Tree structure until the Object Repositories are displayed. You can select the object that has to be associated/mapped with that Test Step.

The selected Object will get added in the above grid.

If you wish to select the Object from the Object Output, then click on the Object Output icon.

An Object Output window will get open at the bottom of the screen where you can view the Output variable name with its Description.You can select the Output variable name that has to be associated/mapped with that Test Step.

You can store the output of a Test Step as Output variable and then use it as input for the other Test Step.

To know more Read: Parameterizing the Business Component using Data Input Arguments .

Similarly you can select Dynamic Object icon and provide dynamic Object as Input parameter.

To know more: Click here!

In case the selected Test Step does not require any object to be associated then a message “This Keyword does not need Object” would be displayed under Object Input Argument section.

Was this article helpful to you? Yes No