If the files on the DVD are properly tagged and marked, then Handbrake will automatically export two files. There will be a selection menu when you will have to choose what files need to be saved.
If Handbrake won't automatically give the option to save the files, then use VidCoder and everything should be much simpler. However, I've tested both applications and they both provide ways to convert and RIP your DVDs.