how to write scripts in QTP?
Using methods in object spy we can write scripts. using step generator we can write scripts.