Re: [Selenium-users] Asserting Regular Expressions

2005-11-05 Thread Mike Williams
Peter Bernier wrote: 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. Peter, you're quite co

Re: [Selenium-users] Asserting Regular Expressions

2005-11-04 Thread Peter Bernier
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

Re: [Selenium-users] Asserting Regular Expressions

2005-11-04 Thread Luke Closs
On Fri, Nov 04, 2005 at 04:30:34PM +, 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.

Re: [Selenium-users] Asserting Regular Expressions

2005-11-04 Thread Peter Bernier
I was able to figure this out. ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

[Selenium-users] Asserting Regular Expressions

2005-11-04 Thread Peter Bernier
Hello, I seem to be having some issues with using Regular Expression within Selenium. Specifically, what I'm trying to do is verify that a particular regular expression can be matched somewhere in the visible results of my page. The Selenium command that I'm trying to execute is this: