I’m new to UIPath Forum, In my Project we are maintaining Test data in Excel sheet. so to read that excel sheets we are creating a libraries and getting the data in Data Table but we are not aware how to Use that DataTable in my Test script as they are in Sequence or Flow Chart. We are able to publish the libraries and able to call the libraries in Process side but they are not returning the data… Someone please help me in this.? or please provide other options which includes library
Sure… we have our Test data present in the Excel Sheets… as like every Test framework we planned to have a Common function library which can used to return data and perform any functional operations etc… So we are able to Create one Sequence in function Library which reads the excel and gives the Data table…but when comes back from library to process type… we able to publish the library and able to call that activity but how can we get the activity returned data table and using that data table in Test case or datatable values passing as a Test data to methods.
When you add this package you can find below shown activity, Please specify your excel path in in_ExcelPath , and you can create a data table variable and map it to out_DataTable. This will return the data table.
Out argument is used when you are returning some value,
In/Out argument is used when you are receiving some input as well as returning some value.
In this case it shouldn’t be in/out because both input and output data types are different.
Hope this solves your Doubt.