OFBiz
  1. OFBiz
  2. OFBIZ-2964

seleniumXml: Patch 1 to seleniumXml ofbiz integration

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None
    • Environment:

      eclipse generated patch from svn revision 817293

      Description

      Here is a patch to the framework/testtools/seleniumxml code and build files. I tried this a couple of times but could not avoid some painful merges. There were a lot of changes made between the time the code was introduced into ofbiz and now. We will try to get these patches more frequently to avoid the merge problems.

      This patch includes the following:

      • Updates to the install-seleniumxml target which includes a new 1.0.2 selenium-server jar file
      • Ability to run selenium-server and selenium-xml test cases from the ant targets instead of shell scripts.
      • Ability to use custom FireFox profiles while testing. This lets you avoid the invalid ofbiz certificate error that we saw with the previous version.
      • Updates to Example test case
      • More selenium-rc commands and advanced features for testing AJAX applications.

      I will also add documentation to the ofbiz doc site on how the framework can be setup and run.

      Brett

        Issue Links

          Activity

          Hide
          Erwan de FERRIERES added a comment -

          Commited at rev. 819863 by Hans

          Show
          Erwan de FERRIERES added a comment - Commited at rev. 819863 by Hans
          Hide
          Hans Bakker added a comment -

          Hi Brett.

          i have committed your patch in revision 819863 because i think it is one of the major functions of the system: testing.

          However:

          This community hates tabs, so please change your editor to use 4 spaces instead of tabs. I have changed it now, otherwise they kill me here.

          In the build file you also missed a - <fileset dir="../base/lib/j2eespecs" includes="*.jar"/> line

          Concerning Selenium, I would appreciate on this subject if you could work together with one of my people because we have a number of issues.

          Thank you for working on this because as I said, very important for the further development of ofbiz. We would appreciate however more frequent patches if that is possible?

          Regards,
          Hans

          Show
          Hans Bakker added a comment - Hi Brett. i have committed your patch in revision 819863 because i think it is one of the major functions of the system: testing. However: This community hates tabs, so please change your editor to use 4 spaces instead of tabs. I have changed it now, otherwise they kill me here. In the build file you also missed a - <fileset dir="../base/lib/j2eespecs" includes="*.jar"/> line Concerning Selenium, I would appreciate on this subject if you could work together with one of my people because we have a number of issues. Thank you for working on this because as I said, very important for the further development of ofbiz. We would appreciate however more frequent patches if that is possible? Regards, Hans
          Hide
          Brett G. Palmer added a comment -

          This attachment includes the merged seleniumxml files with revision 818045 of the ofbiz trunk.

          You just need to unzip this file from your ofbiz_home directory and the files should overwrite the existing seleniumxml source and build files.

          This will be easier than trying to merge the patch I already included.

          Let me know if there are any questions.

          Brett

          Show
          Brett G. Palmer added a comment - This attachment includes the merged seleniumxml files with revision 818045 of the ofbiz trunk. You just need to unzip this file from your ofbiz_home directory and the files should overwrite the existing seleniumxml source and build files. This will be easier than trying to merge the patch I already included. Let me know if there are any questions. Brett
          Hide
          Brett G. Palmer added a comment -

          Patch file for the framework/testtools/src/org/ofbiz/testtools/seleniumxml code and build files.

          Show
          Brett G. Palmer added a comment - Patch file for the framework/testtools/src/org/ofbiz/testtools/seleniumxml code and build files.

            People

            • Assignee:
              Hans Bakker
              Reporter:
              Brett G. Palmer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development