[Webtest] Testing Problem with OLAT Framework

Patrick Berchten Patrick Berchten <berchten@semafor.ch>
Thu, 18 Sep 2008 09:46:14 +0200


This is a multi-part message in MIME format.
--------------010504070509040107050602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello everyone

I've got a little Problem with my testings. I wanted to write a little 
test to control the working state of my OLAT Installation.
OLAT is a web-based open-source Learning Management System (LMS) based 
on Java. --> Olat.org <http://www.olat.org>

here is my script:

  <webtest name="myLoginTest">
      <invoke url="http://olattest.ktsi.ch/olat/dmz/"/>
      <setInputField name="lf_login" value="administrator"/>
      <setInputField name="lf_pass" value="****"/>
      <clickButton name="olat_fosm_0"/>
    </webtest>

The error produced by the HTML-Result Page:

JavaScript error loading page 
http://olattest.ktsi.ch/olat/auth/1%3A1%3A0%3A0%3A0/: TypeError: Cannot 
read property "b_body" from undefined 
(http://olattest.ktsi.ch/olat/raw/js/ext-2.0.2/ext-custom.js#31)

My OLAT Installation can be found under: olattest.ktsi.ch 
<http://olattest.ktsi.ch>

If needed i can add the whole webtest log.

My thanks!!

Regards

Patrick

--------------010504070509040107050602
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello everyone<br>
<br>
I've got a little Problem with my testings. I wanted to write a little
test to control the working state of my OLAT Installation.<br>
OLAT is a web-based open-source <span class="term">Learning Management
System (LMS)</span>
<script src="http://www.olat.org/website/en/html/wz_tooltip.js"
 type="text/javascript"></script> based on Java. --&gt; <a
 href="http://www.olat.org">Olat.org</a><br>
<br>
here is my script:<br>
<br>
&nbsp; &lt;webtest name="myLoginTest"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;invoke url=<a class="moz-txt-link-rfc2396E"
 href="http://olattest.ktsi.ch/olat/dmz/">"http://olattest.ktsi.ch/olat/dmz/"</a>/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;setInputField name="lf_login" value="administrator"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;setInputField name="lf_pass" value="****"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;clickButton name="olat_fosm_0"/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/webtest&gt;<br>
<br>
The error produced by the HTML-Result Page:<br>
<br>
JavaScript error loading page
<a class="moz-txt-link-freetext"
 href="http://olattest.ktsi.ch/olat/auth/1%3A1%3A0%3A0%3A0/:">http://olattest.ktsi.ch/olat/auth/1%3A1%3A0%3A0%3A0/:</a>
TypeError: Cannot
read property "b_body" from undefined
(<a class="moz-txt-link-freetext"
 href="http://olattest.ktsi.ch/olat/raw/js/ext-2.0.2/ext-custom.js#31">http://olattest.ktsi.ch/olat/raw/js/ext-2.0.2/ext-custom.js#31</a>)<br>
<br>
My OLAT Installation can be found under: <a
 href="http://olattest.ktsi.ch">olattest.ktsi.ch</a><br>
<br>
If needed i can add the whole webtest log.<br>
<br>
My thanks!!<br>
<br>
Regards<br>
<br>
Patrick
</body>
</html>

--------------010504070509040107050602--