selenium automation test in Linux problem: firefox can't be closed automatically -


i running automation testing web gui in linux selenium (selenium rc). in fact, can run selenium automation test in windows, results fine , firefox can closed automatically after test finished. but when put selenium test in linux, found firefox can't closed automatically after test finished. know test script call teardown function default, firefox should closed. why in linux, firefox can't shutdown automatically?

to deal problem: override teardown function below:

public void teardown() throws exception     {         selenium.click("link=logout");         super.teardown();     } 

but in linux, firefox still can't closed.
me problem? how make firefox close after test finished? p.s: far, haven't found way close firefox, , way, use parameter -firefoxprofiletemplate launch selenium-server.jar, because web gui https.

problem solved: because of firefox. occurring because selenium wants start firefox binary directly, rather delegate normal launch script. before checking "firefox" (which script on many installations), checks "firefox-bin". set firefox start firefox not firefox-bin. more details found at: selenium not working firefox 3.x on linux


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -