I'm using selenium-0.5.0
It didn't work by simply using Assert.matches. Do you
need to instantiate an Assert object to use the
convenience method?
--- David Kemp <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED]
> wrote on 08/09/2005
> 07:25:52 AM:
>
> > I got it working with this.
> >
> > a =
[EMAIL PROTECTED]
wrote on 08/09/2005 07:25:52 AM:
> I got it working with this.
>
> a = new Assert();
> a.assertMatches(expectedValue, actualValue)
>
> I'm not sure if this is the "right" way but this is
> how I managed to get it working. Please let me know if
> there is a better way.
>
Wha
I got it working with this.
a = new Assert();
a.assertMatches(expectedValue, actualValue)
I'm not sure if this is the "right" way but this is
how I managed to get it working. Please let me know if
there is a better way.
Jay
--- Jay Donnell <[EMAIL PROTECTED]> wrote:
> Thanks, but that didn't
Thanks, but that didn't work either. Now I get
Assert.matches is not a funciton
Can someone give a working example of a custom test?
Here is my code.
Selenium.prototype.assertNumReturned =
function(locator, text) {
var expectedValue = text;
var actualValue = '5';
Assert.matches(exp
Yes, it is out of date.
Please replace
this.assertMatches(expectedValue,
actualValue);
with
Assert.matches(expectedValue,
actualValue);
Cheers,
David
David Kemp
ThoughtWorks Australia Pty Ltd
http://www.thoughtworks.com
[EMAIL PROTECTED]
wrote on 07/09/2005 07:30:37 AM:
> I copied th
Jay Donnell a écrit :
I copied the example code for
Selenium.prototype.doTypeRepeated from
http://selenium.thoughtworks.com/seleniumReference.html
I put it in a file called user-extensions.js but when
I run it I get this error in the firefox js console.
this.assertMatches is not a function
I copied the example code for
Selenium.prototype.doTypeRepeated from
http://selenium.thoughtworks.com/seleniumReference.html
I put it in a file called user-extensions.js but when
I run it I get this error in the firefox js console.
this.assertMatches is not a function
Is the documentation outd