DB Call returns "None" in write file

rv27783rv27783 Posts: 3

Team, I have test suite which has test "DB Tool" . It reads values from abc.txt file. Here is query -
SELECT CUST_ID
|| CUST_CD
|| CUSTNAME
FROM xx.table_table
WHERE CUST_ID = '${PQR}' AND CUST_CD = '580';
While abc.txt file contains PQR values.
while generating file I am getting "None" also in file Which I do not want. How can I avoid None in write file.
Thanks
RV

Tagged:

Comments

  • jakubiakjakubiak Posts: 314 ✭✭✭

    Hi RV, can you be a little bit more specific about how your tests are set up? Please let us know which SOAtest tools you are using. Also please let us know if you are getting any error messages reported, and where specifically you are seeing the value "None". Having a bit more information could help. Thanks!

  • benken_parasoftbenken_parasoft Posts: 463 ✭✭✭

    None is a special constant/keyword in Python. Perhaps you have a bug in your python script?

Sign In or Register to comment.