Forum Discussion
AlexeyKolosov
Staff
14 years agoHi Brian,
What kind of issue do you face using the If...Then operation? I've successfully created a simple keyword test implementing your scenario using the If...Then and Else operations (attached). The test works with the Unbound C1FlexGrid sample. I used the following code expression as the Value1 parameter of the If...Then operation: KeywordTests.Test1.Variables.Var1.Font.Bold
To check the property value, you can also use the Property Checkpoint operation. The sample I've created demonstrates this approach too.
Note that I've created a sample test using TestComplete 9. So, you need to upgrade your version if you are using a previous one.
I hope this helps.
What kind of issue do you face using the If...Then operation? I've successfully created a simple keyword test implementing your scenario using the If...Then and Else operations (attached). The test works with the Unbound C1FlexGrid sample. I used the following code expression as the Value1 parameter of the If...Then operation: KeywordTests.Test1.Variables.Var1.Font.Bold
To check the property value, you can also use the Property Checkpoint operation. The sample I've created demonstrates this approach too.
Note that I've created a sample test using TestComplete 9. So, you need to upgrade your version if you are using a previous one.
I hope this helps.