How Can I debug a script and execute it step by step?

Asked by vishal aggarwal

I am coming from QTP automation and fairly new to webdriver/python/sst.As in qtp we can debug a script and step through a framework code to pinpoint exact source of error or run from a step, can we do the same anyhow with sst?

Vishal Agg

Question information

English Edit question
selenium-simple-test Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
vishal aggarwal (vishal-agg) said :

I guess this has nothing to do with the python/webdriver/sst ..its a basically a feature of by using tools like Pydev I can have that desired functionality.Plz correct me if I am wrong.


Revision history for this message
Leo Arias (elopio) said :

You can use the python debugger:

Revision history for this message
Corey Goldberg (coreygoldberg) said :

check out 'debug()' in sst.actions.
it will drtop you into pdb and you can step from there.

Can you help with this problem?

Provide an answer of your own, or ask vishal aggarwal for more information if necessary.

To post a message you must log in.