-
Create the
following path if it does not already exist.
c:\temp\cdiscbld\input\findings
c:\temp\cdiscbld\output\findings
-
Click on the
[...] button next to the Output library
field.
-
Create the
following library name in the library
manager screen if they do not already
exist.
Library Name: intest
Path: c:\temp\cdiscbld\input\findings
Library Name: outtest
Path:
c:\temp\definedoc\output\findings
-
Click on the Back
to close the library manager screen.
-
Submit the
following program:
libname testlib 'c:\temp\cdiscbld\input\findings';
data testlib.shoes;
set sashelp.shoes;
run;
data testlib.company;
set sashelp.company;
run;
data testlib.manage;
set sashelp.manage;
run;
-
Click on the FINDINGS icon from
the main screen.
-
Enter a path
which does not exist into Source Data
field and hit Enter.
-
Verify that
there is a error message saying that
"Source Data does not exist.".
-
Close the
message dialog.
-
Click on the
[...] button next to the Source Data
field.
-
Browse to a
directory which does not contains any
datasets and click OK.
-
Verify that
there is a warning message saying that
"There is no dataset in this path.".
-
Close the
message dialog.
-
Create a
directory with the name longer than 244
characters.
-
Copy three
datasets from findings directory into
this directory.
-
Click on the
[...] button.
-
Browse to
the long-name directory and click OK.
-
Verify that
there is a warning message saying that
"You cannot select a path longer than
200 characters using Select dialog.
Please enter the path directly to the
Source Data field.".
-
Close the
message box.
-
Enter the
path directly into the Source Data path
and hit Enter.
-
Verify that
there is a message saying that "You
cannot type the path longer than 244
characters. Enter the other path.".
-
Shorten the
long-name directory to shorter than 244
characters.
-
Enter the
path and hit Enter.
-
Verify that
there is no warning or error message.
-
Verify that
all datasets in the long-name directory
have been listed in the dataset list.
-
Click on Cancel
and then Exit to close the application.
-
Click on the
FINDINGS icon from the main screen.
-
Select COMPANY
from the dataset list.
-
Select some
variables from the Original Source Variables list.
-
Click on the
<< button next to the Test Variable list.
-
Verify that
selected variables are copied to Test Variable list.
-
Click on the
Select All button under the Test Variable list.
-
Verify that
all items on the list are selected.
-
Click Select
All again.
-
Verify that
all items on the list are deselected.
-
Select some
items from the Test Variable list.
-
Click on the
>> button next to the Test Variable list.
-
Verify that
the selected items are removed from the list.
-
Click Cancel
and then Exit to close the application.
-
Click on the
FINDINGS icon from the main screen.
-
Select COMPANY
from the dataset list.
-
Select some
variables in the Original Source Variables list.
-
Click on the
>> button next to the Additional Variable list.
-
Verify that
selected items are copied to the Additional Variable
list.
-
Click on the
Select All button under the Additional Variable list.
-
Verify that
all the items in the list are selected.
-
Click Select
All again.
-
Verify that
all items are deselected.
-
Select some
items in the Additional Variable list.
-
Click on the
<< button close to Additional Variable list.
-
Verify that
selected items are removed from the list.
-
Click Cancel
and then Exit to close the application.
-
Click on the
FINDINGS icon from the main screen.
-
Click on the
[...] button next to the Output field.
-
Select INTEST
library and click Back.
-
Verify that
INTEST will be selected in the Output library list.
-
Click on the
[...] button again.
-
Select OUTTEST
library and click Back.
-
Verify that
OUTTEST will be selected in the Output library list.
-
Select AU from
the related domain list.
-
Verify that
the output dataset name is changed to AE.
-
Select DC from
the related domain list.
-
Verify that
the output dataset name is changed to DC.
-
Enter AE into
output dataset name.
-
Verify that
the output name won't be changed when a new related
domain selected.
-
Click Cancel
and then Exit to close the application.
-
Click on the
FINDINGS icon from the main screen.
-
Select
C:\TEMP\CDISCBLD\INPUT\FINDINGS as Source Data.
-
Select AE from
the dataset list.
-
Select Product
as test variable.
-
Select Sales
as additional variable.
-
Select AU as
related domain.
-
Enter "12345"
into Study Identifier field.
-
Select usubjid
as Unique Subject Id Variable.
-
Select OUTTEST
as output library.
-
Enter "AE"
into output dataset field.
-
Click on the
Cancel button.
-
Verify that it
closes FINDINGS dialog without doing anything.
-
Verify that
it won't created the output dataset in the selected
output library.
-
Click Exit to
close the application.
-
Start the
application again.
-
Click on the
FINDINGS icon.
-
Verify that
all the values from the previous time are retained in
the screen.
-
Click on the
OK button.
-
Verify that it
generates dataset AE into the selected output library.
-
Verify that
there are six variables in the output AE dataset.
-
Verify that
the usubjid column contains all values of variable
usubjid from input ae dataset.
-
Verify that
the rdomain column contains value AU.
-
Verify that
the column testname contains the name of test variable
selected in the screen which is Product.
-
Verify that
the column autest contains all values of variable
product from input dataset.
-
Verify that
there is the variable named sales which is the selected
additional variable in the screen.
-
Click Cancel
and then Exit to close the application.
-
Rename the AE
dataset in outtest library to AE2.
-
Click on the
FINDINGS icon in the main screen.
-
Click on the
Save Code button.
-
Select
C:\temp\cdiscbld\output\findings as file path.
-
Enter
findings_savecode as file name.
-
Click OK.
-
Verify that
the View Code screen will displayed with the contents of
the generated base code program.
-
Verify that
the header of the program looks similar as follows (The
user name and time may be different).
/*----------------------------------------------------*
* Program: findings_savecode.sas
* Path: C:\temp\cdiscbld\output\findings
* Description: Generate CDISC Findings data set
* for a specified domain.
* By: Bui Nguyen Tuan Anh, %findings, 02/14/2006,
11:39:55 am
*-----------------------------------------------------*/
-
Click on
Cancel and then Exit to close the application.
-
Right mouse
click on the findings_savecode.sas program and select
Batch Submit.
-
Verify that
there is no error message in the log file.
-
Verify that it
generates a new AE dataset into
C:\temp\cdiscbld\output\findings.
-
Compare the
new AE dataset with AE2 and verify that they contain the
same information.