Product Documentation
Virtuoso ADE Verifier SKILL Reference
Product Version IC23.1, November 2023

verifExportReqsToFile

verifExportReqsToFile(
g_sessionId
t_fileName
[ ?fileType t_fileType ]
[ ?fields t_fields ]
)
=> t / nil

Description

Exports the requirements to either an Excel or CSV file. It can also export the results to an imported file.

Arguments

g_sessionId

Integer, string number, or window specifying the Verifier session ID. For example, 0, "0", or window(2).

t_fileName

The name of the file to export to.

?fileType t_filetype

A case insensitive string from: CSV, Excel, or Imported. The default is "CSV".

?fields t_fields

The list of requirement fields to be exported. These fields can contain the following case-insensitive names, listed in the default sequence: Overall Status, Mapping, History, Min Value, Max Value, Result Data Age, Passed, Failed, Not Run, Disabled. The requirement is always exported by default and cannot be disabled.

Value Returned

t

Successfully exported the requirements.

nil

Failed to export the requirements.

Examples

The following example shows how to use this function to export requirements:

sess = verifOpenCellView("test" "sample" "verifier")
=> 1
verifExportReqsToFile(sess "reqs.csv")
=> t
verifExportReqsToFile(sess "reqs.xlsx" ?fileType "Excel")
=> t
verifExportReqsToFile(sess "reqs2.csv" ?fields "Overall Status,Mapping,Unmapped")
=> t

Related Topics

verifCompareImportedFiles

verifExportJson

verifGetImportedFiles

verifImportFile

verifMergeImportedFiles


Return to top
 ⠀
X