How to pass variable with double quote in text file

hello,

i need outpot like below in text file.
“testExecutionKey”: “mystringvariable”,
like below image.
image

when i am trying giving below error

how can i achive this i ned that last comma too.

Hi @Mathkar_kunal

Try this:
“”“testExecutionKey”“: “”” + CellName + “”“,”

Hi @Mathkar_kunal

You don’t have to give double quotes for variables. If you are giving any text you have to give double quotes

Try the below one.

"testExecutionKey : "+CellName+" ,"

Check the below image for your understanding.
image

Hope it helps!!

@Mathkar_kunal

“testExecutionKey:”+" “”+CellName+“+”,"

@Mathkar_kunal

Remove double quotes for the variables and write as below

""testExecutionKey:""+" "+"""+CellName+"""+","

Hope it works!!

Hi @Mathkar_kunal

As you are using the variable,No need to give double quotes.

“testExecutionKey”+“:”+" “+”“”+CellName+“”,“+”,"

Hope it helps!!

Hi,

Can you try the following?

"""testExecutionKey"" : """+ cellName +""","

image

Sequence.xaml (5.6 KB)

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.