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 o:801.649.6594 f:801.649.6595 smime.p7s (3K) Download Attachment |
I'll take a look at it tonight.
Brett On 3/6/07, Tim Ruppert <[hidden email]> 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 > > > |
That's great, Brett - thanks.
Cheers, Tim -- Tim Ruppert HotWax Media o:801.649.6594 f:801.649.6595 On Mar 6, 2007, at 4:55 PM, Brett Palmer wrote:
smime.p7s (3K) Download Attachment |
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 <[hidden email]> 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 <[hidden email]> 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 > > > > > > |
In reply to this post by Tim Ruppert
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
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 o:801.649.6594 f:801.649.6595 On Mar 7, 2007, at 12:58 PM, Andrew Sykes wrote:
smime.p7s (3K) Download Attachment |
Brett, I think this should be fixed now. I have updated the patch and reuploaded. Please let me know - and feel free to call - if you continue to have the same issues.
Cheers, Tim -- Tim Ruppert HotWax Media o:801.649.6594 f:801.649.6595 On Mar 7, 2007, at 1:41 PM, 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? smime.p7s (3K) Download Attachment |
In reply to this post by Andrew Sykes
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> > > Sykes Development Ltd > > http://www.sykesdevelopment.com > > > > > > Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
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 o:801.649.6594 f:801.649.6595 On Mar 8, 2007, at 3:07 AM, Andrew Sykes wrote:
smime.p7s (3K) Download Attachment |
In reply to this post by Andrew Sykes
Tim,
I'm not going to have time to look at this in the next few days, hopefully Brett can find some time, alternatively I'll put it on my todo list for later in the month. - Andrew On Thu, 2007-03-08 at 09:02 -0700, Tim Ruppert wrote: > 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> > > > > Sykes Development Ltd > > > > http://www.sykesdevelopment.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Kind Regards > > Andrew Sykes <[hidden email]> > > Sykes Development Ltd > > http://www.sykesdevelopment.com > > > > > > Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
Cool
Cheers, Tim -- Tim Ruppert HotWax Media o:801.649.6594 f:801.649.6595 On Mar 8, 2007, at 9:29 AM, Andrew Sykes wrote:
smime.p7s (3K) Download Attachment |
Hello Everyone,
The hackathon has been fun till now. With all the OFBiz gurus under one roof (I dont consider myself to be one just yet), we have been able to make a lot of headway on Testing, Content Management and Work Effort Management. I am heading the Work Effort Management initiative and this email is focussed on the plans related to that. We had a discussion yesterday under David Jones' guidance and were able to nail down on the design and lay all the Todos. I will cover all the elements of the discussion and also list the tasks that can be worked on. Help in the form of suggestion or coding is always welcome. WorkEffort Application aka Project Management Application - Objective - 1.> make project planning/organization easier and intuitive, 2.> process requests in a better way, 3.> improve iteration planning, 4.> include ability to integrate seamlessly with invoices/billing , 5.> generate detailed and snappy reports, 6.> send email/ mobile notifications. Process - Project Tree - 0 - Project/s (WE) 1 - Sub Project/s (WE) 2 - Task/s (WE) 3 - Sub-Task/s (WE) 1 - Task/s (WE) - These are not assigned to any sub-project 0 - Task/s - These are not assigned to any project 0 - Request/s- 1 - Request Item/s - Projects, Sub-projects and Tasks all are WorkEfforts of a respective type. - Request is a CustRequest and can have many Request Items. - Time Entry can be done from any level or type of WE - Requests and WorkEfforts have many-to-many relationship Effort - Most of the screens and models are already in place. We definitely dont need any changes in the models. We need to add new screens, forms and services. Heres a list of todos - Create Demo data of a project - I am working on this one right now. This will be helpful for reports. We can import this and pick any of the reports and start implement them. Lets start by implementing reports. Create Reports Menu page - Adrian Crum has helped with this. Reports - These are planned to be pdfs but to start with we can start implementing them in HTML. 1. Task by priority (Iteration planning), - Amit 2 Task over time estimate, 3. Project summary (By Supervisor / By Client), 4. Gantt for Project, 5. Tasks of type project, 6. Tasks completed, times task was reopened, Avg. time taken to fix a task , Avg. number of tasks fixed per day, - Amit 7. WE estimate versus actual. UI - All these screens will be in HTML. 1. Tasks assigned to me, - Amit 2. Tasks not assigned, dropdown/popup assign to X 3. Tasks not scheduled 4. Tasks past schedule 5. Estimated schedule/ workload for me Email notifications - 1. Tasks assigned to me 2. Weekly project summary Mobile Notifications - 1. Send SMS alert on any event. - Need to do more research. I have created JIRA issue https://issues.apache.org/jira/browse/OFBIZ-796 and will be a posting a patch soon that contains the Reports MainMenu screen and the demo data. If anyone is interested to be involved in the initiative please let me know. Thanks, Amit Shinde Director, Amicon Technologies Pvt. Ltd., Mumbai, India. "A Premier OFBiz offshore outsourcing destination" |
In reply to this post by Tim Ruppert
I'll be at the hackathon tomorrow. Let's talk about what you are
trying to achieve with passing in a username for automated testing. I'm familiar with what Al was suggesting about a separate controller. The primary motivation was to test services remotely without having to use rmi or webservices. Selenium looks like a good solution for UI testing but we still need a method to unit test services. Brett On 3/8/07, Tim Ruppert <[hidden email]> wrote: > Cool > > Cheers, > Tim > -- > Tim Ruppert > HotWax Media > http://www.hotwaxmedia.com > > o:801.649.6594 > f:801.649.6595 > > > On Mar 8, 2007, at 9:29 AM, Andrew Sykes wrote: > > > Tim, > > > > I'm not going to have time to look at this in the next few days, > > hopefully Brett can find some time, alternatively I'll put it on my > > todo > > list for later in the month. > > > > - Andrew > > > > On Thu, 2007-03-08 at 09:02 -0700, Tim Ruppert wrote: > >> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> > >>>>> Sykes Development Ltd > >>>>> http://www.sykesdevelopment.com > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >>>> > >>>> > >>> -- > >>> Kind Regards > >>> Andrew Sykes <[hidden email]> > >>> Sykes Development Ltd > >>> http://www.sykesdevelopment.com > >>> > >>> > >> > >> > > -- > > Kind Regards > > Andrew Sykes <[hidden email]> > > Sykes Development Ltd > > http://www.sykesdevelopment.com > > > > |
In reply to this post by Amit Shinde
Amit, all,
this is very interesting. As a side note: should we consider some sort of 'reconciliation' with the existing manufacturing code that manages routings, routing tasks, production runs and production run tasks? I'm not saying that you should start your work on the existing code, because it is pretty old and it was built with manufacturing in mind, but it is definitely true that many of the concepts are similar (see below). I think we should consider this at least as a medium term goal (for example it would be nice to improve the scheduling abilities for people and fixed assets). Some of the concepts: *routing*: type of WE, composed by a series of tasks; it's a template that describes the standard set of operations (tasks) needed to manufacture a product; *routing task*: type of WE; it's a template that describe a standard operation in a routing to manufacture a product; it is associated to a Fixed Asset (that the task will use) *production run*: type of WE: it's a real instance of a manufacturing process, cloned by a routing; it is associated to a series of production run tasks (cloned by the routing tasks) and it is associated to the finished product that, at the end of the process will be produced and put in warehouse *production run tasks*: type of WE: one real task that is part of a production run; cloned by a routing task; can consume products (taken from warehouse), as described by the bills of materials of the finished poduct that the production run will produce; it is run in a fixed asset; it has estimated start/end dates, and actual start/end dates; Jacopo Amit Shinde wrote: > Hello Everyone, > The hackathon has been fun till now. With all the > OFBiz gurus under one roof (I dont consider myself to be one just yet), we > have been able to make a lot of headway on Testing, Content Management and > Work Effort Management. I am heading the Work Effort Management initiative > and this email is focussed on the plans related to that. We had a discussion > yesterday under David Jones' guidance and were able to nail down on the > design and lay all the Todos. I will cover all the elements of the > discussion and also list the tasks that can be worked on. Help in the form > of suggestion or coding is always welcome. > > > WorkEffort Application aka Project Management Application - > > Objective - > > 1.> make project planning/organization easier and intuitive, > 2.> process requests in a better way, > 3.> improve iteration planning, > 4.> include ability to integrate seamlessly with invoices/billing , > 5.> generate detailed and snappy reports, > 6.> send email/ mobile notifications. > > Process - > > Project Tree - > > 0 - Project/s (WE) > 1 - Sub Project/s (WE) > 2 - Task/s (WE) > 3 - Sub-Task/s (WE) > 1 - Task/s (WE) - These are not assigned to any sub-project > 0 - Task/s - These are not assigned to any project > > 0 - Request/s- > 1 - Request Item/s > > - Projects, Sub-projects and Tasks all are WorkEfforts of a respective type. > - Request is a CustRequest and can have many Request Items. > - Time Entry can be done from any level or type of WE > - Requests and WorkEfforts have many-to-many relationship > > > Effort - > > Most of the screens and models are already in place. We definitely dont need > any changes in the models. We need to add new screens, forms and services. > Heres a list of todos - > > Create Demo data of a project - I am working on this one right now. This > will be helpful for reports. We can import this and pick any of the reports > and start implement them. Lets start by implementing reports. > > Create Reports Menu page - Adrian Crum has helped with this. > > Reports - These are planned to be pdfs but to start with we can start > implementing them in HTML. > 1. Task by priority (Iteration planning), - Amit > > 2 Task over time estimate, > > 3. Project summary (By Supervisor / By Client), > > 4. Gantt for Project, > > 5. Tasks of type project, > > 6. Tasks completed, times task was reopened, Avg. time taken to fix a task > , Avg. number of tasks fixed per day, - Amit > 7. WE estimate versus actual. > > > UI - All these screens will be in HTML. > > 1. Tasks assigned to me, - Amit > > 2. Tasks not assigned, dropdown/popup assign to X > > 3. Tasks not scheduled > > 4. Tasks past schedule > > 5. Estimated schedule/ workload for me > > > > Email notifications - > 1. Tasks assigned to me > > 2. Weekly project summary > > Mobile Notifications - > 1. Send SMS alert on any event. - Need to do more research. > > > I have created JIRA issue https://issues.apache.org/jira/browse/OFBIZ-796 > and will be a posting a patch soon that contains the Reports MainMenu screen > and the demo data. If anyone is interested to be involved in the initiative > please let me know. > > > Thanks, > Amit Shinde > Director, > > Amicon Technologies Pvt. Ltd., Mumbai, India. > "A Premier OFBiz offshore outsourcing destination" > > > > > > > > |
In reply to this post by Brett
Oh, on the username - the tests in Selenium are on the backend which requires a login. I modified Andrew's patch to pass in the username and password as many of the people I polled at the hackathon also had that featured turned off in their browsers.
Anyways, let's chat and hopefully we can get some direction with these tools when you arrive. As an aside, I'm trying to finish up the webtest integration in the morning which has gone alright. Both options have their issues, but potentially together they have a lot to offer. Cheers, Tim -- Tim Ruppert HotWax Media o:801.649.6594 f:801.649.6595 On Mar 8, 2007, at 9:41 PM, Brett Palmer wrote:
smime.p7s (3K) Download Attachment |
Free forum by Nabble | Edit this page |