Automated testing is any type of testing where you are using one piece of code / program to test another piece of code / program. This can be unit testing as described above, or it can be via a specific automation tool, such as TestComplete, QTP, Selenium, etc.Unit tests tend to be created and executed by the developer of the code in question, whereas GUI automation will more probably be carried out by a software QA specialist.
With regard to this certain questions come to mind.
1) Is it better to write automated unit tests using code or perform GUI Automation using Automated Test tools like QTP, Selenium?
2) In a SDLC lifecycle, what is the effort involved in writing Automated Tests using code versus GUI automation using Automation Test Tools?
3) Are their benefits of writing Automated unit tests using code and performing GUI Automation using Automation Test Tools?