In our Previous Section, we have learnt How to Map a Test Case with Object using Object Input Arguments?
You can provide data to Business Component by using Data Input Arguments. All you need to do is –
Go to the Modify Business Component window and Select the Test Step for which you wish to provide data Value. Click on the Data Input Argument icon.
You can provide value by either of the following : Static , Data Input, Data Output, Global Variable.
To pass the static value-Go to the Provide Data Cell, enter the value(s) in the text box and click Save.
The static value will be displayed as shown:
If you wish to provide the Data through Data Input then select the Data Input radio button. The list of all Data Input Parameters will get displayed along with their Data Type and Description. Just click on the specific Data Input you wish to provide as Data. The selected Data Input will get passes as the Value.
You can store the output of a Test Step as Output variable and then use it as input for the other Test Step. To do so, Select the desired Test Step.
To use the output of one Test Step as an input/reference in another Test Step, select the Data Output radio button. It will get auto -populated with the list of all Data Output Parameters along with the Output Variable Name and Description.
Just click on the specific Data Output you wish to provide as Data.
The selected output variable will act as reference Data Input arguments for that particular Test Step.
The Test Step using keywords (like CustomizeObject) returns an object as output. The output of such Test Step can be used as reference ObjectInputArgument for another Test Step. [ As described above]
The Global Variables radio button allows the user to add Global variable value as Data Input Argument.
To pass the Global Variables value- Select the Global Variables radio button, it will get auto-populated with all the System Defined and User Defined existing Global Variables along with their Data Type and Value.