Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Conditional Assertion not working with Has content

Athul
Athul Posts: 6

Trying to use condition assertion, where
If (tag has content)
then
(assert this value).

But for some reason, Has content doesn't work. The test cases passes even though the assertion value is wrong. Has content as a separate condition works fine. But only if I put it has a if condition, there seems to be some problem. Not sure what it is. Attached screen shot of my condition. Please help.

Comments