Forum Discussion
If value 1 "object property example checked" equal value 2 "true"
👍 Found it helpful? Click Like
✅ Issue resolved? Click Mark as Solution
Already did the same but it's always execute the else statement regardless it's true and false.
- rraghvani23 days ago
Champion Level 3
Any response to this?
To check to see if "False Match" radio button is selected, what property value have you chosen to indicate that the radio button is selected?
- MMZ23 days agoOccasional Contributor
If...else is working fine now with try catch. Further, I made change in playback having value continue with error.
- rraghvani23 days ago
Champion Level 3
Try...Catch operation is used for exception handling. I'm assuming what you have implemented is not correct, as you haven't mentioned what property value you are using to verify in your If...Then operation.
- Hassan_Ballan23 days ago
Champion Level 3
Try to log the value and see what you get, and is the If statement value set as String or as Boolean? refer to https://support.smartbear.com/testcomplete/docs/keyword-testing/basic/operation-parameters.html#Constant for additional details.