when integration tests run selenium plugin maven
<plugin> <groupid>org.codehaus.mojo</groupid> <artifactid>selenium-maven-plugin</artifactid> <version>2.3</version> <executions> <execution> <id>start</id> <phase>pre-integration-test</phase> <goals> <goal>start-server</goal> </goals> <configuration> <background>true</background> </configuration> </execution> <execution> <id>stop</id> <phase>post-integration-test</phase> <goals> <goal>stop-server</goal> </goals> </execution> </executions> </plugin>
the following message received:
lock file still present! c:\users\adm\appdata\local\temp\customprofiledirbb53fd86ecaf4236bf538b7a1171814b\parent.lock
if delete parent.lock file after firefox profile created tests working properly. know how avoid creation of parent.lock file? or other solution
i'm using selenium 2.33.0
the whole exception is
error - failed start new browser session, shutdown browser , clear session data java.lang.runtimeexception: firefox refused shutdown while preparing profile @ org.openqa.selenium.server.browserlaunchers.firefoxchromelauncher.waitforfullprofiletobecreated(firefoxchromelauncher.java:367) @ org.openqa.selenium.server.browserlaunchers.firefoxchromelauncher.populatecustomprofiledirectory(firefoxchromelauncher.java:120) @ org.openqa.selenium.server.browserlaunchers.firefoxchromelauncher.launch(firefoxchromelauncher.java:90) @ org.openqa.selenium.server.browserlaunchers.firefoxchromelauncher.launchremotesession(firefoxchromelauncher.java:412) @ org.openqa.selenium.server.browserlaunchers.firefoxlauncher.launchremotesession(firefoxlauncher.java:114) @ org.openqa.selenium.server.browsersessionfactory.createnewremotesession(browsersessionfactory.java:381) @ org.openqa.selenium.server.browsersessionfactory.getnewbrowsersession(browsersessionfactory.java:125) @ org.openqa.selenium.server.browsersessionfactory.getnewbrowsersession(browsersessionfactory.java:86) @ org.openqa.selenium.server.seleniumdriverresourcehandler.getnewbrowsersession(seleniumdriverresourcehandler.java:810) @ org.openqa.selenium.server.seleniumdriverresourcehandler.docommand(seleniumdriverresourcehandler.java:437) @ org.openqa.selenium.server.seleniumdriverresourcehandler.handlecommandrequest(seleniumdriverresourcehandler.java:407) @ org.openqa.selenium.server.seleniumdriverresourcehandler.handle(seleniumdriverresourcehandler.java:151) @ org.openqa.jetty.http.httpcontext.handle(httpcontext.java:1530) @ org.openqa.jetty.http.httpcontext.handle(httpcontext.java:1482) @ org.openqa.jetty.http.httpserver.service(httpserver.java:909) @ org.openqa.jetty.http.httpconnection.service(httpconnection.java:820) @ org.openqa.jetty.http.httpconnection.handlenext(httpconnection.java:986) @ org.openqa.jetty.http.httpconnection.handle(httpconnection.java:837) @ org.openqa.jetty.http.socketlistener.handleconnection(socketlistener.java:243) @ org.openqa.jetty.util.threadedserver.handle(threadedserver.java:357) @ org.openqa.jetty.util.threadpool$poolthread.run(threadpool.java:534) caused by: org.openqa.selenium.server.browserlaunchers.firefoxchromelauncher$filelockremainedexception: lock file still present! c:\users\adm\appdata\local\temp\customprofiledirbb53fd86ecaf4236bf538b7a1171814b\parent.lock @ org.openqa.selenium.server.browserlaunchers.firefoxchromelauncher.waitforfilelocktogoaway(firefoxchromelauncher.java:318) @ org.openqa.selenium.server.browserlaunchers.firefoxchromelauncher.waitforfullprofiletobecreated(firefoxchromelauncher.java:365) ... 20 more
please ensure following has been configured correctly http://girliemangalo.wordpress.com/2009/02/05/creating-firefox-profile-for-your-selenium-rc-tests/
Comments
Post a Comment