Can some one help me in giving the logic code when user already logged into the web based application the script which he is going to run for other testing includes to login application.

May be if already login I want that to continue with testing