A tense like "ich habe getanzt" is only one form of past tense, the present perfect tense, but you also have "ich tanzte" (simple past tense).
Have a look at :
http://german.about.com/library/verbs/blverb_past.htm
http://german.about.com/library/blregverbsP.htm