Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
how do I check if something is not equal to other side in TestComplete? Syntax error while lexing character "!"

Open 1 Answers 41 Views
0 1

I am trying to compare something as below in TestComplete

  If UBound(gropBoxList) >= 0 Then
    Log.Message("Total number of items found: " & (UBound(gropBoxList) + 1))
    if UBound(gropBoxList) != 4 Then
  Else
    Log.Warning("No items found.")
  End If

But, I am getting error Syntax error while lexing character "!"

Kindly advise

1 Answer

0
0

You  can use code as given below:

If UBound(gropBoxList) >= 0 Then
    Log.Message("Total number of items found: " & (UBound(gropBoxList) + 1))
    if UBound(gropBoxList) <> 4 Then
  Else
    Log.Warning("No items found.")
  End If

answered by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...