The following documentation contains test scripts
and expected results for validating the 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.
Verify Select All toggle.
Verify selection of CDISC button.
|
Instructions
2
|
|
OK/Cancel |
OK button applies all selected parameters.
Memory of all fields are retained.
Cancel does not apply logic.
|
Instructions
3
|
|
Save Code |
Program is saved with proper comments.
Generated program is submitted and results
verified.
|
Instructions 4
|
Instructions
1
Start the CDISC Builder application from the icon in
desktop.
-
Select CDISC icon from the CDISC Builder screen.
-
Create the following path if it does not already
exist.
c:\temp\cdisc\input
c:\temp\cdisc\source
c:\temp\cdisc\output
-
Submit the following program:
libname testlib 'c:\temp\cdisc\input';
data testlib.shoes;
set sashelp.shoes;
run;
data testlib.company;
set sashelp.company;
run;
data testlib.manage;
set sashelp.manage;
run;
-
In CDISC screen, input an invalid path such
as:
c:\invalidpath\invalidpath
-
Press on Enter button or click "OK" button, the following
message appears:
The field (Source Data) contains the non-existing
directory.
-
Input path that navigate to location with no
SAS datasets.
-
Click "OK" button, verify a warning message
appears:
The Data Sets list is empty.
-
Create a temp directory named
very long name very long name very long name
very long name very long name very long name
very long name very long name very long name
very long name very long name very long name
very long name very long name very long name
-
Click on [...] button to select the path above.
-
Click on the "OK" button.
-
There is a message as follow:
WARNING: You cannot select a path longer than
200 characters using Select dialog. Please enter
the path directly to the Source Data field.
-
Input that long path manually and click OK button
again, verify the warning message above no longer
appears.
-
Click [...] button next to Source Data field.
-
A Select dialog box appears with OK and Cancel
buttons.
-
Navigate to a path that different from the old
one and click Cancel.
-
Nothing happens.
-
Click [...] button again and select this path
'c:\temp\cdisc\input'.
-
Click OK button, verify the path in Source Data
now is 'c:\temp\cdisc\input'.
Instructions
2
Start the CDISC Builder application from the icon in
desktop.
-
Select CDISC icon from the CDISC Builder screen.
-
In CDISC screen, click [...] button next to
Source Data field to select this path 'c:\temp\cdisc\input'
-
Verify the Data Sets list lists all datasets
in this location:
COMPANY
MANAGER
SHOES
-
From the Data Sets list, select MANAGER dataset
and click Preview button. A report of
MANAGER is created.
-
Select more than one dataset such as COMPANY
and MANAGER and click Preview button.
Verify the report now is including Index of Datasets
and Details of each Dataset.
-
Select all datasets in Data Sets list by click
Select All button.
-
Click Select All button again, verify all datasets
in list are deselected.
-
Click CDISC button, verify no datasets is selected
because these datasets are not in CDISC standard.
Instructions
3
Start the CDISC Builder application from the icon
in desktop.
-
Select CDISC icon from the CDISC Builder screen.
-
In CDISC screen, input the following information:
Source Data: c:\temp\cdisc\input
Data Sets: COMPANY
-
Click OK button, a report Findings from CDISC
Evaluation are created for COMPANY dataset and
a note message appears "Please press F5 to refresh
report".
-
Close that note message and in report, press
F5.
-
Verify a list of variables of COMPANY is displayed
in Variable Navigator
field.
-
Click on [...] button to navigate to directory
that contains SAS datasets. Click OK button
to select this path.
-
Click Cancel and go back CDISC screen again
from CDISC Builder.
-
Verify that Source Data brings the selected
path of the last time and Data list lists datasets
that locate in this path.
Instructions
4
Start the CDISC Builder application from the icon
in desktop.
-
Select CDISC icon from the CDISC Builder screen.
-
In CDISC screen, input the following information:
Source Data: c:\temp\cdisc\input
Data Sets: COMPANY
-
Click Save Code button, the Save Code screen
is displayed with default values of Path is
current directory and File name is 'cdisc'.
-
Click OK button, View Code screen shows the
code of cdisc macro call.
-
Copy that code and submit it. Verify
it created a report Findings from CDISC
Evaluation for COMPANY dataset.
For more information, please contact MXI
.
|