i have recorded some script by QTP but i want to commment some of the steps in a action at a time.
and i also i want to uncomment same steps in a action.
You can use the QuickTest Script Editor, downloadable from Mercury, or put a Sub ... End Sub around the code you want to comment out.
Get Ver.9 which has Comment/Uncomment Block feature
If you had to identify, in one word, the reason
why the human race has not achieved, and never
will achieve, its full potential that word would be "meetings".
easiest way is false if statement i.e. put your code inside
if 1=2 then
'your code here
"I realize it's an error, but no one is going to try to do that!"
From "Top 10 Stupid Comments from Developers".