Running scripts success in Studio but failed when publish to Robot

Hi,
Click will Fail in most of the cases when it is published,
check below links