An electronic device is provided. The electronic device includes a shell and a medical testing unit. The surface of the shell defines a blood pressure testing interface and a blood oxygen testing port. The medical testing unit includes a blood pressure sensor and a blood oxygen sensor. The blood pressure sensor is arranged in the shell and electrically coupled to the blood pressure testing interface. The blood pressure sensor is configured to test blood pressure parameter of a user. The blood oxygen sensor is arranged in the shell and exposed from the blood oxygen testing port. The blood oxygen sensor is configured to test blood oxygen parameter of the user.一種電子裝置,包括殼體及醫療測試單元,該殼體表面開設有血壓測試介面及血氧測試埠,該醫療測試單元至少包括血壓感測器及血氧感測器,該血壓感測器設置於所述殼體內,且電性連接至該血壓測試介面,用於藉由該血壓測試介面測試使用者的血壓參數,該血氧感測器設置於所述殼體內,且從該血氧測試埠露出,用於測試使用者的血氧參數。1‧‧‧電子裝置10‧‧‧主機單元20‧‧‧醫療測試單元30‧‧‧殼體