We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
That works, too, but, to solve this issue I found I needed to change the following:
if (KeywordTests.Main.Variables.ourArray != null)
change to:
if (KeywordTests.Main.Variables.ourArray != '')
If I use null here, an empty string is passed to the sql query, causing the syntax error. If I use '' instead of null, no worries. Thanks.
Keywordtest variables do not play well with native array objects. Rather than assigning that array to a keyword test variable, make it a local variable to the function, unless there is some need to have that array available in the keyword test.
That works, too, but, to solve this issue I found I needed to change the following:
if (KeywordTests.Main.Variables.ourArray != null)
change to:
if (KeywordTests.Main.Variables.ourArray != '')
If I use null here, an empty string is passed to the sql query, causing the syntax error. If I use '' instead of null, no worries. Thanks.