Hi,

I'm using webtest to test a JSF page with AJAX and Rich Faces that has a 
"Search" button. I only did a simple search without much of filtering. I meant 
the search criteria have "default" values. From the tomcat logging. There is 
one row of data return to be displayed but the webtest gives me error and does 
not want to display the page. Here is the error:
[clickButton]  INFO (com.canoo.webtest.steps.request.AbstractTargetAction) - -> 
gotoTarget by clickButton with name: QueryOutboundTransForm:_id36
[clickButton]  INFO (com.canoo.webtest.steps.request.ClickButton) - -> 
findTarget(by input): name=QueryOutboundTransForm:_id36 value=Search
[clickButton] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) - 
runtimeError: message=[ActiveXObject Error: no value for 
Msxml2.DOMDocument.6.0.] 
sourceName=[http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf]
 line=[3] lineSource=[null] lineOffset=[0]
[clickButton] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) - 
runtimeError: message=[ActiveXObject Error: no value for 
Msxml2.DOMDocument.3.0.] 
sourceName=[http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf]
 line=[3] lineSource=[null] lineOffset=[0]
[clickButton] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) - 
runtimeError: message=[ActiveXObject Error: no value for MSXML2.DOMDocument.] 
sourceName=[http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf]
 line=[3] lineSource=[null] lineOffset=[0]
[clickButton] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) - 
runtimeError: message=[ActiveXObject Error: no value for MSXML.DOMDocument.] 
sourceName=[http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf]
 line=[3] lineSource=[null] lineOffset=[0]
[clickButton] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) - 
runtimeError: message=[ActiveXObject Error: no value for Microsoft.XMLDOM.] 
sourceName=[http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf]
 line=[3] lineSource=[null] lineOffset=[0]
[clickButton]  INFO (com.canoo.webtest.steps.Step) - Running with: Canoo 
Webtest: R_1551.
[clickButton]  INFO (com.canoo.webtest.steps.Step) - Exception thrown from this 
class: com.canoo.webtest.engine.StepFailedException
[clickButton]  INFO (com.canoo.webtest.steps.Step) - Message was: JavaScript 
error loading page http://localhost:8080/gaindevhub1/QueryOutboundTrans.jsf: 
Could not retreive a valid progID of Class: Microsoft.XMLDOM. (original 
exception: null) 
(http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf#3)
 INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1551.
 INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class: 
com.canoo.webtest.engine.StepFailedException
 INFO (com.canoo.webtest.steps.Step) - Message was: JavaScript error loading 
page http://localhost:8080/gaindevhub1/QueryOutboundTrans.jsf: Could not 
retreive a valid progID of Class: Microsoft.XMLDOM. (original exception: null) 
(http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf#3)
 INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1551.
 INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class: 
com.canoo.webtest.engine.StepFailedException
 INFO (com.canoo.webtest.steps.Step) - Message was: JavaScript error loading 
page http://localhost:8080/gaindevhub1/QueryOutboundTrans.jsf: Could not 
retreive a valid progID of Class: Microsoft.XMLDOM. (original exception: null) 
(http://localhost:8080/gaindevhub1/a4j_3_1_1-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.jsf#3)

Any explanation?

Thanks,
Gina





      
____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

Reply via email to