How to extract empty tag values into a data bank

NeilNeil Posts: 38

Hello,
tool: SOA test 9.9

PART 1
I am extracting a value to data data, sometime the data is expected to be empty.
The data bank throws an exception that: No nodes found.

I want to retrieve some value even though the value is empty.

I tried to go into option of data bank and set extract empty value as 'a' - But it did'nt work

PART2

for the below x-path , The assertion returns - No nodes as the value is empty.
/root/documents/item[1]/note/text()

what will be the x-path to extract some 'x' when value in the tag is empty.

regards,
neil

Comments

  • OmarROmarR Posts: 176 admin

    Hello Neil,

    Have you had a chance to look over the example in the SOAtest Userguide? There is a great example on how to handle empty/missing elements:

    The example may also be found in the help content with in the tool!

Sign In or Register to comment.