I have created three packages.
In generic I have base test and other common methods.
In webpage I created class for each web page.
In Script I have my testcases.
I need to execute my all the script through
testng.xml and run only once login and logout functionality of application.
When I used
@AfterSuite to open and close the browser; I'm getting null pointer execption.
How can I run all the test cases in a single login and logout attempt?