Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

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

Open 1 Answers 37 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 Oct 6, 2017 by anonymous

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.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors

...