mcdcorp / opentest

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

Print current data record as first step #630

Closed ewmartinez closed 1 year ago

ewmartinez commented 1 year 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 1 year 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 1 year ago

Wonderfull thanks a lot!!