Forum Discussion

kgtest's avatar
12 years ago

XPATH match fails on XLS DataSource blank cell

I am new to SoapUI Pro, and new to Java and assertions.

I have a question on how to handle a blank cell assertion. I am using a datasource of an XLS document, I am doing an XPATH Match assertion which works fine for all of my data/cells, until I get to one that is a blank, or null value in the cell.

What is the approach I should use to properly assert this, or skip this particular XLS cell assertion?

This seems a bit vague after typing it out but I can provide more details as needed.
  • SiKing's avatar
    SiKing
    Community Expert
    empty(//*:node-name)
    expected value is "true".