Problems with open a file on the local harddrive

3 views
Skip to first unread message

Britt Berglund

unread,
May 22, 2009, 12:59:22 PM5/22/09
to selenium-users...@googlegroups.com
I am trying to open a local file with the command selenium.open ("file:///C:/Users/Britt/workspace/First/target/loggingResults/autorunResult.html") and I can open it if I use chrome but then it stops executing commands and I get a error message like:

Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR Server Exception: timed out waiting for window '' to appear\\     at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)\\     at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)\\     at com.unitedinternet.portal.selenium.utils.logging.LoggingCommandProcessor.doCommand(LoggingCommandProcessor.java:141)\\     at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:335)\\     at com.unitedinternet.portal.selenium.utils.logging.LoggingSeleniumMetoder.Newt(LoggingSeleniumMetoder.java:136)\\     at com.unitedinternet.portal.selenium.utils.logging.Testset.main(Testset.java:39).

Does anyone have any ideas about this? Is it not possible to work with local files?

/Britt

Reply all
Reply to author
Forward
0 new messages