Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
18 years ago

count assertion question

I want to use a count assertion but in the expected result I want something like '>3'.  How can I put an expression as opposed to a finite number in the expected results window.

Thanks

Ali
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    put this in the xpath expression instead and set the expected value to "true", ie

    //some/xpath/text() > 3

    which should be

    true

    Hope this helps!

    regards,

    /Ole
    eviware.com