Testing the Custom Date Field Validation



Steps:

  1. Hello, my name is John, and today we are discussing extending  applications using Application Composer.

    Step 1
  2. In this demo, we'll test the custom due date field and its validation. That's functionality we created in the previous demos in this series.

    Step 2
  3. This is the last of four related demos that show you how to create a custom date field, display it in the UI, and create a validation rule to constrain the values users can enter.

    Step 3
  4. To begin testing we navigate to the Trouble Tickets work area.

     

    Click the Navigator link.

    Step 4
  5. Click the Trouble Tickets link.

    Step 5
  6. Let's edit a trouble ticket.

    Click the Abstract link.

    Step 6
  7. And let's create an activity.

     

    Click the Add Row button.

    Step 7
  8. Let's collapse the left pane of our page, to see the due date.

     

    Click the Collapse Pane button.

    Step 8
  9. Notice that the application defaulted a due date that's 24 hours from now.

    Step 9

  10. Let's enter an activity name.

     

    Enter the desired information into the Activity Name field. Enter

     a valid value
     e.g.
     "Discuss fire safety improvements"
    .

    Step 10
  11. To test our validation script, let's enter a due date that's more than a week off.

     

    Click the Select Date and Time button.

    Step 11
  12. Click the 17 button.

    Step 12
  13. Click the OK button.

    Step 13
  14. Let's save.

    Click the Save button.

    Step 14
  15. We got the error message we expected, so let's enter a valid due date.

    Click the Select Date and Time button.

    Step 15
  16. Click the 10 button.

    Step 16
  17. Click the OK button.

    Step 17
  18. This date should work, so let's save and close.

    Click the Save and Close button.

    Step 18
  19. No error message this time. Everything works the way we expected. We are done.

    Step 19

  20. In this demo, we tested the custom due date field and the validation rule we created in Application Composer.

    You can find additional learning resources in your Oracle Fusion Help application, as well as in the Oracle Learning Library, and at Oracle University. Thank you.

    Step 20

Table of Contents  Start Topic