Description Usage Arguments Value Author(s) See Also Examples
View source: R/qat_add_resultfile.R
For each check in the workflow it is possible to add one or more result files of the test. This will be saved into the XML result file under result\_file. This function adds a new resultfile.
1 | qat_add_resultfile(workflowlist, listelem, resultfile_text)
|
workflowlist |
A workflowlist like it will be created by qat\_config\_read\_workflow. |
listelem |
Number of check, where the resultfile should be added. |
resultfile_text |
Text of the resultfile. |
Give back the edited workflowlist.
Andre Duesterhus
1 2 3 4 5 6 7 8 9 | library("qat")
# read in workflow from systemfiles
filename_in <- system.file("extdata/workflowexample.xml", package="qat")
workflowlist <- qat_config_read_workflow(filename_in)
# add some more informations for the workflow
workflowlist <- qat_add_resultfile(workflowlist, 1, "filename.png")
filename_out <- "myworkflow_result.xml"
# write edited workflow in current directory
qat_config_write_workflow(workflowlist, output_filename=filename_out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.