[Webtest] Crystal Reports / JavaScript Links
Goldberger, Michael
Goldberger, Michael" <mgoldberger@otn.ca
Fri, 5 Oct 2007 11:03:38 -0400
The exact syntax of <clickLink htmlId=3D"next"/> was tried as was=0D=0A<cli=
ckElement htmlId=3D"next"/>=2E=0D=0A=0D=0AI assumed that clicking that link=
triggered an entire page refresh, but=0D=0Aon second look it seems like on=
ly the bottom frame is refreshed=2E A last=0D=0Aresult page is linked in th=
e report, however it is of the same original=0D=0Apage that was invoked, no=
t the next page in the report=2E=0D=0A=0D=0AThe error in the logs looks as =
follows:=0D=0A=0D=0AJavaScript error loading page =0D=0A=0D=0AWrapped java=
=2Elang=2EIllegalArgumentException: No encoding type found for=0D=0A[applic=
ation/x-www-form-urlencoded;charset=3Dutf-8] (script in=0D=0Ahttp://10=2E22=
4=2E55=2E216:8080/app/report/rpt/view=2Edo?type=3Dhtml&file=3DReoport=2E=0D=
=0Arpt&interval=3Dthis_year&sessionId=3DSESSID from (17, 54) to (0, 0)#39)=
=0D=0A=0D=0AThanks,=0D=0A=0D=0AMike=0D=0A=0D=0A-----Original Message-----=
=0D=0AFrom: webtest-admin@lists=2Ecanoo=2Ecom=0D=0A[mailto:webtest-admin@li=
sts=2Ecanoo=2Ecom] On Behalf Of Marc Guillemot=0D=0ASent: Thursday, October=
04, 2007 11:38 AM=0D=0ATo: webtest@lists=2Ecanoo=2Ecom=0D=0ASubject: Re: [=
Webtest] Crystal Reports / JavaScript Links=0D=0A=0D=0AGoldberger, Michael =
wrote:=0D=0A> The link was identified in multiple ways, however the common =
tactics=0D=0Afor=0D=0A> following a link do not produce a result (using inv=
oke, clickLink,=0D=0A> clickElement -- using href/url/htmlId)=2E It is esse=
ntially no result=0D=0Afrom=0D=0A> any of those steps, the test fails on th=
at click/invoke step and no=0D=0A> further steps are executed=2E=0D=0A=0D=
=0A<clickLink htmlId=3D"next"/> would be a correct way here=2E=0D=0A=0D=0AW=
hat do you mean with "no result"? No "last result page" in the report?=0D=
=0AWhat does this link in a "real" browser? Does it trigger a load of=0D=0A=
complete new page or just a part of the current page? What does the log=0D=
=0Asays (at debug level) when link is clicked? Finally which WebTest build=
=0D=0Ado you use?=0D=0A=0D=0AMarc=2E=0D=0A-- =0D=0ABlog: http://mguillem=2E=
wordpress=2Ecom=0D=0A=0D=0A_______________________________________________=
=0D=0AWebTest mailing list=0D=0AWebTest@lists=2Ecanoo=2Ecom=0D=0Ahttp://lis=
ts=2Ecanoo=2Ecom/mailman/listinfo/webtest=0D=0AThe information contained in=
this email and document(s) attached=0Aare for the exclusive use of the add=
ressee and may contain=0Aconfidential information=2E If the recipient of th=
is e-mail is not=0Athe addressee, such recipient is strictly prohibited fro=
m reading,=0Aphotocopying, distributing or otherwise using this e-mail or i=
ts=0Acontent in any way=2E