Hi,

what kind of problem do you have with this test?

If I correctly remember, <script for="..."..> is specific to IE. Have you tried to simulate Firefox?

Cheers,
Marc.

David Jehoul a écrit :
Hi,

I have a situation where a page action is executed whilst just setting an input field.

This is (part of) the script:

…

<setInputField

      description="GoodsReceiptSearch.toNo_transportOrderLineNr="

      name="transportOrderLineNr"

      value="01"

/>

<verifyTitle

      regex="true"

      text=".*Goods Receipt Search"

/>

…

The log file shows the following:

[setInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: setInputField "GoodsReceiptSearch.toNo_transportOrderLineNr=" (489/670)

[setInputField] INFO (com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable fields, considering only the first one

[setInputField] WARN (com.gargoylesoftware.htmlunit.html.HtmlScript) - <script for='document' ...>: no element found with id "document". Ignoring.

[setInputField] INFO (com.canoo.webtest.engine.WebClientContext) - Content of window changed to http://172.21.0.132:9080/receipt_detail.jsp (text/html)

[setInputField] INFO (com.canoo.webtest.engine.WebClientContext) - Content of current window changed, it will become current response

[setInputField] INFO (com.canoo.webtest.engine.WebClientContext) - Current form set to none

[setInputField] INFO (com.canoo.webtest.engine.WebClientContext) - Current response now: http://172.21.0.132:9080/receipt_detail.jsp

[verifyTitle] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: verifyTitle (490/670)
I don’t know exactly how to read this, but I don’t understand the 3^rd line. Might this be the reason why the content of the window changes? Any idea what I can do about it?

Many thanks!

David


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to