Testing the Open To-Do File button

Now that you have made all the connections for the Open To-Do File button, you are ready to test the work you have done so far.

To test the current state of the To-Do List program:

  1. Prepare a simple text file to use for testing. Use the Scrapbook window to create a file called todo.lst with the following lines in it:
    Get a mortgage
    Buy home
    Buy 2nd car
    Renovate home
    Ask for a raise
    

    Save the file in the project_resources\My ToDoList Project directory.

  2. Select Run and then Run main from the menu bar. The To-Do List program appears.
  3. Select the Open To-Do File button. The To-Do List in your program should now be loaded with the items from the todo.lst file:
    Finished ToDoList program UI

Now that you have tested your current progress on the To-Do List program, you are ready to complete the program by making the connections from the Save To-Do File button.