Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Today at 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

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


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