Difference between revisions of "LoadCSV Command"
From GXtest Wiki
Line 1: | Line 1: | ||
{{Idiomas|Comando LoadCSV |LoadCSV Command | LoadCSV コマンド}} | {{Idiomas|Comando LoadCSV |LoadCSV Command | LoadCSV コマンド}} | ||
[[category:GXtest Commands]] | [[category:GXtest Commands]] | ||
− | |||
− | |||
LoadCSV command is used to dinamycally load data from a CSV file to a datapool, during the execution of a testcase, so we can use the data contained inside the file as inputs of the testcase. | LoadCSV command is used to dinamycally load data from a CSV file to a datapool, during the execution of a testcase, so we can use the data contained inside the file as inputs of the testcase. |
Latest revision as of 20:05, 29 May 2015
LoadCSV command is used to dinamycally load data from a CSV file to a datapool, during the execution of a testcase, so we can use the data contained inside the file as inputs of the testcase.
Command parameters
- Target Datapool: the datapool where the data will be saved.
- Value: Path to the csv file that will be loaded.
Considerations
- It is assumed that the first row of the CSV file will contain the column names, so it will be omitted when the data is loaded. So, the first loaded row will be row 2.
- The datapool must have enough columns to hold all columns contained in the CSV file. For example, if the CSV file has 3 columns of data, the datapool must have at least 3 columns defined before loading the data.
- There is no need to match the column names between the CSV file and the datapool, no check is done regarding column names.