The following documentation contains test scripts
and expected results for validating the CDISC Builder
Proc Cdisc tool. Do the following to verify proper
installation:
- Start CDISC Builder application by double
clicking on the desktop icon.
-
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.
| Script
|
Description
|
Documentation
|
| Source Data |
Type invalid path
Navigate to location with no SAS
datasets
Path name that is longer than 200
characters
Use [...] path navigation
|
Instructions
1
|
| Data Sets |
List of datasets match what is in
the selected path
Verify preview button with a separate
PROC PRINT
|
Instructions
2
|
| Output File |
Verify invalid dataset name with
special characters and spaces.
Verify a valid output dataset and
perform a PROC PRINT to review results.
|
Instructions
3
|
| OK/Cancel |
OK button applies all selected parameters
and submit the PROC CDISC code according
to parameters selected.
Memory of all fields is retained.
Cancel does not apply logic.
|
Instructions 4
|
| Save Code |
Program is saved with proper options
selected.
Submit the saved program and verify
results
|
Instructions 5
|
| Options |
Verify that all libanmes are included
in the pull down menus through a comparison
with SASHELP.VSLIB.
Verify that if a new dataset name
is entered that the Edit button would
create a new dataset with proper attributes.
Verify that if a dataset exist,
the edit button would bring up the values
of the selected dataset and the values
are updated.
Verify that the back button returns
the user back to the PROC CDISC screen.
|
Instructions 6 |
Notes:
-
Create
the following paths if they do not already exist.
-
Submit
the following program:
libname testlib 'c:\temp\cdiscbld\input\PROC
CDISC';
data testlib.ae;
set sashelp.shoes;
run;
data testlib.dm;
set sashelp.company;
run;
data testlib.cm;
set sashelp.manage;
run;
data testlib.ae1;
set sashelp.manage;
run;
Instructions
1
Start the CDISC Builder application from the icon in
desktop.
-
Click
PROC CDISC to open PROC CDISC screen.
-
Clear
the value in "Source Data" field. Click on
the Enter button.
-
Verify
there is a warning message displayed.
-
Type
an invalid path such as
"C:\temp\cdiscbld\invalid" in "Source
Data" field. Click on the Enter button.
-
Verify
there is a warning message displayed.
Click
OK button to close this message.
-
Choose
a source data path by clicking on [...] button.
Navigate to a path that does not have any datasets.
-
Verify
the list of datasets is empty.
-
Create a
folder with the name is longer than 200 characters, such
as:
-
Click on
[...] button next to Source Data text input.
-
Navigate to
that folder and click 'OK' button.
-
Verify that
there is a warning message:
-
Click OK
button to close this message.
-
Click on
[...] button next to Source Data text input.
-
Navigate to
the folder that contains some datasets, such as: "input\PROC CDISC"
folder.
-
Verify that
some datasets will be displayed in Data Sets list box.
Instructions
2
Start the CDISC Builder application from the icon in
desktop.
-
Navigate
to "C:\temp\cdiscbld\input\PROC CDISC". Verify
there are 4 datasets : "AE", "CM",
"DM" and "AE1" in this folder.
-
Click
PROC CDISC to open PROC CDISC screen.
-
Type
"C:\temp\cdiscbld\input\PROC CDISC" in the
"Source Data" field. Click on the Enter
button.
-
Verify
there are 4 datasets listed above in list of
datasets:
-
Choose
"AE" dataset. Click Preview button.
Verify there is a report displayed to show the content of
this dataset.
-
Submit
the following program:
libname
testlib "C:\temp\cdiscbld\input\PROC CDISC";
proc
print data=testlib.ae;
run;
-
Verify that
the result of clicking on Preview button is similar with
the result of proc print command.
-
Close the PROC CDISC screen.
Instructions
3
Start the CDISC Builder application from the icon
in desktop.
-
Click
PROC CDISC to open PROC CDISC screen.
-
Type
a path such as
"C:\temp\cdiscbld\input\PROC CDISC" in "Source
Data" field. Click on the Enter button.
-
Click on the [...] button next to the
Output list.
-
Enter the Library Name such as OUTTEST.
-
Type
a path such as
"C:\temp\cdiscbld\output\PROC CDISC" in "Output
Path" field.
-
Click on the "Add" button and then click
on the "Back" button.
-
Type
"testforinvalid.sas" in "Output File".
-
Click on the "Edit" button next to the
Global Variable, Study and Metadataversion entry for
each and then click on the OK button.
-
Click
OK button. Verify a warning message is displayed to
confirm the file has more than 8 characters.
-
Click
OK button to close this message.
-
Type
"test.xpt1" in "Output File".
-
Click
OK button. Verify a warning message is displayed to
confirm the file has an invalid extension.
-
Clear
value in "Output File" field.
-
Choose
"CM" dataset in list of datasets. Verify
"CM.xpt" is displayed in "Output
File".
Instructions
4
Start the CDISC Builder application from the icon
in desktop.
-
Click
PROC CDISC to open PROC CDISC screen.
-
Type
a path such as
"C:\temp\cdiscbld\input\PROC CDISC" in "Source
Data" field. Click on the Enter button.
-
Choose
"CM" dataset.
-
Type
a path such as
"C:\temp\cdiscbld\output\PROC CDISC" in "Output
Path" field.
-
Type
"cm.xpt" in "Output File".
-
Type
"C:\temp\cdiscbld\output\PROC CDISC\basecode.sas" in
"Base Code" field.
-
Click
OK button.
-
Click
Back on "View Code" screen if it appears.
-
Navigate
to "C:\temp\cdiscbld\output\PROC CDISC".
Verify "cm.xpt" and "basecode.sas" are
created.
-
Open
"cm.xpt" and verify this contains the same value
as cm.xpt.
-
Delete
"cm.xpt" and "basecode.sas".
-
Click
Cancel button to back to main screen.
-
Click
PROC CDISC to open PROC CDISC screen.
-
Verify
all values inserted from step 2 to 6 are displayed.
-
Click
Cancel button.
-
Navigate
to "C:\temp\cdiscbld\output\PROC CDISC".
Verify "cm.xpt" and "basecode.sas" are
not created.
Instructions
5
Start the CDISC Builder application from the icon
in desktop.
-
Click
PROC CDISC to open PROC CDISC screen.
-
Type
a path such as
"C:\temp\cdiscbld\input\PROC CDISC" in "Source
Data" field. Click on the Enter button.
-
Choose
"CM" dataset.
-
Type
a path such as
"C:\temp\cdiscbld\output\PROC CDISC" in "Output
Path" field.
-
Type
"cm.xpt" in "Output File".
-
Type
"C:\temp\cdiscbld\output\PROC CDISC\basecode.sas" in
"Base Code" field.
-
Click
Save Code button.
-
Verify
Save Code screen is displayed.
-
Type
"C:\temp\cdiscbld\output\PROC CDISC" in
"Path" field.
-
Type
"s_cm" in "File Name".
-
Click
OK button. Verify View Code screen is displayed to
show the content of save code file.
-
Click
Back to close "View Code" screen.
-
Navigate
to "C:\temp\cdiscbld\output\PROC CDISC".
Verify "s_cm.sas" is created.
-
Delete
"cm.xpt" and "basecode.sas" if they
exist.
-
Right
mouse click on "s_cm.sas" and select "Batch
Submit".
-
Verify
"cm.xpt" and "basecode.sas" are
created.
Instructions
6
Start the CDISC Builder application from the icon
in desktop.
-
Click
PROC CDISC to open PROC CDISC screen.
-
Type
a path such as
"C:\temp\cdiscbld\input\PROC CDISC" in "Source
Data" field. Click on the Enter button.
-
Choose
"CM" dataset.
-
Type
a path such as
"C:\temp\cdiscbld\output\PROC CDISC" in "Output
Path" field.
-
Type
"cm.xpt" in "Output File".
-
Type
"C:\temp\cdiscbld\output\PROC CDISC\basecode.sas" in
"Base Code" field.
-
Click
Save Code button.
-
Verify
Save Code screen is displayed.
-
Type
"C:\temp\cdiscbld\output\PROC CDISC" in
"Path" field.
-
Type
"s_cm" in "File Name".
-
Click
OK button. Verify View Code screen is displayed to
show the content of save code file.
-
Click
Back to close "View Code" screen.
-
Navigate
to "C:\temp\cdiscbld\output\PROC CDISC".
Verify "s_cm.sas" is created.
-
Delete
"cm.xpt" and "basecode.sas" if they
exist.
-
Right
mouse click on "s_cm.sas" and select "Batch
Submit".
-
Verify
"cm.xpt" and "basecode.sas" are
created.
For more information, please contact MXI
.
|