Yeah, ruby-breakpoint could pause the application, but it depends on the 
program and the test condition.

How to catch keyboard input signal by manual to pause/resume the testing 
process, for example using CTRL+P to pause and CTRL+R to resume.

Thanks,
Jason

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Lolis
Sent: 2007年2月27日 21:06
To: [email protected]
Subject: Re: [Wtr-general] Can Watir be paused & resumed manually when running

I like using 

http://rubyforge.org/projects/ruby-breakpoint/

all you do is call "breakpoint()" and the application stops. The best part is 
that you are now at the IRB prompt so you can do all sorts of fun things :)

I setup my smoke test to call break point on any exception, i can then hop in 
and see exactly whats going on and fix it.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6704&messageID=19277#19277
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to