Forum Discussion

Petewilson's avatar
Petewilson
Contributor
5 years ago
Solved

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
    5 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)')