I have a feature which contains code that converts a string to a DOM
object. The code depends on being run in the browser, so when I try to
run tests using Maven, I get the following error:

 <testcase name="OpenSearchTest.testUrls" time="0.016">
        <error message="ReferenceError: &quot;ActiveXObject&quot; is
not defined." type=""/>
    </testcase>

Is there any way to work around this, or should the test be moved from
unit tests to the endtoend tests?

Any help would be much appreciated. Thanks,

                       -Igor

Reply via email to