Forum Discussion

EmBer's avatar
EmBer
New Contributor
12 years ago

Alternative to adding multiple contains assertions.

I've noticed that it's it's very slow to add many assertions to test steps. Also many of my assertions are similar both in content and across tests. Has anyone found a good way of creating reusable assertions?

I'm especially interested in a way to do multiple "contains" assertions in a single step.

1 Reply

  • Hi EmBer,

    The best way of doing multiple assertion is add script assertion and do groovy scripting.

    Thanks & Regards
    Saravanan Ramamoorthy