Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

DB Call returns "None" in write file

Options
rv27783
rv27783 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

  • jakubiak
    jakubiak Posts: 798 admin
    Options

    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_parasoft
    benken_parasoft Posts: 1,230 ✭✭✭
    Options

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