IT FRESH-300
client not starting when config is not completed
Testcase to check login with wrong data and that no matter what data you set, the application doesn’t crash
Login with correct properties
-
open application with your current config
* => application opens
- delete your properties file and open the application again
- => the popup with license appears
- press ok
- => server connection (MyAppsServer, MyDataBase etc), buttons are red
- on server connection don’t setup anything, press ok
- => error message NoDBConnection
- press ok on the error message, set the application host and press test application
- => button gets green, the one for DB is still red, but the correct data is set and readonly
- press ok twice, choose language, press ok, choose role and press ok again
- => application opens fine
- logout, delete properties again
Login and write wrong data in properties file
- login and leave application host like it is and put wrong data in database, press ok
- => error message with NoDBConnection
-
press on x, open application again
-
set correct dates in database (don’t change application host)
- test database to make sure you wrote well, press ok
- => if database is ok button turns green
- choose language and role
- => application opens fine
Login with wrong properties file
-
change the properties file as it’s a wrong one:
-
open it and where you see “Connection=” write “test” after it, and let the rest of the line which was there
-
save and open the application again
- => the server connection opens with the same config like when you remove the properties file
- => if you press x the application closes, if you press ok you get the error with the NoDBConnection
View source file on GitHub.com