Which of these datefiles are used to write a value to a text file
-
ReportFile
-
SortIndexFile
-
Initialization File
-
File Viewer
ReportFile is designed for generating output reports to text files. SortIndexFile can write sorted or indexed data to text files. Initialization Files are typically read-only configuration files. File Viewers are for reading and viewing files, not writing output.
ReportFile and SortIndexFile are marked correct as the datafile types used to write output values to a text file, while Initialization File (used for setup/config values read at start) and File Viewer (a display/inspection tool, not a writable output file) are not. This terminology maps to test-automation datapool/datafile concepts (e.g., in legacy test tools) where report and sort/index files are the ones the tool actually writes results/output to, whereas init files and viewers are input/display-only. The question and options are stated too tersely to be fully certain of the exact tool/framework being referenced.