Forum Discussion

Bill_H's avatar
Bill_H
Occasional Contributor
10 days ago

Can I pass an argument to CheckExcelWorkbook for the name of the Stores Workbook?

Hi all,

Is there a way to pass an argument from BDD or some other way to the CheckExcelWorkbook function? something like below?

 

@then("the user compares the result to the {arg}> GoldCopy")
def step_impl(param1):
   Files.ARGUMENT.CheckExcelWorkbook(("S:\QA\Test\ImportStats*.xlsx"))