13 years ago
How do I refer to object properties when testing their contents?
I am trying to test if a C1FlexGrid cell has its' Font.Bold property set to true or false. I can successfully use [object].C1FlexGrid.GetCellStyleDisplay(x,y) in order to assign the contents to an object variable, where [object] is my application object.
I have tried to use something like 'If KeywordTests.[test name].Variables.[object variable name]("Font.Bold","true") = "true" Then' in order to check the value, but that does not work. I'm trying to use this in a keyword If...Else statement.
Any help would be great!
Thanks
I have tried to use something like 'If KeywordTests.[test name].Variables.[object variable name]("Font.Bold","true") = "true" Then' in order to check the value, but that does not work. I'm trying to use this in a keyword If...Else statement.
Any help would be great!
Thanks