Very interesting. So what is being added to the array in this instance,
or arrays in general, which is causing the problem?

You can run with Firebug active. Change the code to put a try/catch block
around the array.join call in assertInArray. Set a breakpoint in the
exception catching and look at the contents of the array to find what is
the bad content. 

The error message should be constructed within a try/catch block, and if
there is a problem then a default error message without the array
contents could be shown. However, before doing that you should try and
track down the cause of the problem just in case there is something
deep-seated which is causing it.

Hugh

> *Subject:* Re: [qooxdoo-devel] Selenium IDE error
> *From:* "Guilherme Aiolfi" <[EMAIL PROTECTED]>
> *To:* [EMAIL PROTECTED], "qooxdoo Development" 
> <qooxdoo-devel@lists.sourceforge.net>
> *Date:* Fri, 19 Sep 2008 08:34:18 -0500
> 
> Removing '" + array.join(", ") + "' it worked.
> 
> 2008/9/19 Hugh Gibson <[EMAIL PROTECTED]>
> 
> > Looking at the code in qx.core.Assert at line 333 shows some 
> > strange
> > formatting which might actually break Javascript rules. Perhaps an
> > automatic semicolon is being inserted after the end of the line 
> > above.
> >
> > The line is:
> >
> > "The value '" + value + "' must have any of the values defined in
> > the array '"
> >        + array.join(", ") + "'"
> >
> > Similarly for the next assert. Could you try changing that line 
> > and
> > putting the "+ array.join ..." line at the end of the line above?
> >
> > Another thought: perhaps there is some element in the array which 
> > Firefox
> > isn't letting you access - perhaps a function added by Selenium 
> > IDE or
> > even qooxdoo. Try just deleting the array.join part of the error 
> > message -
> > it's a bit of overkill anyway as the array might have thousands of
> > elements which will appear in your debug output if the assert 
> > fails.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to