Adding login test case as @beforetest | Selenium Forum
M
Posted on 30/08/2015
How can i add a login test case as @beforetest as t's occurring before each testscript
To execute each testscript i have to login first..i want to make it one time action..I put it in a @befortest but when the script execute the it first execute login but the @test script throws error as it don't recognize browser.

M
Replied on 31/08/2015

[quote="bibek346@gmail.com":18ueuict]i have to login first..i want to make it one time action..I put it in a @befortest but when the script execute the it first execute login but the @test script throws error as it don't recognize browser.[/quote:18ueuict]

its really well explained in the videos. to completely understand how it can be done you would have to watch a framework.