st-pat
7 years agoOccasional Contributor
get datasource property value and run teststeps accordingly
Hi community,
in my desperate try to mix serveral groovy solutions togehter I surley have forgotten something or done completely wrong.
I have a datasourceloop and according to several values (or sometimes even lack theereof) (see for example the attached screenshot in the third line you will see that the column "optional service" is filled with data sp in this case the script should trigger the step "brianSisAddService". But my script is wrong (it fails) so could you help me to get it correctly ?
Thnx
def tempVar = context.expand( '${#DataSource#optional service}' ) if tempVar = true gotoStepByName("brianSisAddService") else gotoStepByName("brianSisVtInvoiceWrite")