Battery testing device to check the performance and lifespan of different types of batteries and their components, such as types of nanomaterials used in the manufacture of batteries, anode and cathode nanocatalysts, composite separator membranes, etc. is used The current device can check the performance of different types of first and second type batteries (rechargeable and non-rechargeable) in both charge and discharge modes and by performing constant current, constant voltage, constant resistance, constant power and cyclic tests. In this device, all settings related to performing tests are made through specialized software under Windows. In addition to testing all types of batteries, this device is also capable of testing fuel cells (those fuel cells that do not require process systems such as static alcohol fuel cells) and electrolyzers.