Hi, I've been playing around with Java Driven Selenium recently, with limited success.
I've managed to get tests running using Jetty as the Command Processor and IE as the browser, but can't seem to close the browser with 'launcher.stop', so each test leaves a browser open. Also, for some reason, the test seems to pause for several seconds at the end of tests. I've attached a sample TestCase which can simply be used with the 'selenium-0.6.0-java' download ( you don't need the source). You just need to change the following : - Modify the attached test case to match your environment - Include the selenium/lib jars and your project jars in the classpath - Add jacob.dll to java.library.path (using something like -Djava.library.path=c:/darrensWorkspace/selenium-0.6.0-java/lib/ - Run the test :-) I'd be interested to see if anyone has any luck with this. Cheers, Darren. >Mike Williams wrote:> For my part, I haven't really tried to get the Java driver working, and don't> know much about the driven code.I'm going to wait a bit to see if I can get more info out of Ralf Kintrup,who said on the selenium-users list that he's gotten it to work.Also, in your "Grand Plans" e-mail, you'd said:> DavidK is part-way through a refactoring which should make it possible> for drivers to actually retrieve useful data from the browser, rather> than just lobbing it "assert" commands.Is that done (or nearly done)? Should I wait a bit and integrate withthat work, or is that expected to take a while yet?-Dan -unless you love someone- -nothing else makes any sense- e.e. cummings_______________________________________________- Show quoted text -Selenium-devel mailing [EMAIL PROTECTED]://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel
SeleniumDrivenTest.java
Description: Binary data
_______________________________________________ Selenium-devel mailing list [email protected] http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel
