i'll have to look into your project.
when can come on skype? give me a time.
Hi Ashish,
Sorry for late reply. Can we discussed tomorrow(Wednesday) 9.PM IST.
Please tell me your availability.
Waiting for your reply.
Skype Id :- sumit.bhasin661
Hi Ashish,
As per our discussion on Skype call, i am sending you POM project so please look into this.
Regards
Sumit Bhasin
I found your problem. you're using a constructor in BaseTest.java to initialise Webdriver.
whenever a new instance of loginpage.java or landingpage.java is created, the constructor in BaseTest.java runs and it starts a new firefox. hence the error.
I would suggest moving the driver initialisation to a function and only call that function once.