Wednesday 13 March 2013

How to Debug QTP scripts

Debugging in QTP is very simple like other programming languages There is one toolbar called debug viewer in QTP which helps us to debug the QTP scripts. You can add breakpoints to any line in qtp code by clicking on the extreme left to line where you have to add breakpoint. Code will pause at the breakpoint. Shortcut keys for working with breakpoints are - F10 - Step Over Block of Code F11 - Step Into Block of Code Shift+F11 - Step Out of Block of Code At this point you can use three tabs for debugging purpose. Watch - used to see contents of any variable. Variables - displays the current varaibles which are in scope. Command - you can give QTP commands from this tab.

No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.