i want to measure the total voltage and Ah
Measuring voltage is easy, hook up a voltmeter with a range that maxes out at a higher voltage than expected. Most general purpose multimeters will do this.
There is no direct way of measuring the AH figure for a battery. With an Amp meter and a clock and a log book you can estimate how much energy the battery has been offered (some expensive chargers do this with
magic electronics). Knowing how much you can get back is a different story altogether, especially with SLA batteries, even more if they are being used at a current discharge rate greater than their stated rate. Their capacity is usually specced at a 10 hour discharge, or increasingly often, a 20 hour rate. The faster they discharge above that rate, the less efficient the conversion of energy.