I am new to TestParnter, used QTP before, and I can't get the wait function to work. I've seen some posts about creating VBA scripts instead of using the Visual Test mode, but I don't know enough yet to create a function to make TestPartner wait for a window to come up. Could someone explain how to do this with details how to apply it to my AUT?
Also, could someone recommend a good VBA book to use with TestPartner?
I've also recently started using TestPartner after years of using QTP (I started with 5.6). The quick answer to your question is that object.sync in QTP is roughly equivalent to object.attach in TP. There are also some default timeouts that can be found in Tools>>Options>>Playback>>Timing which may help you as well.
Creating scripted tests in TP is much like using the Expert mode in QTP, and many of the same method calls will work.
Hopefully this gets you started. I can't suggest any TP-specific VBA book, but any references you used in QTP should be valid here as well.
AUT: Web app - Java/SQL
Using TestPartner since 2008
Using QTP since 2002