Module

server/utils/ssotToRobotParsing/generateCodeBase

Methods

# inner collectApplications(elements) → {Array}

Collects the applications used by the robot
Parameters:
Name Type Description
elements Array All the elements from the SSoT

View Source server/utils/ssotToRobotParsing/generateCodeBase.js, line 20

All unique Applications that occur in the ssot
Array

# async inner generateCodeBase(ssot) → {string}

Generates that basic code that every robot has
Parameters:
Name Type Description
ssot Object Ssot that will be handled

View Source server/utils/ssotToRobotParsing/generateCodeBase.js, line 84

Basic code for the .robot file
string

# inner generateCodeForLibraryImports(elements) → {string}

Generates the Library Import Code of the .robot file
Parameters:
Name Type Description
elements Array All the elements from the SSoT

View Source server/utils/ssotToRobotParsing/generateCodeBase.js, line 40

Library Import Code that has to be put in .robot file
string

# async inner retrieveAttributes(ssot) → {Array}

Retrieve the associated parameter objects for all activities in the ssot
Parameters:
Name Type Description
ssot Object Ssot for which the parameters will be retrieved

View Source server/utils/ssotToRobotParsing/generateCodeBase.js, line 57

Array of attribute objects
Array