s
 
CDISC Builderâ„¢  2.1 - Installation Test Scripts - %matchvar
The following documentation contains test scripts and expected results for validating the CDISC Builder tool.  Do the following to verify proper installation:
  • 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
matchvar1.sas Test the condition where the parameters are missing. Instructions 1
matchvar1.log
matchvar2.sas Test condition where the path is invalid. Instructions 2
matchvar2.log
matchvar3.sas Verify an error condition where the specified data is missing. Instructions 3
matchvar3.log
matchvar4.sas Verify that variables that match or closely match are captured.  Instructions 4
matchvar4.log
matchvar4.zip
matchvar5.sas Verify that labels that match or closely match are captured. 

Instructions 5

matchvar5.log

matchvar5.zip

matchvar6.sas Test the condition where the values of SCORE parameter are out of range. Instructions 6
matchvar6.log
matchvar7_1.sas Test value 1 of SCORE parameter. Instructions 7
matchvar7_1.log
matchvar7_1.zip
matchvar7_2.sas Test value 2 of SCORE parameter. matchvar7_2.log
matchvar7_2.zip
matchvar7_3.sas Test value 3 of SCORE parameter. matchvar7_3.log
matchvar7_3.zip
matchvar7_4.sas Test value 4.1 of SCORE parameter. matchvar7_4.log
matchvar7_4.zip
matchvar7_5.sas Test value 5 of SCORE parameter. matchvar7_5.log
matchvar7_5.zip
matchvar8.sas Verify the condition where some datasets can not access in libraries. Instructions 8

matchvar9a.sas

matchvar9b.sas

Verify the output parameter.

Instructions 9

matchvar9.zip


Instructions 1
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation sub-directory named "saspgm".

  2. Right mouse click on the matchvar1.sas program and select "Batch Submit".

  3. Review the matchvar1.log file and verify that the following message is produced.

    • ERROR: [matchvar] requires at least one path parameter defined. 

  4. This can be verified against the matchvar1.log found in the benchmark area.

Instructions 2
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation sub-directory named "saspgm".

  2. Right mouse click on the matchvar2.sas program and select "Batch Submit".

  3. Review the matchvar2.log and verify that the following messages are produced corresponding to each test.

    • Test (A)
      ERROR: [matchvar] can not locate the path: 
      K:\invalid_path\invalid_path  

    • Test (B)
      ERROR: [matchvar] can not locate the path: 
      K:\invalid_path\invalid_path%^& 

  4. This can be verified against the matchvar2.log found in the benchmark area.  

Instructions 3
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation sub-directory named "saspgm".

  2. Right mouse click on the matchvar3.sas program and select "Batch Submit".

  3. Review the matchvar3.log file and verify that the following message is produced.

    • ERROR: [matchvar] was unable to access data: demog located at path: C:\temp\testing\data\matchvar

  4. The matchvar3.log is available in the benchmark area for comparisons.

Instructions 4
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation sub-directory named "saspgm".

  2. Right mouse click on the matchvar4.sas program and select "Batch Submit".

  3. Review the matchvar4.log file to ensure that there are no error messages.

  4. Verify that there are three html files generated include: matchvar1.html, matchvar2.html and matchvar.html.

  5. Open matchvar1.html, verify that there are two variables with the same name or closely matching name are captured. 

  6. A similar version can be reviewed and compared in the benchmark area.

Instructions 5
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation sub-directory named "saspgm".

  2. Right mouse click on the matchvar5.sas program and select "Batch Submit".

  3. Review the matchvar5.log file to ensure that there are no error messages.

  4. Verify that there are three html files generated include: matchvar1.html, matchvar2.html and matchvar.html.

  5. Open matchvar2.html, verify that there are two variables with the same label or closely matching label are captured. 

  6. A similar version can be reviewed and compared in the benchmark area.

Instructions 6
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation sub-directory named "saspgm".

  2. Right mouse click on the matchvar6.sas program and select "Batch Submit".

  3. Review the matchvar6.log file and verify that the following message is produced.

      

    • Test (A)
      ERROR: [matchvar] has a score: -1 which is out of range. 

    • Test (B)
      ERROR: [matchvar] has a score: -6 which is out of range.

  4. This can be verified against the matchvar6.log found in the benchmark area.

Instructions 7
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation sub-directory named "saspgm".

  2. Right mouse click on the matchvar7_1.sas program and select "Batch Submit".

  3. Review the matchvar7_1.log file to ensure that there are no error messages.

  4. Verify that there are three html files generated include: matchvar1.html, matchvar2.html and matchvar.html.

  5. Open matchvar.html and click 2 links, verify that there are 5 variables with the same name or closely matching name are captured and there are 5 variables with the same label or closely matching label are captured. 

  6. A similar version can be reviewed and compared in the benchmark area.

  7. Right mouse click on the matchvar7_2.sas program and select "Batch Submit".

  8. Review the matchvar7_2.log file to ensure that there are no error messages.

  9. Verify that there are three html files generated include: matchvar1.html, matchvar2.html and matchvar.html.

  10. Open matchvar.html and click 2 links , verify that there are 5 variables with the same name or closely matching name are captured and there are 5 variables with the same label or closely matching label are captured. 

  11. A similar version can be reviewed and compared in the benchmark area.

  12. Right mouse click on the matchvar7_3.sas program and select "Batch Submit".

  13. Review the matchvar7_3.log file to ensure that there are no error messages.

  14. Verify that there are three html files generated include: matchvar1.html, matchvar2.html and matchvar.html.

  15. Open matchvar.html and click 2 links, verify that there are 5 variables with the same name or closely matching name are captured and there are 6 variables with the same label or closely matching label are captured. 

  16. A similar version can be reviewed and compared in the benchmark area.

  17. Right mouse click on the matchvar7_4.sas program and select "Batch Submit".

  18. Review the matchvar7_4.log file to ensure that there are no error messages.

  19. Verify that there are three html files generated include: matchvar1.html, matchvar2.html and matchvar.html.

  20. Open matchvar.html and click 2 links, verify that there are 6 variables with the same name or closely matching name are captured and there are 6 variables with the same label or closely matching label are captured. 

  21. A similar version can be reviewed and compared in the benchmark area.

  22. Right mouse click on the matchvar7_5.sas program and select "Batch Submit".

  23. Review the matchvar7_5.log file to ensure that there are no error messages.

  24. Verify that there are three html files generated include: matchvar1.html, matchvar2.html and matchvar.html.

  25. Open matchvar.html and click 2 links, verify that there are 7 variables with the same name or closely matching name are captured and there are 8 variables with the same label or closely matching label are captured. 

  26. A similar version can be reviewed and compared in the benchmark area.

Instructions 8
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on matchvart8.sas and select "Batch Submit" to run the test.

  3. Open matchvar8.log file.  Verify that the message is displayed as follow.

    • WARNING: [matchvar] was unable to access data: matchvar10 
       

  4.  Verify that matchvar.html is created.

Instructions 9
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on matchvar9a.sas and select "Batch Submit" to run the test.

  3. Open matchvar9a.log file.  Verify that the messages are displayed as follow.

    • ERROR: [matchvar] The field (Output) contains an invalid directory. 

    • ERROR: [matchvar] The field (Output) contains an invalid html file. 
       

  4. Navigate to the validation directory named "saspgm".

  5. Right mouse click on matchvar9b.sas and select "Batch Submit" to run the test.

  6. Verify that the mymatchvar.html, mymatchvar1.html and mymatchvar2.html are created.

For more information, please contact MXI .

 
     Meta-Xceed Inc. © 2009