I apologize for mixing technologies. The place where I was having SSL issues was with Webtest - not Selenium. Selenium works wonderfully thanks to your patches.

What we're trying to accomplish with Selenium is the ability to run their tests from somewhere outside of the browser (at least to kick them off). Some sort of automated place where they can fit in with an entire test suite running. Selenium RC - and the accompanied links that I sent along a few days ago - give some hope of being able to do that.

I was hoping that you or Brett (or anyone else for that matter), might have a chance to work on this while we're working on otther infrastructure operations. Just let me know.

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595


On Mar 8, 2007, at 3:07 AM, Andrew Sykes wrote:

Tim,

Is there any documentation anywhere for what we're trying to achieve
with Selenium RC?

Here's my guess at what the SSL problem is, although I've not actually
seen it. My Selenium setup runs in webtools (HTTPS), I'm guessing you
tried to run something in ecommerce (HTTP) and ran into javascript
permission problems - would that be correct?

Perhaps this is another reason to go down the route that Al Byers
suggested of using a separate control servlet for testing, i.e. one that
forced everything to either http or https. I don't want to overly
paraphrase Al's idea, but roughly he was suggesting a separate test
control servlet so that everything could be wrapped in a temporary
transaction.

- Andrew


On Wed, 2007-03-07 at 13:41 -0700, Tim Ruppert wrote:
Yeah, I haven't been seeing that on my version - which was a fresh
checkout yesterday, but . . . such is life.  Thanks for looking into
this Andrew.  Do you think you'll have any time to look into the
automated Selenium RC stuff?


The Webtest stuff went REALLY well, but I ran into a problem with SSL.
I'm digging in and hopefully will have a little more info later on.
If anyone has any knowledge of how to get around this - that would be.

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com


o:801.649.6594
f:801.649.6595



On Mar 7, 2007, at 12:58 PM, Andrew Sykes wrote:

Brett,


I saw this one recently, not sure why it's suddenly happening, but
the
fix is easy.


The relevant methods in ModelTestSuite need "public" added to their
signature.


- Andrew


On Wed, 2007-03-07 at 08:14 -0700, Brett Palmer wrote:
Tim,


I had a little trouble applying the patch.  First I had to fix the
controller.xml file to have the correct seleniumHome link.  Now
I'm
getting the following error BSH script error.


org.ofbiz.base.util.GeneralException: Error rendering screen
[component://webtools/widget/SeleniumScreens.xml#SeleniumHome]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
location [component://webtools/webapp/webtools/WEB-
INF/actions/selenium/selenium.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://webtools/webapp/webtools/WEB-
INF/actions/selenium/selenium.bsh],
line [51]: Sourced file:
component://webtools/webapp/webtools/WEB-
INF/actions/selenium/selenium.bsh
: Error in method invocation: No args method getWebTestList() not
found in class'org.ofbiz.testtools.ModelTestSuite' : at Line: 51 :
in
file: component://webtools/webapp/webtools/WEB-
INF/actions/selenium/selenium.bsh
: modelTestSuite .getWebTestList ( )




Brett




On 3/6/07, Tim Ruppert <[EMAIL PROTECTED]> wrote:
That's great, Brett - thanks.




Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com


o:801.649.6594
f:801.649.6595




On Mar 6, 2007, at 4:55 PM, Brett Palmer wrote:


I'll take a look at it tonight.


Brett


On 3/6/07, Tim Ruppert <[EMAIL PROTECTED]> wrote:
I know that some of you (specifically Andrew Sykes and Brett
Palmer
on this topic) have mentioned getting involved in portions of
the
developers conference remotely - and I think I've found a place
where
we could use your help.


Last night, we worked with Andrew's Selenium patch in here -
https://
issues.apache.org/jira/browse/OFBIZ-680 - and it's all
working.  Just
as an aside, I posted an update that takes into account that
people
often do not have the username and password remembered in their
browser - as well as fixing some offset issues and slightly
cleaning
up the HTML in main.ftl.


What we've found is that we'd like to be able to run Selenium in
an
automated fashion as well as seeing the really cool GUI that
Andrew
contributed.  I have some links here should get us started in
this
direction - and would love it if Andrew or Brett (or anyone else
for
that matter) could take a stab at this while we're doing some
Webtest
Spikes today.


Brief documentation of steps needed to run Selenium RC and
Selenese -
http://wiki.openqa.org/display/SRC/Selenium-RC+and+Continuous
+Integration


Selenium RC Installation and usage documentation
- About - http://www.openqa.org/selenium-rc/
- Tutorial -
http://www.openqa.org/selenium-rc/tutorial.html


Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com


o:801.649.6594
f:801.649.6595












--
Kind Regards
Andrew Sykes <[EMAIL PROTECTED]>
Sykes Development Ltd
http://www.sykesdevelopment.com




--
Kind Regards
Andrew Sykes <[EMAIL PROTECTED]>
Sykes Development Ltd
http://www.sykesdevelopment.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to