The following documentation contains test scripts
and expected results for validating the CDISC Builder
tool. Do the following to verify proper
installation:
- The following
instructions are accomplished through Windows Explorer.
-
Perform each test by performing the steps specified
by the instructions.
- Evaluate the results of each step by comparing
them with results described in the Documentation
column.
Instructions
1
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the findrel1.sas program and select
"Batch Submit".
-
Open
the generated findrel1.log in a text editor.
-
Verify
that there are following error messages.
ERROR: [findrel] is missing required parameter DATA.
ERROR: [findrel] has an invalid library specified by DATA.
Instructions
2
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Right
mouse click on the findrel2.sas program and select
"Batch Submit".
-
Open
the generated findrel2.log in a text editor.
-
Verify
that the following error message appears in the log file.
ERROR: [findrel] The dataset demog does not exist in the
library.
Instructions
3
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Open
the findrel3.sas program in a text editor.
-
Modified
the output path of the first %findrel statement to a wrong
path.
-
Modified
the output path of the second %findrel statement to a valid
path in your pc.
-
Save
and close the program.
-
Right
mouse click on the program and select "Batch
Submit".
-
Open
the generated findrel3.log in a text editor.
-
Verify
that the following error messages appear in the log file.
ERROR: [findrel] has an invalid path specified by OUTPUT: d:\invalid
ERROR: [findrel] The parameter OUTPUT without extension
.HTML
Instructions
4
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Open
the findrel4.sas program in a text editor.
-
Modified
the output path so it points to the current "saspgm"
directory in your pc.
-
Save
and close the program.
-
Right
mouse click on the program and select "Batch
Submit".
-
Verify
that an html file named findrel4.html is generated in the
current "saspgm" directory.
Instructions
5
The following
instructions are accomplished through Windows Explorer
-
Navigate
to the validation "saspgm" directory.
-
Open
the findrel5a.sas and findrel5b.sas program in a text
editor.
-
Replace
the output path in these files with the path of the current
"saspgm" directory in your pc.
-
Save
and close the programs.
-
Right
mouse click on the program findrel5a.sas and select
"Batch Submit".
-
Verify
that it generates the findrel5a.html in the current "saspgm"
directory.
-
Open
the findrel5a.html in Internet Explorer.
-
Verify
that there are two dataset listed in the html file.
-
Close
the current html file.
-
Right
mouse click on the program findrel5b.sas and select
"Batch Submit".
-
Verify
that it generates the findrel5b.html.
-
Open
the findrel5b.html in Internet Explorer.
-
Verify
that all datasets in the input library have been listed in
this file.
Instructions
6
The following instructions are accomplished through
Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Open
the findrel6a.sas and findrel6b.sas program in a text
editor.
-
Replace
the output path in these files with the path of the current
"saspgm" directory in your pc.
-
Save
and close the programs.
-
Right
mouse click on the findrel6a.sas program and select
"Batch Submit".
-
Open
the generated findrel6a.html in Internet Explorer.
-
Verify
that the macro found only one variable in the dataset co.
-
Right
mouse click on the findrel6b.sas program and select
"Batch Submit".
-
Open
the generated findrel6b.html in Internet Explorer.
-
Verify
that the macro found two variables in the dataset co which
matches the user's criterion.
Instructions
7
The following instructions are accomplished through
Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Replace
the output path by the current path of "saspgm"
directory.
-
Right
mouse click on the findrel7.sas program and select
"Batch Submit".
-
Verify
that there is no html file generated.
-
Open
the findrel7.log in a text editor.
-
Verify
that there is no error message.
Instructions
8
The following
instructions are accomplished through Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Modify
the libref "data" in the findrel8.sas program so
it references to an empty directory.
-
Right
mouse click on the program and select "Batch
Submit".
-
Open
the generated findrel8.log in a text editor.
-
Verify
that the following error message appears in the log file.
ERROR: [findrel] The library data has no datasets.
Instructions
9
The following instructions are accomplished through
Windows Explorer.
-
Navigate
to the validation "saspgm" directory.
-
Modify
the output path in the findrel9.sas program so it reflects
the current "saspgm" directory.
-
Right
mouse click on the program and select "Batch
Submit".
-
Verify
that it generates the findrel9.html and opens it up in
Internet Explorer.
-
Verify
that your current windows account name, the current date
and time, and the current "saspgm" path are
displayed at the bottom of the html file.
For more information, please contact MXI
.
|