Forum Discussion

vivekmit's avatar
vivekmit
Occasional Contributor
6 months ago

Adding a Table data value in Log Message for Keyword Test

Hello All, I am using keyword test and would like to know if it is possible to customize a log message with Table data value from a csv file. I have used the data driven loop and need testcomplete ...
  • vivekmit's avatar
    6 months ago

    Thanks rraghvani and Marsha_R for your suggestions, i was able to get the required log message with customized message + table value via the below post 

    https://community.smartbear.com/discussions/testcomplete-questions/log-message-and-code-expressions/165026/replies/165030

    The code expression i used was 

    "Testing  " + aqConvert.VarToStr(KeywordTests.TestNameVariables.VariableName.Value["Column name of the csv file"])