Quantcast
Viewing all articles
Browse latest Browse all 20

Re: Javascript String Interpolation

This works wery well for me:

 

function testInterpolation() { var i = "i_value"; var arr = ["value1", "value2"]; Log.Message(`This string contains that two variables: first one -> ${i} and second one -> ${arr[1]}`); }

 

I'm using the latest version of TestComplete.


Viewing all articles
Browse latest Browse all 20

Trending Articles