Avatar NX Report Viewer
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
Scenario 1: Report Viewer (Avatar NX) - Validation launching a 'Command Button" report requiring an External ODBC Connection
Specific Setup:
- An external database server [ServerA] exists, that that contains table data [TableA]
- Using form "NX External ODBC Data Sources", have an "ODBC Data Source" created [DataSourceA] configured to use an ODBC driver to connect to the external database server [ServerA]
- Have a Crystal Report [ReportA] created, that connects to the external database [ServerA] using [DataSourceA] in order to display data in [TableA]. (Note the format and field layout of the report)
- In form "Import Reports" have a [ReportA] imported with prompt "Select Import Type" set to "Import for Command Button Launch", "Connection Type" set to "myAvatar NX" and [DatasourceA] selected in the field "myAvatar NX Connections"
- Have a modeled form [FormA], based on [TableA] that includes a "Command Button" object configured to launch [ReportA]
Steps
- Navigate to [FormA]
- Click the "Command Button" configured to launch the form
- Validate the "Report Viewer" is launched
- Verify the format and the field layout on the document preview, is consistent with that of the Crystal Report [ReportA], assigned to the form
- Validate the data populated in the fields noted in the setup that have been extracted from the [TableA] on server [ServerA], contains the expected values
- Close the report and exit the form
Scenario 2: Report Viewer (Avatar NX) - Validation launching a "Crystal Report for Document Routing" requiring an External ODBC Connection
Specific Setup:
- An external database exists on [ServerA] that contains data in a table [TableA].
- Using form "NX External ODBC Data Sources", have an "ODBC Data Source" created [DataSourceA] configured to use an ODBC driver to connect to the [ServerA]
- Have a Crystal Report [ReportA] created that connects to the external database [ServerA] using [DataSourceA] to display data in [TableA]. (Note the format and field layout of the report)
- In form "Import Reports", have a [ReportA] imported with prompt "Select Import Type" set to "Import Report for Document Routing"
- In form "Document Routing Setup", have [FormA] enabled for document routing with prompt "User Crystal Report Template" set to "Yes" and [ReportA] selected in the "Crystal Report" field
- [UserA] is a staff member with the "My To Do's" widget on their home view
- Log in as [UserA]
Steps
- Open [FormA]
- Populate the desired fields on the form (make note of the data populated)
- Set the "Draft/Final" field to "Final"
- Click [Submit]
- Verify "Confirm Document" screen is launched and the format and field layout of the document image, is consistent with that of the Crystal Report [ReportA], assigned to the form
- Validate the data populated in each field is consistent with data populated as noted in step 2
- Click the "Accept and Route" button
- Populate the "Verify Password Prompt" with a password
- Click "OK"
- At the "Route Document To" screen, add an approver
- Click "Submit"
- At the home view, verify there is new to do in the "My To Do's" widget for [FormA]
- Click approve document
- Verify "Confirm Document" screen is launched and the format and field layout of the document image is consistent with that of the Crystal Report [ReportA], assigned to the form
- Validate the data populated in each field is consistent with data populated as noted in step 2
- Click "Accept"
- Populate the "Verify Password Prompt" with a password and click [OK]
- Validate the To do is removed from the to do list
|
Topics
• NX
• Report Viewer
|