What are the best practices for writing automation scripts in SmashTest?

I want to know about some of the best practices for writing automation scripts in SmashTeat, can anyone provide me some knowledge regarding it.