Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

WebDriver session when using testng annotation to invoke driver instance

View previous topic View next topic Go down

WebDriver session when using testng annotation to invoke driver instance

Post by kranthi02061984 on Mon Jan 23, 2017 8:00 am

Hi Friends, I am using @BeforeTest annotation of testng to invoke Webdriver instance and @AfterTest to quit the browser. second test does not and null pointer exception java.lang.NullPointerException is displayed for driver. Can anyone please help me fix this issue.

kranthi02061984

Posts : 2
Join date : 2016-03-03

Back to top Go down

Re: WebDriver session when using testng annotation to invoke driver instance

Post by frankh on Mon Feb 13, 2017 3:07 pm

Please post your code.

frankh

Posts : 4
Join date : 2017-02-10

Back to top Go down

Re: WebDriver session when using testng annotation to invoke driver instance

Post by janbaskt on Fri Feb 17, 2017 4:39 pm

you should provide the code to suggest

janbaskt
Active particpant
Active particpant

Posts : 10
Join date : 2016-11-21

http://www.janbasktraining.com/selenium-testing-course/

Back to top Go down

Re: WebDriver session when using testng annotation to invoke driver instance

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum