mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
446 stars 107 forks source link

Print current data record as first step #630

Closed ewmartinez closed 10 months ago

ewmartinez commented 11 months ago

I want to print the current data record in test result. Now I can log the information $log($json($dataRecord)) but I want this information goes as part of action description, is this posible?

adrianth commented 10 months ago

Yes, you can have dynamic test step descriptions by leveraging the $description global argument:

- action: org.getopentest.selenium.Click
  args:
    $description: $json($dataRecord)
ewmartinez commented 10 months ago

Wonderfull thanks a lot!!