Part of an application that I test has actions that we frequently need to manually test. So QTP can be very useful to perform some of these routine checks and make sure that the numbers match up with that they should be.
What I'm wondering is if it would be possible to create a bunch of scripts (which I already have working actually), and then bind some of these scripts to different keyboard commands somehow. So say I was on one of the pages on the application I'm testing, and I want to perform the routine that I've binded to ctrl-1 or something, and then it runs that script.
Is this possible? Or do I just have to have to test open and run it the regular way?
I don't know about binding a script to a key, but you could create a batch file that implemented a script and put a link to it on the desktop and just click that link. Do a search of help and forum for "Application Object"
A good rule of thumb is to never measure with your thumb.
Hmm, but there's no way to make the use the quicktest scripts like this then?
Like say I made a quicktest test that enters in a value in a box, and checks if the calculation in right, and I have to do this very often so it would be neat to be able to call it with a shortcut rather than having to click the play button in QTP. So no way to do this?
You probably can do the sorts of things you want to do in a WSH script. And QTP can be called from a WSH script using the Automation Object Model (AOM). Search the forum and read online Help to learn more.