Hi pravin_tavagad,
Can you tell me that, print is a task or function in driver? If print is a function in driver, then problem will not be occur. If print is a task in driver, then problem will occur. You cannot call task in function. Please check your print code in your driver.
Thanks & regards,
Sudheer.