[selenium-users] SeleniumRC Mode

2 views
Skip to first unread message

jignesh c.patel

unread,
May 15, 2006, 6:35:30 AM5/15/06
to selenium-users...@googlegroups.com
jignesh wrote:

> Iam using testrunner hta file and is there any way to generate the
> reports by customizing user exetension file or any other way from
> testrunner mode, I have through the continious integration help but I
> don't find enough information there.if any one have more info on this
> will be very helpfull.


Nope. Selenium Core cannot write test results to disk. In principle it
should be possible for someone to code up an HTA alternative that can
write test results to disk, but as far as I know, no one has done this;
it'd be a significantly larger project than a simple user extension.

(Selenium RC should be able to handle it, if you can get it to work...
Whatever happened with your Firefox issues? What version were you using?)

-Dan

Hi Dan,
I am using mozilla firefox 1.5.0.1 version. same kind of
issue is with IE browser also Iam not able to run through IE 6.0 the
Log it was showing in the command prompt is below:

*D:\selenium-remote-control-0.7.1\server>* java -jar selenium-server.jar
-htmlSuite "*iexplore D:\Program Files\Internet Explorer\IEXPLORE.EXE"
"http://www.google.com"
"C:\selenium-0.6.0\selenium\tests\GoogleTestSuite.html"
"C:\SELRES\results.html" -timeout 50

May 15, 2006 3:25:14 PM org.mortbay.http.HttpServer doStart
INFO: Version Jetty/0.7.1
May 15, 2006 3:25:14 PM org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
May 15, 2006 3:25:14 PM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server,/selenium-server]
May 15, 2006 3:25:14 PM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server/driver,/selenium-server/driver]
May 15, 2006 3:25:15 PM org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:4444
May 15, 2006 3:25:15 PM org.mortbay.util.Container start
INFO: Started org.mortbay.jetty.Server@8814e9
reg returned: 5009
at
org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:591)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
at
org.openqa.selenium.server.browserlaunchers.WindowsUtils.writeIntRegistryValue(WindowsUtils.java:478)
at
org.openqa.selenium.server.browserlaunchers.WindowsUtils.writeBooleanRegistryValue(WindowsUtils.java:482)
at
org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.changeRegistrySettings(InternetExplorerCustomProxyLauncher.
java:120)
at
org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.launch(InternetExplorerCustomProxyLauncher.java:70)
at
org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:43)
at
org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:229)
Shutting down...

Regards,
Jignesh C.Patel




jignesh c.patel

unread,
May 16, 2006, 8:22:25 AM5/16/06
to selenium-users...@googlegroups.com
jignesh wrote:

> Hi Dan,
> I am using mozilla firefox 1.5.0.1 version. same kind of
> issue is with IE browser also Iam not able to run through IE 6.0
> the Log it was showing in the command prompt is below:
>
> *D:\selenium-remote-control-0.7.1\server>* java -jar
> selenium-server.jar -htmlSuite "*iexplore D:\Program Files\Internet
> Explorer\IEXPLORE.EXE" "http://www.google.com"
> "C:\selenium-0.6.0\selenium\tests\GoogleTestSuite.html"
> "C:\SELRES\results.html" -timeout 50
>
> [...]
> reg returned: 5009


Interesting. Could you try it again with the latest nightly snapshot
from here?

http://release.openqa.org/selenium-remote-control/nightly/selenium-remote-control-0.7.2-SNAPSHOT.zip


-Dan


Hi Dan,
I have tried with the latest nightly snapshot with IE but
it is generating the following log displayed below


*D:\selenium-remote-control-0.7.2-SNAPSHOT\server>*java -jar
selenium-server.jar -htmlSuite "*iexplore D:\Program Files\Internet
Explorer\IEXPLORE.EXE" "http://www.google.com"
"C:\selenium-0.6.0\selenium\tests\GoogleTestSuite.html"
"C:\SELRES\results.html" -timeout 50

May 16, 2006 4:29:07 PM org.mortbay.http.HttpServer doStart
INFO: Version Jetty/0.7.2-SNAPSHOT
May 16, 2006 4:29:07 PM org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
May 16, 2006 4:29:07 PM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server,/selenium-server]
May 16, 2006 4:29:07 PM org.mortbay.util.Container start
INFO: Started HttpContext[/selenium-server/driver,/selenium-server/driver]
May 16, 2006 4:29:07 PM org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:4444
May 16, 2006 4:29:07 PM org.mortbay.util.Container start
INFO: Started org.mortbay.jetty.Server@8814e9
Backing up registry settings...
Modifying registry settings...
java.lang.RuntimeException: exec return code 5009: The registry value
already exists. Use REG UPDATE to overwrite it.
at
org.openqa.selenium.server.browserlaunchers.WindowsUtils.writeIntRegistryValue(WindowsUtils.java:505)
at
org.openqa.selenium.server.browserlaunchers.WindowsUtils.writeBooleanRegistryValue(WindowsUtils.java:510)
at
org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.changeRegistrySettings(InternetExplorerCustomProxyLauncher.
java:124)
at
org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher.launch(InternetExplorerCustomProxyLauncher.java:83)
at
org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:44)
at
org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:254)
Shutting down...

--

/*Regards
Jignesh C.Patel*/



Reply all
Reply to author
Forward
0 new messages