Use a multi-meter to check the motor wiring pairs, don't trust the colour coded wires
[
reprap.org]
Use a multi-meter on the 2v DC setting to measure the driver voltages, do this with the 12V disconnected from the RAMPs and just the Arduino powered via USB. Somewhere around .7v is good
minus lead to ground, positive lead to the pot on the driver - be very careful not to short anything
Use M119 in repetier to see end stop status. In Marlin they are defined as either min or max.
X on the left side is MIN, if it's on the right side it's a MAX. Y at the back is a MIN, at the front it's a MAX, Z is a min since it's at the bottom.
There is a MIN and MAX for all 3 axis on the RAMPS.
The switches are defined as either NO or NC and defind in Marlin. I set mine for Normally Open, so when the switch is hit it closes the contacts, not sure how Folger wires them