Forum Discussion

Kinna's avatar
Kinna
Senior Member
5 years ago
Solved

String Comparion in Code Expression for Keyword Test within Visual Basic project suite

RESOLVED:  When using in the IF ... THEN Keyword test statement, must be Code expression with double quote mark before and after the string when not in a variable.   In a Keyword test after setti...
  • tristaanogre's avatar
    5 years ago

    aqString.Find should work as a code expression.  Keep in mind, it returns an integer value that if it's a value of anything other than -1, the string is found.  So, you need to make sure you build your logic in the keyword test appropriately.

     

    If you can provide a screenshot of what you have implemented, we can help you figure out what's missing.