Hi Everyone,
I'm about to use Cubic Test for some tests and my problem is that in some point I get "permission denied" in Firefox error console for Window.performSubmit operation which blocks whole process. I would like to use my own FF profile instead of created by Cubic Test but I don't have any idea how. This would solve the problem as I have turned same-origin policy off for that profile. Does anyone know how to do this ? I know that in selenium you can start selenium server and FF with arbitrary profile but Cubic Test starts server on its own at a start point.
Thanks for the question,
This could be possible to implement.
Any suggestions for the user interface for such a feature?
It could be a seperate browser type in the browser dropdown, e.g. "Custom laucher". But how is such a custom laucher specified? A path to a configuration file?
C.
Thanks for the reply,
I think the best way to do it would be just to allow custom steps to be the first steps in test. In other words there should be possible to create custom start point which as custom step would be plain java - there we can start the selenium server and appropriate browser with desired parameters. I have tried something similar with starting server in other project and setting CubicTestSeleniumServerAuto to false in launch configuration - which causes cubic test not to start server by itself - but does not work this way - cubic starts the browser but finishes with browser error. I have also read about firefox profile settings in eclipse.ini - but it does not seem to work properly.
A.
I managed to run selenium server from selenium rc with firefox profile but still i have a problem:
*.aat.launch configuration:
<booleanAttribute key="CubicTestSeleniumServerAuto" value="false"/>
so cubic runs on localhost selenium server but does not start its own. Server gets these commands:
15:53:28.380 INFO - Command request: getNewBrowserSession[*firefox, http://foo.com, ] on session null
15:53:28.380 INFO - creating new remote session
15:53:28.474 INFO - Allocated session a685bbeab1a04411ab932405bb9d515e for http:
//foo.com, launching...
15:53:28.536 INFO - Preparing Firefox profile...
15:53:30.842 INFO - Launching Firefox...
15:53:33.039 INFO - Got result: OK,a685bbeab1a04411ab932405bb9d515e on session a
685bbeab1a04411ab932405bb9d515e
15:53:33.054 INFO - Command request: open[http://foo.com, ] on session a685bbeab1a04411ab932405bb9d515e
Problem is that at first browser is launched with correct address like: chrome://src/content/RemoteRunner.html?sessionId=a199378e6199440aa3515471c8c7e4e9&multiWindow=true&baseUrl=http%3A%2F%2Ffoo.com%2F&debugMode=false&driverUrl=http://localhost:4444/selenium-server/driver/
but then it goes directly to foo.com and test is discontinued. Have any idea ?
Sorry for the very late answer.
I do not know exactly what is wrong in your case.
Did you get to the bottom of it?
Did the CubicTest 1.9.2 release help?
It would be nice if custom firefox profiles could be handled with an external Selenium RC server, like the approach you tried.
C.
Are there any news regarding that topic? Is it possible to launch my own firefox profile with cubic test, because the fresh created profile does not trust the ssl certificate of my webapp.
...no, I cannot change anything on the Application side ![]()
Hello,
There are no news regarding this in cubictest 1.9.6.
You could of course configure and use your own selenium server, but
I'm not sure if that will resolve the issue.
C.
end29c6AG-HN-gQK
