yosefconsolacion / tempIPIS

0 stars 0 forks source link

Test Case 2-1: When adding a new patient with completely filled out fields, the system HANGS #3

Closed jloreanlopez closed 10 years ago

jloreanlopez commented 10 years ago

Precondition: The user was able to log into the system.

In the [main menu / today] screen, click on PATIENT, then

  1. Select NEW PATIENT

In the [New Patient] screen,

  1. Fill out all fields with appropriate entries Name: Lopez, Justine L. Year of Birth: 1993 Sex: F Address: Manila PhilHealth: ph dependent
  2. Click the OKAY button to save

*With regards to the restriction of making the user fill out ALL fields, i decided to do what it says to see if it STORES DATA. What happens is that when i click the OKAY button, it hangs.

hang

In Netbeans, the following errors were found:

You did not edit the Auth.txt file hang2

No auth.txt file can be found in the system project auth txt cannot be found

*NOTE: I have changed the username and password in the DBConnector.java file to match my username and password for mySQL but after running the program, it still requests me to change the auth.txt file which cannot be found.

int-argc commented 10 years ago

The auth.txt file is not found in the system project(packages). It is located with the src and bin folders (not inside them). Also please check if you downloaded the latest DBConnector.java from GitHub where the database path is ""jdbc:mysql://localhost:3306/orangedb".

Please comment if the problem still occurs.

jloreanlopez commented 10 years ago

The problem still occurs. I am using the latest DBConnector.java & i have the latest JDK. I have also changed the auth.txt file but the problem persists. This time i cannot run the system at all.

connector connector2 auth connector3 error

int-argc commented 10 years ago

Yeah, you have the right Connector.java. The auth.txt in the DBConnection package is not the one to edit. Try editing the one outside the src files. To do this: 1.) Open the project folder in Windows explorer (not in Netbeans) 2.) Then you'll find an "auth.txt" (this is a different one than the one you highlighted) file there. 3.) Edit that file then try again.