The exact syntax of <clickLink htmlId="next"/> was tried as was
<clickElement htmlId="next"/>.

I assumed that clicking that link triggered an entire page refresh, but
on second look it seems like only the bottom frame is refreshed. A last
result page is linked in the report, however it is of the same original
page that was invoked, not the next page in the report.

The error in the logs looks as follows:

JavaScript error loading page 

Wrapped java.lang.IllegalArgumentException: No encoding type found for
[application/x-www-form-urlencoded;charset=utf-8] (script in
http://10.224.55.216:8080/app/report/rpt/view.do?type=html&file=Reoport.
rpt&interval=this_year&sessionId=SESSID from (17, 54) to (0, 0)#39)

Thanks,

Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: Thursday, October 04, 2007 11:38 AM
To: [email protected]
Subject: Re: [Webtest] Crystal Reports / JavaScript Links

Goldberger, Michael wrote:
> The link was identified in multiple ways, however the common tactics
for
> following a link do not produce a result (using invoke, clickLink,
> clickElement -- using href/url/htmlId). It is essentially no result
from
> any of those steps, the test fails on that click/invoke step and no
> further steps are executed.

<clickLink htmlId="next"/> would be a correct way here.

What do you mean with "no result"? No "last result page" in the report?
What does this link in a "real" browser? Does it trigger a load of
complete new page or just a part of the current page? What does the log
says (at debug level) when link is clicked? Finally which WebTest build
do you use?

Marc.
-- 
Blog: http://mguillem.wordpress.com

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
The information contained in this email and document(s) attached
are for the exclusive use of the addressee and may contain
confidential information. If the recipient of this e-mail is not
the addressee, such recipient is strictly prohibited from reading,
photocopying, distributing or otherwise using this e-mail or its
content in any way.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to