Forum Discussion
Jack21Z
11 years agoOccasional Contributor
nmrao wrote: 1. Since housenumber is defined as list in your script, assuming that you might get a list of values
2. what is the result for the assert item instanceof java.lang.String?
1. now i understand...so if i define as list then he treat my data as list:
i defined the housenumber as list because i assumed that my JDBC request has 0 or more results.
2. when i assert item if String it returned OK...but when i assert item if Character i got an assertion failed
So maybe i do checking first if my JDBC result is 1 or more?