Codes and Ideas for Test automation