how to debug ur scripts

Answer Posted / moos

There are various ways to debug a script.
Introduce print statements in the script to see the flow of
the program. Break the conditional blocks and see what it
does. Redirect the output and analyse the logs. Give sample
arguments/inputs and test.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data flow diagram?

677


Hello can anybody list out supported and unsupported browsers for Window OS,Android OS,MAC OS Ubuntu

1151


what is the difference between Desktop testing,Client/server testing and webapplication testing

1495


How to test the below code and write test case? Prove that this code is wrong? int add(int a ,int b) {return a+b; }

1593


1.What types of documents would you need for QA, QC, and Testing?

4931






Is an "A fast database retrieval rate" a testable requirement?

1529


Information about Automated Software Installer

1461


What type of questions will be asking for 2 years experience candidate in manual testing?

1802


What is frame level testing and how do we test it?

1972


whats the reason to display the password(not in encrypted form) in the script in load runner but not in QTP?

1458


Explain Operational Acceptance Testing with example ?

898


hi this is ashok , i never worked in medical domain , can any one pls send me with proper exaple pls Question is while emergency or normal patitent enter into hospital he entered his first and last name and he enter emergency coloumn , write test case on these ,

1617


I want to know about satyam manual testing questions

1414


Differentiate test bed and test environment?

2121


Explain test metric and the information it provides.

686