Is there any function in winrunner which will clear the history of the browser?
Actually the script is working fine when we execute for the first time. But when we execute in the second time it is directly going inside the application without asking for login credentials by taking the path from the browser history. So the script fails. It is working fine if I clear the history of the browser before each run.
This is not the matter of clearing the history. In any case it should not allow we to login to application with entering login credentials. I think this is application bug.
To clear history :
del "C:Documents and Settings\%USERNAME%