I don't *think* assertTextPresent works when you pass it an alternate
locator strategy (ie, regexp: ). I spent alot of time trying to get it
to work, and then I ended up using regexp: and assertText (passing it my
target element) to do what I needed.

It's completely possible that I'm wrong about assertTextPresent as I
haven't had time to drill down and see what's going on with it. I just
know that assertText coupled with a quick HTML modification to identify
my target element worked where assertTextPresent didn't..

- Peter

On 11/4/2005, "Luke Closs" <[EMAIL PROTECTED]> wrote:

>On Fri, Nov 04, 2005 at 04:30:34PM +0000, Peter Bernier wrote:
>> I was able to figure this out.
>
>What was the solution?  I've seen lots of people at my office run into
>this same problem.
>
>Luke
>
>--
>Luke Closs
>PureMessage Developer
>There is always time to juggle in the Sophos Zone.
>
>
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to