Skip to main content
10 events
when toggle format what by license comment
Jan 12, 2020 at 15:00 history tweeted twitter.com/StackSQA/status/1216374439690018818
Dec 23, 2019 at 18:07 answer added wec timeline score: 1
Dec 23, 2019 at 11:43 comment added NarendraR setup method is not getting executed is causing this error. either you need to debug and make this working or write setup method code in static block.
Dec 23, 2019 at 11:01 comment added Aman Kumar @UpdeshKumar this solution doesn't work for me.
Dec 23, 2019 at 11:01 comment added Aman Kumar @NarendraR after debugging I observed that setup method is not getting executed and when I initialize LoginPage object lp before the statement lp.pageVerify it worked, but it throws another null pointer exception to the statement where I am calling again the method of login page i.e. lp.loginIntoApp(email, password); and in line emailTextField.sendKeys(username); of LoginPage.java
Dec 23, 2019 at 9:57 comment added NarendraR I'm not sure whether 'setup method' is executed or not. can you debug that using some print statement over there ?
Dec 23, 2019 at 9:48 comment added NarendraR ` lp = new LoginPage(driver); lp.pageVerify();` will work
Dec 23, 2019 at 9:38 comment added Updesh Kumar maybe coz you are using the Driver as private in LoginPage.
Dec 23, 2019 at 6:30 review First posts
Dec 23, 2019 at 7:05
Dec 23, 2019 at 6:30 history asked Aman Kumar CC BY-SA 4.0