Forum Discussion

Prudential_UK_A's avatar
Prudential_UK_A
Frequent Contributor
15 years ago

XPathContainsAssertion for CDATA

Hi,
Is there a way to do an xpath assertion against the contents of a CDATA section that does not require a new Groovy Script for each assertion?
I am looking at creating a subclass of XPathContainsAssertion that will operate on a CDATA section. Is there a better way? How owuld I add my assertion to the required menu's?
Regards
Peter

15 Replies