I want the dll code for the following test cases (in single dll).
1) A valid username and password. - should pass
2) Invalid username and password. - should fail.
and with one more option,
3) A valid username and Password and Role - should pass.
If any one is invalid it should fail
The query should pass user name to the database and retrieve the password and compare it against the input data.