When it comes to test automation, it's the same as development and writing code. Furthermore, you build a code to test another code, but no one is testing your automated code for correctness and quality assurance. As a result, having a Code quality check in place for your test automation script has become vital. To remove duplication and simplify things, you'll need to employ coding standards, patterns, and code comments to clarify what each function does. In this post, we'll look at SonarQube, one of the most prominent code quality check tools, and how we can use it to assure a high-quality test automation script by integrating it with test automation.