try regular expressions? \d-\d\\\d \d matches digits.
assert($ie.contains_text(/\d-\d\\\d/)) this should match 1-1\1 to 9-9\9 but if you reports will have more than one digit, you should use. \d\d to match two digits. Hope it will be usefull. On 9/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > attached is the source of the webpage I want to test. I need to check a > certain text in this area. in this example... particularly the "1-1/1" > string. and that's dynamic depending on the number of reports returned. It > could be 1-3/3, etc... What's the best way in doing this? Thanks. > > > <<SearchResult[1].txt>> > > > -Jan > > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > > > > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
