maven 2 - Selenium not closing the command window after executing the tests in IE -


we using maven bases selenium project test gui. after executing test, ie not able close selenium command window. using selenium.stop(); in @after method not closing command window test case passed.

hence more browser sessions opening , server going out of resource , not responding more time. of test cases failing because of this.

since 1 week facing issue. please me in solving it.

plain guess: did try

selenium.close(); 

in @after section?

from javadoc:

public void close()

simulates user clicking "close" button in titlebar of popup window or tab.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -