CDISC Builderâ„¢  2.1 - Installation Test Scripts - Difftest
The following documentation contains test scripts and expected results for validating the CDISC Builder 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 button toggles.
  • Verify CDISC button selection of all CDISC type datasets.

  •  
    Instructions 2

    Report Title

  • Title with special characters such as quotes and comma.
  • Long title longer than 200 characters

  •  
    Instructions 3
    OK/Cancel
  • OK button applies all selected parameters.
  • Verify title and footnote.
  • Memory of all fields are retained.
  • Cancel does not apply logic.

  •  
    Instructions 4
    Save Code
  • Program is saved with proper comments
  • Generated program is submitted and results verified

  •  
    Instructions 5

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

    1. Create the following path if it does not already exist.
      c:\temp\cdiscbld\input
      c:\temp\cdiscbld\output

    2. Submit the following program:

      libname testlib 'c:\temp\cdiscbld\input';
      libname outtest 'c:\temp\cdiscbld\output';

      data testlib.shoes;
      set sashelp.ae;
      run;
      data testlib.company;
      set sashelp.co;
      run;
      data testlib.manage;
      set sashelp.dm;
      run;
      data testlib.shoes;
      set sashelp.shoes;
      run;
      data testlib.company;
      set sashelp.company;
      run;
      data testlib.manage;
      set sashelp.manage;
      run;
       

    3. Click on the 'DIFFTEST' icon to open the Difftest screen.

    4. Clear all text in Source Data and click on 'OK' button.

    5. Verify that there is a warning message:

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

    6. Type 'C:\invalidfolder' in Source Data and click on 'OK' button.

    7. Verify that there is a warning message:

      The Source Data does not exist.
       

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

    9. Navigate to the folder that does not contain any dataset, such as output folder.

    10. Click on 'OK' button.

    11. Verify that there is a warning message:

      Select at least one dataset to be compared.
       

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


       

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

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

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

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

    17. Navigate to folder that contains some datasets, such as: input folder.

    18. Verify that these datasets will be displayed in Data Sets list box.

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

    1. Click on the 'DIFFTEST' icon to open the Difftest screen.

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

    3. Navigate to 'C:\temp\cdiscbld\input' folder.

    4. Verify that DM, AE, CO... will be displayed in Data Sets list box.

    5. Choose AE in Data Sets list and click on 'Preview' button.

    6. Verify that there is a report shows all values in AE dataset.

    7. Submit the following program:

      libname testlib 'c:\temp\cdiscbld\input';
      proc print data=testlib.shoes;
      run;
       

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

    9. Click on 'Select All' button and verify that all datasets are selected.

    10. Click on 'Select All' button again and verify that all datasets are deselected.

    11. Click on 'Select All' button again and then click on 'Preview' button.

    12. Verify that there is a report that shows content of all datasets.

    13. Click on 'CDISC' button and verify that CO, AE and DM datasets are selected.

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

    1. Click on the 'DIFFTEST' icon to open the Difftest screen.

    2. Click on [...] next to Source Data text input.

    3. Navigate to 'C:\temp\cdiscbld\input' folder.

    4. Verify that DM, AE, CO... will be displayed in Data Sets list box.

    5. Choose AE in Data Sets list.

    6. Type some text contains the special characters like comma and quotes in Report Title, such as: "this' is test, this is' test".

    7. Click on 'OK' button.

    8. Verify that there is no error and the report is displayed.

    9. Type a long title with more than 200 character in Report Title, such as:


       

    10. Click on 'OK' button.

    11. Verify that the report title is truncated and there is a warning message will be displayed.

      The title too long. It can be truncated.

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

    1. Click on the 'DIFFTEST' icon to open the Difftest screen.

    2. Click on [...] next to Source Data text input.

    3. Navigate to 'C:\temp\cdiscbld\input' folder.

    4. Choose 'Company' in Data Sets list.

    5. Type 'This is report title' in Report Title.

    6. Click on 'OK' button.

    7. Verify that there is a report will be displayed with title is 'This is report title' and footnote contains date and username created.

    8. Close report and type 'This is Second Report Title' in Report Title.

    9. Click on 'Cancel' button.

    10. Verify that the Difftest screen will be closed and will not create report.

    11. Click on the 'DIFFTEST' icon to open the Difftest screen.

    12. Verify that the value of Report Title is 'This is Second Report Title'.

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

    1. Click on the 'DIFFTEST' icon to open the Difftest screen.

    2. Click on [...] next to Source Data text input.

    3. Navigate to 'C:\temp\cdiscbld\input' folder.

    4. Choose 'Company' in Data Sets list.

    5. Type 'This is report title' in Report Title.

    6. Click on 'Save Code' button.

    7. Type 'C:\temp\cdiscbld\output' in Path text field.

    8. Verify that the file name is 'difftest'.

    9. Click on 'OK' button.

    10. Verify that the View Code screen will be displayed.

    11. Verify that all information in view code is correct.

    12. Verify that the difftest.sas will be created in 'C:\temp\cdiscbld\output'.

    13. Navigate to 'C:\temp\cdiscbld\output'.

    14. Right click on 'difftest.sas' and select 'Batch Submit'.

    15. Verify that there is a 'difftest.html' will be created in 'C:\temp\cdiscbld\output'.

    For more information, please contact MXI .

     
         Meta-Xceed Inc. © 2009