India has successfully tested a first-of-its-kind naval anti-ship missile, showcasing its effectiveness against ship targets.