Darren,
I've just started using JSunit and ran into the same issue. After digging
through some of the servlet code, I discovered that an URL with the following
parameters works:
http://localhost:9080/jsunit/displayer?id=1237832154921&browserId=0
id is the test suite id and
browserId is the browser id.
For a log file with the name JSTEST-1237579898520.0.xml, the browserId is 0 and
the test id is 1237579898520 (or you may have the test id from when you ran the
test)
Andy
--- In jsunit@yahoogroups.com, "derailedbydtrain" <ironsidevsquincy@...> wrote:
>
> Ok, silly me, I've worked out number 2) can be fixed with the
> formatter element withing the junit task. I guess 3) is also not that
> important now, as I can save the log.
>
> However, 1) is still something I'd like to be able to do. Has anyone
> any ideas?
>
>
> --- In jsunit@yahoogroups.com, "derailedbydtrain"
> <ironsidevsquincy@> wrote:
> >
> > Hi everyone
> >
> > I've just started using JsUnit. I'm running it as a server on a
> > remote machine, and have a couple of questions...
> >
> > 1) Can you specify which browser to test from the client mcahine?
> If
> > I set the browserFileNames property on my client machine, but leave
> > it blank on the server-side, nothing happens, but if I set it on
> the
> > server, that browser is run. This seems to indicate that I can't
> pass
> > which browser to run through to the server.
> >
> > 2) Can I save the log results on my client machine? Running the ant
> > distributed_test target, a log is created on the server and this
> log
> > is printed out to the console, but I want to save a copy onto my
> > client machine
> >
> > 3) Finally, is the documented url to view logs correct? According
> to
> > the docs, you visit, say, http://localhost:8080/jsunit/displayer?
> > id=1060383133116, but this giver me an error 'A Test Result ID and
> a
> > browser ID must both be given', so I guessed they've changed the
> > parameters to pass through.
> >
> > Oh, I'm using JsUnit-2.2a11
> >
> > Thanks
> >
> > Darren
> >
>