Hi,
I am trying to test an ajax application, developed with cooee. But the
first step fails, because the page, canoo "receives" is not the page, I
can see in my browser. That's because the cooee framework loads the
content with ajax (after the page is loaded) und this doesn't seems to
be done by canoo.
When I click on "resulting page" in the webtest report, I only see "//".
This is the content, which will be replaced by cooee via AJAX.
The test looks as follows:
...
<steps>
<enableJavaScript enable="true" />
<invoke url="index" description="call server"/>
<setInputField htmlId="c_20" value="Username" />
<setInputField htmlId="c_22" value="Password" />
<clickButton htmlId="c_25" />
<verifyText text="Startseite" />
</steps>
...
The error message is:
No element found with id "c_20".
This is obvious, because the page, canoo gets, doesn't contain this
element (because this is created by cooee via ajax).
So, what can I do? How can I test such an application? And why receives
canoo the "wrong" because, which means, why doesn't canoo execute the
ajax call?
Greetings,
Thorsten
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest