Testing Problem with OLAT Framework

View: New views
3 Messages — Rating Filter:   Alert me  

Testing Problem with OLAT Framework

by Patrick Berchten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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

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

If needed i can add the whole webtest log.

My thanks!!

Regards

Patrick

Re: Testing Problem with OLAT Framework

by Marc Guillemot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

you've masked the password, is that correct?

A quick test with (coming) release 2.3 of HtmlUnit using "****" as
password didn't produce any error when simulating FF2 but produced an JS
error in a setTimeout'ed task when simulating IE6. I couldn't test what
is the "real" behavior in IE6 as the page didn't load.

Can you provide more info and/or the needed password (you can send it to
me directly)?

Cheers,
Marc.
--
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Patrick Berchten wrote:

> 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

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

Re: Testing Problem with OLAT Framework

by Patrick Berchten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Marc

Thanks for response. That's right i masked the password... I'll change
the installation to a non-productive status so I can tell you the password.
The password is now "olat" without the quotes :-)

I'm using the webtest version 2.6 with htmtunit version 2.2.

regards


> Hi,
>
> you've masked the password, is that correct?
>
> A quick test with (coming) release 2.3 of HtmlUnit using "****" as
> password didn't produce any error when simulating FF2 but produced an JS
> error in a setTimeout'ed task when simulating IE6. I couldn't test what
> is the "real" behavior in IE6 as the page didn't load.
>
> Can you provide more info and/or the needed password (you can send it to
> me directly)?
>
> Cheers,
> Marc.
>  


--
Mit freundlichen GrĂ¼ssen

Patrick Berchten

Semafor AG
4057 Basel
berchten@...

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest
LightInTheBox - Buy quality products at wholesale price!