This is kind of fun. Try it and see how you fare!
ABC has a test at the below address to see whose campaign statements, McCain's or Obama's, you agree with most. They don't tell you who made the statements, of course, but a statement made by each candidate on the same topic (economy, immigration,judiciary, etc.) will be side-by-side. You just pick which statement you agree with and, after selecting all 13, you'll find out which candidate's philosophy you support.