CDISC Builderâ„¢  2.1 - Installation Test Scripts - Proc Cdisc
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:

  1. Create the following paths if they do not already exist.

    • "c:\temp\cdiscbld\input\PROC CDISC".

    • "c:\temp\cdiscbld\output\PROC CDISC".

  2. 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.

  1. Click PROC CDISC to open PROC CDISC screen.

  2. Clear the value in "Source Data" field.  Click on the Enter button.

  3. Verify there is a warning message displayed.

    • The field (Source Data) contains a missing value.

  4. Type an invalid path such as "C:\temp\cdiscbld\invalid" in "Source Data" field.  Click on the Enter button.

  5. Verify there is a warning message displayed.

    • The field (Source Data) contains an invalid directory.

  6. Click OK button to close this message.

  7. Choose a source data path by clicking on [...] button.  Navigate to a path that does not have any datasets.

  8. Verify the list of datasets is empty.

  9. Create a folder with the name is longer than 200 characters, such as:


     

  10. Click on [...] button next to Source Data text input.

  11. Navigate to that folder and click 'OK' button.

  12. Verify that there is a warning message:

    • You cannot select a path longer than 200 characters using Select dialog. Please enter the path directly to the Source Data field.

  13. Click OK button to close this message.

  14. Click on [...] button next to Source Data text input.

  15. Navigate to the folder that contains some datasets, such as: "input\PROC CDISC" folder.

  16. Verify that some datasets will be displayed in Data Sets list box.

Instructions 2
Start the CDISC Builder application from the icon in desktop.

  1. Navigate to "C:\temp\cdiscbld\input\PROC CDISC".  Verify there are 4 datasets : "AE", "CM", "DM" and "AE1" in this folder.

  2. Click PROC CDISC to open PROC CDISC screen.

  3. Type "C:\temp\cdiscbld\input\PROC CDISC" in the "Source Data" field.  Click on the Enter button.

  4. Verify there are 4 datasets listed above in list of datasets: 

  5. Choose "AE" dataset.  Click Preview button.  Verify there is a report displayed to show the content of this dataset.

  6. Submit the following program:

    libname testlib "C:\temp\cdiscbld\input\PROC CDISC";

    proc print data=testlib.ae;

    run;

  7. Verify that the result of clicking on Preview button is similar with the result of proc print command.

  8. Close the PROC CDISC screen.

Instructions 3
Start the CDISC Builder application from the icon in desktop.

  1. Click PROC CDISC to open PROC CDISC screen.

  2. Type a path such as "C:\temp\cdiscbld\input\PROC CDISC" in "Source Data" field.  Click on the Enter button.

  3. Click on the [...] button next to the Output list.

  4. Enter the Library Name such as OUTTEST.

  5. Type a path such as "C:\temp\cdiscbld\output\PROC CDISC" in "Output Path" field.  

  6. Click on the "Add" button and then click on the "Back" button.

  7. Type "testforinvalid.sas" in "Output File".

  8. Click on the "Edit" button next to the Global Variable, Study and Metadataversion entry for each and then click on the OK button.

  9. Click OK button.  Verify a warning message is displayed to confirm the file has more than 8 characters.

  10. Click OK button to close this message.

  11. Type "test.xpt1" in "Output File".

  12. Click OK button.  Verify a warning message is displayed to confirm the file has an invalid extension.

  13. Clear value in "Output File" field.

  14. 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.

  1. Click PROC CDISC to open PROC CDISC screen.

  2. Type a path such as "C:\temp\cdiscbld\input\PROC CDISC" in "Source Data" field.  Click on the Enter button.

  3. Choose "CM" dataset.

  4. Type a path such as "C:\temp\cdiscbld\output\PROC CDISC" in "Output Path" field.  

  5. Type "cm.xpt" in "Output File".

  6. Type "C:\temp\cdiscbld\output\PROC CDISC\basecode.sas" in "Base Code" field. 

  7. Click OK button.

  8. Click Back on "View Code" screen if it appears.

  9. Navigate to "C:\temp\cdiscbld\output\PROC CDISC".  Verify "cm.xpt" and "basecode.sas" are created.

  10. Open "cm.xpt" and verify this contains the same value as cm.xpt. 

  11. Delete "cm.xpt" and "basecode.sas".

  12. Click Cancel button to back to main screen.

  13. Click PROC CDISC to open PROC CDISC screen.

  14. Verify all values inserted from step 2 to 6 are displayed.

  15. Click Cancel button.

  16. 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.

  1. Click PROC CDISC to open PROC CDISC screen.

  2. Type a path such as "C:\temp\cdiscbld\input\PROC CDISC" in "Source Data" field.  Click on the Enter button.

  3. Choose "CM" dataset.

  4. Type a path such as "C:\temp\cdiscbld\output\PROC CDISC" in "Output Path" field. 

  5. Type "cm.xpt" in "Output File".

  6. Type "C:\temp\cdiscbld\output\PROC CDISC\basecode.sas" in "Base Code" field.

  7. Click Save Code button.

  8. Verify Save Code screen is displayed.

  9. Type "C:\temp\cdiscbld\output\PROC CDISC" in "Path" field.

  10. Type "s_cm" in "File Name".

  11. Click OK button.  Verify View Code screen is displayed to show the content of save code file.

  12. Click Back to close "View Code" screen.

  13. Navigate to "C:\temp\cdiscbld\output\PROC CDISC".  Verify "s_cm.sas" is created.

  14. Delete "cm.xpt" and "basecode.sas" if they exist.

  15. Right mouse click on "s_cm.sas" and select "Batch Submit".

  16. Verify "cm.xpt" and "basecode.sas" are created.

Instructions 6
Start the CDISC Builder application from the icon in desktop.

  1. Click PROC CDISC to open PROC CDISC screen.

  2. Type a path such as "C:\temp\cdiscbld\input\PROC CDISC" in "Source Data" field.  Click on the Enter button.

  3. Choose "CM" dataset.

  4. Type a path such as "C:\temp\cdiscbld\output\PROC CDISC" in "Output Path" field. 

  5. Type "cm.xpt" in "Output File".

  6. Type "C:\temp\cdiscbld\output\PROC CDISC\basecode.sas" in "Base Code" field.

  7. Click Save Code button.

  8. Verify Save Code screen is displayed.

  9. Type "C:\temp\cdiscbld\output\PROC CDISC" in "Path" field.

  10. Type "s_cm" in "File Name".

  11. Click OK button.  Verify View Code screen is displayed to show the content of save code file.

  12. Click Back to close "View Code" screen.

  13. Navigate to "C:\temp\cdiscbld\output\PROC CDISC".  Verify "s_cm.sas" is created.

  14. Delete "cm.xpt" and "basecode.sas" if they exist.

  15. Right mouse click on "s_cm.sas" and select "Batch Submit".

  16. Verify "cm.xpt" and "basecode.sas" are created.

For more information, please contact MXI .

 
     Meta-Xceed Inc. © 2009