Smarty is a predefined words or functions that are used in the Action class.
What is Smarty?
Smarty is a predefined words or functions that are used in the Action class. For example while testing, If you have to read OTP of an email for 'n' number of times, Instead of writing down the code each and every time you can use the predefined word such as "email:Reads OTP", where the action that needs to be taken is already written in the library files.