If -text command fails with NSL7SP3 HF1

  • 7008180
  • 25-May-2012
  • 28-Jun-2013

Environment

NetIQ SecureLogin
NSL7.0.3
NSL7.0.3 HF1

Situation

SecureLogin fails to recogognize and act upon "If -text" command
The "if -text" command does not work with NSL7.0.3, but works fine with prior versions.
The following script logic fails works fine with NSL7.0.2 HF7, but fails with NSL7SP3 or NSL7.0.3 HF1:
If -text "Sometext"
  MessageBox "Sometext found by If -text"
EndIf
 

Resolution

Resolved with NSL7.0.3 HF2 or newer.

Workaround:  use GetText instead of If -text. 
To continue with the example above, the following logic works fine with NSL7.0.3 & 7.0.3 HF1:

GetText ?text
  If "Sometext" -In ?text
  MessageBox "Sometext found by gettext"
EndIf
Substitue the desired commands for the "MessageBox" line.