Abstract: The paper describes an automated method for testing the Diagnostic Trouble Code (DTC) life cycle, reading the Data Identifiers (DIDs), Write DIDs and feature testing of an automotive Electronic Control Unit (ECU) using the CANalyzer as a hardware and the CAN Access Programming Language (CAPL) to access it. In todays environment, the automotive area faces major challenges in terms of vehicle safety. To achieve effective outcomes, many ways for software testing are being explored. The process of automatically running tests and analyzing the results to enhance software quality is known as test automation. To check the behavior of an ECU an automated testing method for vehicles using UDS protocol stack based on Controller Area Network (CAN) bus is developed for the radar application features of Blind Spot Detection (BSD) and Rear Cross Traffic Alert (RCTA). The automatically generated report provides an detailed report of passing and failing status of the test cases. Keywords: CAN, UDS, CAPL, Python, .ini,