[Webtest] [Fwd: XmlHttpRequest: page text doesn't change after ajax call though it should.]

Andrew Sickorsky andrew.sickorsky@texunatech.com
Tue, 23 Oct 2007 10:46:03 +0400


This is a multi-part message in MIME format.
--------------040303040206020206090708
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hello all!

I faced with AJAX problem: for some reason page doesn't updated after 
XmlHttpRequest performed (Prototype library was used; ideally some text 
should appear, but nothing happens). Env: last build of HtmlUnit, 
Webtest R1619, ant 1.6.5 were used. Tested with IE and FF user agents.

Steps:
 - open page (<invoke>
 - fill in form and submit (<setInputField> + <clickButton> + <groovy> print currentResponce)
 - verify that page text changes (it should! - <verifyText>)

Interesting point: there is no text in clickButton result page though it is in the groovy printed current responce though verfiyText finds nothing.

Thanks in advance
Andrew



--------------040303040206020206090708
Content-Type: text/x-vcard; charset=utf-8;
 name="andrew.sickorsky.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="andrew.sickorsky.vcf"

YmVnaW46dmNhcmQNCmZuOkFuZHJldyBTaWNrb3Jza3kNCm46U2lja29yc2t5O0FuZHJldw0K
b3JnOnRleHVuYXRlY2gNCmFkcjtkb206OztNYWdpc3RyYWxuYXlhIHN0cmVldCwgNSAtIDMz
O01vc2Nvdw0KZW1haWw7aW50ZXJuZXQ6YW5kcmV3LnNpY2tvcnNreUB0ZXh1bmF0ZWNoLmNv
bQ0KdGl0bGU6VGVzdGVyDQp0ZWw7d29yazorNyA0OTUgOTgwOTA2Nw0KdGVsO2NlbGw6Kzcg
OTA5IDkwNzAzMjgNCngtbW96aWxsYS1odG1sOlRSVUUNCnVybDp3d3cudGV4dW5hdGVjaC5j
b20NCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQNCg0K
--------------040303040206020206090708--