No Screenshots

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

No Screenshots

Postby Mac » Tue Oct 16, 2007 3:27 am

Hi,

In my Test I throw an AssertionError, if an error is detected.
The strange thing is that no screenshot is made when the test stops using an AssertionError.

Why that?
What can I do to produce a screenshot anyway?

Thanks!
Mac
 
Posts: 14
Joined: Thu Apr 05, 2007 4:19 am

Postby Phil Quitslund » Tue Oct 16, 2007 8:00 am

You can always manually create a capture like this:

com.windowtester.runtime.util.ScreenCapture.createScreenCapture()

That said, this may in fact be a bug. If you want to submit a request for a fix, go ahead and mail support:

wintest-support@instantiations.com

Thanks!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest