Hi Everyone,
Let driver will be any driver (safari/FF/Chrome/IE) , on using driver.close() / driver.quit(), will these delete the cookies.
my requirement is to test as follows ;
1) user should login in with his user credentials with xyz website.
2) first time, it will ask for some security questions..
3) It will redirects to user home page.
Please note :
-->if the same user login again in the same browser without closing it, then it should take to step 3 instead. (since cookies remains same and it will not got to login page)
-->if user closes the browser and reopens it again , then he has to go for step 1 , then application takes to step 3 and not to step 2.
I am following an approach:
1) write first method which will open the browser and do from step 1 to 3 and close the browser.
2) write second method, which will do step 1 and 3 verification.
is there any way to perform the above approach in single step. my intension is to delete the cookies and then use same browser to test it without closing.
Please free to ping me in case needed. Thank you everyone in advance for this help.
my Skype id : vinoth.velus