Forum Discussion

Petewilson's avatar
Petewilson
Contributor
6 years ago

Parametrise xmlcheckpoint name

  Hi all,   I am looking to try and parameterise a function to check the xml generated against the baseline saved in TC. i have simplified the code below, but my question is can i parameteris...
  • tristaanogre's avatar
    6 years ago

    You're using DelphiScript so it's a bit trickier.  Basically, you're going to want to use the "Evaluate" function

     

    Something like

     

    Evaluate('XML.' + CheckpointName + '.Check(param1)')