Re: Need help with debugging (124 Views)
Reply
Occasional Visitor
thenewguy
Posts: 1
Registered: ‎02-28-2014
Message 1 of 3 (164 Views)

Need help with debugging

I'm new to this field and I want to try to learn how to use QTP (UFT). I seem to fail when QTP stops on an error in my vbscript. For example, if I run a test and it stops on a run error for something in my website because it does not have what the script expected (could be a button, form label, etc..), then my confusion begins.


Is there a good tutorial just on debugging? Step by step using the tools available in QTP? for debugging?

 

 

Thank you

HP Expert
Eickel
Posts: 146
Registered: ‎04-13-2012
Message 2 of 3 (126 Views)

Re: Need help with debugging

Hi TheNewGuy,

You might find useful to review the information in the UFT 11.53 Guide: http://support.openview.hp.com/selfsolve/document/KM00225579

On page 675, "Debugging Tests and Components"

I hope it helps.

"HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution."
HP Expert
vzamoraz
Posts: 502
Registered: ‎04-12-2012
Message 3 of 3 (124 Views)

Re: Need help with debugging

Hello, 

 

    Also you may find this kb article useful:

    How to debug test scripts and custom functions?

    

Regards,

 

HP support

Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.

 

Also remember if you have a valid contract with HP feel free to visit our FT/QTP Support Customer Forums: http://h30499.www3.hp.com/t5/Functional-Testing-QTP/ct-p/sws-Fun_Test
You can create an account with your HP credentials

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.