HowTO Use-extension.js

8 views
Skip to first unread message

fishermoonfr

unread,
Feb 11, 2011, 5:32:33 PM2/11/11
to cubictest-users
Hello i would like to know where can i set the user-extension
javascript path for cubictest.

I saw this in the code :

setExtensionJs

But i do not know where it is possible to set the value

Thank you

Christian Schwarz

unread,
Feb 12, 2011, 11:30:24 AM2/12/11
to cubicte...@googlegroups.com
This is not supported in CubicTest.

You might find a way to do it if you modify the source code of CubicTest.

Regards,

Christian

2011/2/11 fishermoonfr <yflo...@gmail.com>

yfloch752

unread,
Feb 12, 2011, 5:47:23 PM2/12/11
to cubicte...@googlegroups.com
Hi Christian

Thank you for your quick answer.
Unfortunately, i do not know how modify the cubictest code you wrote for lucky cubitest-users.

The following class seem to configure : org.cubictest.exporters.selenium.runner.SeleniumRunnerConfiguration.class

Should i ad something here ?

Regards

Yann

Christian Schwarz

unread,
Feb 13, 2011, 12:51:51 PM2/13/11
to cubicte...@googlegroups.com
I honestly do not know what you should add, and where, to get user extensions to work.
Examining the Selenium RC docs and source code will probably help you.

Regards,

C.

2011/2/12 yfloch752 <yflo...@gmail.com>

yfloch752

unread,
Feb 20, 2011, 3:45:17 PM2/20/11
to cubicte...@googlegroups.com
Hi Christian

I found a solution running myself the selenium server with the option allowing to selenium-user extension file like explained here :

http://seleniumhq.org/docs/08_user_extensions.html

java -jar selenium-server.jar -userExtensions user-extensions.js

and pointing this instance from Cubictest in the test configuration screen.

Thank you

Yann

Christian Schwarz

unread,
Feb 20, 2011, 4:44:45 PM2/20/11
to cubicte...@googlegroups.com
Great! Thanks for sharing that information!

Documentation updated:
http://wiki.openqa.org/display/CT/CubicTest+-+Selenium+Exporter+Plugin

C.

2011/2/20 yfloch752 <yflo...@gmail.com>

yfloch752

unread,
Feb 21, 2011, 5:04:28 AM2/21/11
to cubicte...@googlegroups.com
You are welcome
 
Great to share cubic test.
 
Yann

Reply all
Reply to author
Forward
0 new messages