sunilkumarcm
7 years agoNew Contributor
Wild card in Contains assertion
I have lot of "contains" assertions in my scripts. like assertion content as <ns3:rte>100</ns3:rte>
But unfortunately because of schema changes ,namespace prefix have changed.I have to change ns3 to ns4.And chances are there it may change again to ns7 or ns10 in future
Can I use wild care for namespace prefix like <*:rte>100</*:rte> or please tell me how I can use regular expression in contains assertion