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

How would you do the ollowing Security Testing for web application? 1) Authentication. 2) Authorization. 3) cookies. 4) penetration testing. 5) session testing. 6) encryption and decryption testing pls give examples give example i can't understand so pl

2263


On login window for username and password auto populated field means what !

1497


What does a manual tester need to become proficient with db testing?

922


Why should you care about objects and object-oriented testing?

2152


How many types of api testing are there?

879


functional testing test cases for transfer funds ?

1412


What is difference between Manual testing and Pega/BPM testing?

7855


what is scrum how with ex?

1861


How do you perform configuration management with typical revision control systems?

1921


Scenario-based testing Option 1 concentrates on actor and software interaction Option 2 misses errors in specifications Option 3 misses errors in subsystem interactions Option 4 Both 1 abd 2

3305


What is the test harness?

865


How do you test a web application for dump and deaf??

1823


What are the different types of integration testing?

936


How can software qa processes be implemented without stifling productivity?

936


i have 2.5 years of experience in manual testing and qtp. can anyone say me what kind of questions do they ask on manual testing and qtp.

3276