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 positive and negative testing?

893


What is Registry?

1877


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1869


What are all the netwoking tools, hardware tools and software tools required for testing a web-based n client server applicatopn?

1707


Enlist some bug status along with its description?

975


What are the modules of quality center?

915


What is quality center?

895


Can you explain tpa analysis?

883


do we need to write test cases for workflow of the product for instance: there is 2 module "TRAINING ASSIGN MODULE" and "EMPLOYEE" in TRAINING assign MODULE iam assigning training to employee setp is 1.selct traning "oracle" 2.select employee u want assign "peter" 3.apply. now to check whether training assign or not GOTO EMPLOYEE module 1.click on "peter" 2.click on 'view assign to employee'link.now this is a flow do i need to write test cases for this fllow.plz help me guy mail me nirmal_rawatt@rediff.com

1794


What is bug release?

953


how to write manual testcases for download the files from the template. for example:from product cost enddate

1948


What is the purpose of test strategy?

914


can any one post the format of tracebility martrix Plz...... Maid Id: sandhya.shyamala@yahoo.com

2049


What is verification in software testing?

930


qtp9.2 and qtp10.0 difference

3258