LPS interview question

How to do testing on login function?