Adding [ wso2Dev,Krishantha,Nuwan,Irham ] Hi nipuna,
IMHO driver.quit() will make sure that we properly terminates the test class and quit all the driver instance and running the the next test class with a new instance of driver. On Fri, Dec 11, 2015 at 5:30 PM, Nipuna Chandradasa <nipu...@wso2.com> wrote: > Hi rajeenthini > > If this is the case why don't we close the opened extra browser windows > within each test. If we do this we will end up having one browser window at > the end of the test case.... > > I will look in to this as I refactoring the braking tests. > > Regards > On 11 Dec 2015 5:13 p.m., "Rajeenthini Satkunam" <rajeenth...@wso2.com> > wrote: > >> Hi all, >> >> I have search through the web above $subject.The way I understand is we >> can refine our test code since we are handle multiple browser window or >> single browser window.If we are handle one and only one window we don't >> need to explicitly do driver.quit() , But In case of multiple windows we >> should use driver.quit() because driver.close will close only the window it >> has focused. >> >> Please find references. >> [1] - http://www.testingdiaries.com/driver-close-and-driver-quit/ >> [2] - https://www.youtube.com/watch?v=3vxBBlvxcKE >> >> Correct me if I am wrong. >> >> -- >> >> *Thank You.* >> >> *Rajeenthini Satkunam* >> >> *Associate Software Engineer | WSO2* >> >> >> *E:rajeenth...@wso2.com <rajeenth...@wso2.com>* >> >> *M :+94770832823 <%2B94770832823> * >> >> -- *Thank You.* *Rajeenthini Satkunam* *Associate Software Engineer | WSO2* *E:rajeenth...@wso2.com <rajeenth...@wso2.com>* *M :+94770832823 *
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev