A novel method to manufacture a flexible cable for a disk drive is disclosed. Each of the connection terminals connects the heating element to the electric power supply mechanism electrically such that a connection region of the heating element connected to the connection terminal is not exposed to a space in the processing container. Thus, in a transparent and automated manner, defects found during diagnostics are stored in a database of unusable emulator resources.