Forum Discussion

melangoth's avatar
14 years ago

How to use sepcific version of ext. lib. instead if bundled

Hi!

I am new to soapui, I am using now SoapUI 4.0.1. I have a very small .jar that uses selenium webdriver standalone jar for a simple login.

This tool runs well standalone. Runs also well in soapui 3.6.1. if I place my tool.jar and selenium.jar in the ext library, and call them from a simple groovy script.

But in SoapUI 4.0.1, the same script throws an exception, saying that HTML Unit pbject lacks a method (method for finding webelement by css selector).

I found that soapui361 doesnt have htmlunit library on its default lib, so I think it uses the one which is inside the selenium webdriver jar. But soapui401 has htmlunit library version 2.7 in its default lib, so it ignores the one inside selenium.

The problem is that while the htmlunit-2.9 has the necessary method, the htmlunit-2.7 doesn't have. How can I force Soapui4.0.1 to use htmlunit 2.9 instead of 2.7?

Many thanks!
melangoth
No RepliesBe the first to reply