State Form File Generation - Compiles
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form File Generation
Scenario 1: State Form File Generation - Validations
Specific Setup:
- Have user [UserA] that has "Double Quotes" populated in the "User Description" field of their "User Definition" form record
- Have user [UserB] that has an "Apostrophe" populated in the "User Description" field of their "User Definition" form record
- Have user [UserC] that has any other special character populated in the "User Description" field of their "User Definition" form record
- Have user [UserD] that has no special characters in their name
- Have a "State Form Definition" file defined [DefinitionA], whose record has an SQL statement populated in the "Additional SQL Selection" column that includes the "GROUP BY" command within the statement
- Have a "State Form Definition" file defined [DefinitionB], whose record has an SQL statement populated in the "Additional SQL Selection" column that includes the "ORDER BY" command within the statement
- Log in as [UserA]
Steps
- Open form "State Form File Generation".
- Select definition [DefinitionA] in field "State Form".
- Populate the "File Description" field.
- In the "File Generation Options" field, select "Compile".
- Click [Process].
- Validate the process completes successfully.
- In the "File Generation Options" field, select "Dump File".
- Click [Process].
- Validate the data output of the file is as expected
- Close the form
- Open form "State Form File Generation".
- Select definition [DefinitionB] in field "State Form".
- Populate the "File Description" field.
- In the "File Generation Options" field, select "Compile".
- Click [Process].
- Validate the process completes successfully.
- In the "File Generation Options" field, select "Dump File".
- Click [Process].
- Validate the data output of the file is as expected
- Close the form
- Log out as [UserA]
- Log in as [UserB]
- Repeat step 1
- Validate results are as expected
- Repeat step 2
- Validate results are as expected
- Log out as [UserB]
- Log in as [UserC]
- Repeat step 1
- Validate results are as expected
- Repeat step 2
- Validate results are as expected
|
Topics
• NX
• State Form Tools
|
State Form Task Scheduler - Form
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form Definition
- State Form Task Scheduler
- System Task Scheduler
Scenario 1: System Task Scheduler - Validate a "State Form Definition" file task sent to an "FTP/SFTP" server
Specific Setup:
- Have a state form definition file [DefA], created in form "State Form Definition"
- Have an "FTP Server" set up to receive files
- Have the following "FTP Server" information available in order to populate the "State Form Task Scheduler" form during testing:
- The "Service Directory" location
- The "Server Host Name"
- The "Server Port Number"
- The "Server Username" field
- The "Server Password" field
- The "Public Key File" and the folder location of the file
- The "Private Key File" and the folder location of the file
Steps
- Open form "State Form Definition"
- Select [DefA]
- Populate the "File Path" field with directory that exists on the logged in users server; [LocationA]
- Submit the form
- Validate the form files successfully
- Open the 'State Form Task Scheduler' form
- Select [DefA]
- Select "Yes" in the "Create File" field
- Select "Yes" in "Send File To FTP Server" field
- In the "FTP Type" field, select "SFTP - Key Pair"
- Populate the "Server Host Name" field
- Populate the "Server Port Number" field
- Populate the "Server Username" field
- Populate the "Server Password" field
- Populate the "Service Directory" field, this is folder location [FTPfolderA] on the FTP server where the file will be sent
- Populate the "Public Key File Location" field
- Populate the "Private Key File Location" field
- Click [Test FTP Connection]
- Validate test is successful
- Submit the form
- Validate the form files successfully
- Open form "System Task Scheduler"
- Select the task set up for [DefA] in step 2 from the "Schedule(s)" field
- Populate the "Recurrence Pattern" field with desired value
- Populate the "Task Occurrence" field with the desired value
- Populate the "Start By" field with the desired date for the task to start
- Populate the "Start Time" field with the desired time for the task to start
- Select "No" in the "Inactive Task" field
- Click [Schedule Task]
- Close the form
- When the scheduled start by date and time for task filed in step 3 has passed:
- Validate the state form file [DefA] exist in the folder [LocationA] on the logged in users server, set in step1
- Validate the state form file [DefA] exists in the folder [FTPfolderA] on the "FTP" server, set in step 2
|
Topics
• NX
• State Form Task Scheduler
|
State Form Task Files - ECP servers
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form Task Scheduler
- System Task Scheduler
Scenario 1: System Task Scheduler - Validate "State Form Definition" file task when compiled on an ECP server
Specific Setup:
- Have an environment that contains an Avatar "Database" server and also an "ECP" server configured by Netsmart with the database server as its "Remote" database server
- Have a state form definition file created in form "State Form Definition" [DefA]
- In form "State Form Definition", select [DefA] and note the definition ID# [IDNum], in parentheses next to the file name
- Have a report or query that can display data in the "SYSTEM.RADplus_sf_audit_record" table [ReportA]
Steps
- Open form "State Form Definition"
- Select [DefA]
- Populate the "File Path" field with directory that exists on the users local server
- Submit the form
- Open the 'State Form Task Scheduler' form
- Select [DefA]
- Select "Yes" for Create File
- Populate any other required fields
- Submit the form
- Validate the form files successful
- Open form "System Task Scheduler"
- Select the task set up for [DefA] in step 2 from the "Schedule(s)" field
- Populate the "Recurrence Pattern" field with desired value
- Populate the "Task Occurrence" field with the desired value
- Populate the "Start By" field with the desired date for the task to start
- Populate the "Start Time" field with the desired time for the task to start
- Select "No" in the "Inactive Task" field
- Click [Schedule Task]
- Close the form
- When the scheduled date and time for task filed in step 2 has passed
- Run [ReportA] to display data in the "SYSTEM.RADplus_sf_audit_record" table
- Validate a row is present for the state form definition file, [DefA]
- Validate the "FileID" column is populated with definitions ID number [IDNum], noted in the setup
- Validate the "Server" field is populated with expected "FTP" server name, indicating that the file compiled on that server as expected
|
Topics
• NX
• State Form Task Scheduler
|
State Form Definition Files - sub records
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form File Generation
Scenario 1: Validate the output of a "State Form Definition" file containing multiple sub-records
Specific Setup:
- Have an "XML" type "State Form Definition" file created that contains a main record and multiple sub-records. [Def1]
Steps
- Open form "State Form File Generation"
- Select the [Def1] definition in field "State Form"
- In the "File Generation Options" field, select "Compile"
- Click [Process]
- Validate the process completes successfully
- In the "File Generation Options" field, select "Create File on Server"
- Click [Process]
- Click the "Compile Complete", [OK] button
- Click [Process] to create a file on the server
- In the "Windows Explorer" window, navigate to a folder location and save the file
- In the "Save In" drop down list of File Explorer, select a directory and populate the "File Name"
- Click [Save]
- In "File Explorer", go to the directory where the file was saved
- Click to open the file
- Validate the contents are as expected
|
Topics
• NX
• State Form Tools
|