Login to the application only if not already logged in
I'm running multiple tests in a batch
So for each test at the beginning, I need to check if it is already logged on and only if not logged on then I should login
How to write such conditional log...