Forum Discussion

subhram_sahoo's avatar
subhram_sahoo
Occasional Contributor
2 years ago

showing error tkn error

Aliases.Eugenus_CTC_Utilities_SecsTestApp.HwndSource_MainWindow.MainWindow.textBoxMsgToSend.Keys("VTN:'S2F23' W\r\n<L[[5]\r\n <U4[[1] 1>/* TRID */\r\n <A[[6] "00000050">/* DSPER 6 ASCII in hhmmss or 8 ASCII hhmmsscc */")

In above the red value want take . but its showing error. How to handle this and take as input

3 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    If you want to enter a quotation character, then you need to add two quotation characters in a string e.g.

     

    Keys("VTN:'S2F23' W\r\n<L[[5]\r\n <U4[[1] 1>/* TRID */\r\n <A[[6] ""00000050"">/* DSPER 6 ASCII in hhmmss or 8 ASCII hhmmsscc */");

     

    or use \"

     

    Keys("VTN:'S2F23' W\r\n<L[[5]\r\n <U4[[1] 1>/* TRID */\r\n <A[[6] \"00000050\">/* DSPER 6 ASCII in hhmmss or 8 ASCII hhmmsscc */");

    • subhram_sahoo's avatar
      subhram_sahoo
      Occasional Contributor

      Already Tried but in application its showing only 00000050