Ticket #138 (closed defect: fixed)

Opened 9 months ago

Last modified 6 months ago

Cleanup/Update needed for libraries packaged with TestMaker

Reported by: odony Assigned to: fcohen@pushtotest.com
Priority: critical Milestone:
Version: 5.1 Keywords:
Cc:

Description

TestMaker comes with a lot of open-source libraries, packaged in various place in the release. It seems that many of these libraries are present several times in different variations: identical versions but different names, different versions, etc. These libraries also come with their own dependencies, which are sometimes different versions of the same thing, and so on.

This is particularly visible in the WEB-INF/lib of the TestNode web-application installed by TestMaker, which contains a lot of these duplicate libraries. This can have many unwanted consequences and lead to hard-to-diagnose issues, such as the one described in #137.

As a result, it seems that a real cleanup of the libraries is needed, and it could be an appropriate time to upgrade to the latest version of all dependencies. For example, htmlunit 1.13 is an important improvement over the 1.11 currently packaged with webobjects, as 1.12 introduced "enormous improvements particularly in JavaScript support and execution speed", and 1.13 comes with support for onMouse* events!

Change History

09/04/07 07:35:59 changed by odony

I can't edit my original ticket, but what I meant about htmlunit 1.13 is that it comes with support for triggering a few additional mouse events due to new methods on HtmlElement: mouseOver(), mouseMove(), mouseOut(), mouseDown(), and mouseUp().

This is just one of the many improvements listed in http://htmlunit.sourceforge.net/changes-report.html#Release1_12 but it is an important one when simulating user actions, for example if one wants to execute Selenium commands using htmlunit ;-)

10/29/07 20:54:36 changed by fcohen

  • priority changed from major to critical.

I totally agree with this. Plus doing a clean up may solve <a href="http://bugs.pushtotest.com/ticket/127">127</a> at the same time. -Frank

10/29/07 20:54:53 changed by fcohen

  • owner set to llara@avanticatec.net.

11/09/07 22:56:44 changed by fcohen

  • version changed from 5 to 5.1.

11/10/07 10:33:57 changed by fcohen

  • owner changed from llara@avanticatec.net to fcohen@pushtotest.com.

11/10/07 13:50:34 changed by fcohen

I cleaned-up the jar files in TM. The tm5/TestMaker/lib directory has too many jars in my opinion. Here are the changes/issues:

1) I upgraded to HTMLUnit 1.13. I posted a message to the HTMLUnit developers list asking when 1.14 would be released.

2) I found the following duplicate jars in TM5. I resolved the beanutils, logging, junit and log4j conflicts.

commons-beanutils.jar commons-beanutils-1.7.0.jar commons-logging.jar commons-logging-1.0.4.jar commons-logging-1.1.jar htmlunit-1.11.jar htmlunit-1.13.jar jnumeric-0.1a3.jar junit.jar junit-3.8.1.jar log4j-1.2.13.jar log4j-1.2.14.jar log4j-1.2.8.jar commons-httpclient-3.0.1-soapui.jar httpunit.jar

3) TestMaker uses looks 1.2.2.jar and soapUI uses looks-2.1.2.jar. Eventually TestMaker should move up to 2.1.2 and these libraries need to be consolidated.

-Frank

11/10/07 14:03:06 changed by fcohen

  • status changed from new to closed.
  • resolution set to fixed.

Closing this for TM 5.1. Probably should be reopened for 5.2. -Frank