Keyword Test - Passing Name mapping array of objects
Hi Everyone,
We are trying to create a reusable function with the objective of the function taking dynamic number of Namemapping objects passed as parameter in a keyword test. Unfortunately, keyword test do not seem to support such an idea as far as we could observe. Any feedback on how to successfully pass an array of name mapping objects from keyword tests will be much appreciated.
Example function to be fed with name mapping objects:
function GenerateShareholderListReportName(nameMappingArrayOfObjects){
var reportNameArray = new Array();
for (i=0; i<nameMappingArrayOfObjects.length; i++){
reportNameArray.push(nameMappingArrayOfObjects[i])
}
var reportName = reportNameArray.join("; ");
return reportName;
}
Hi Sonya,
We are not passing any aliased or namemapped object from keyword test as did not find solution for that.
But will try to minimize usage of xpath as per advice given.