Assertion hook invoked on IUIContext object

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

Assertion hook invoked on IUIContext object

Postby brs » Mon Mar 19, 2007 7:47 am

Hello.

When I insert an assertion hook in a test during recording, the recorder creates the stub of the new method in the Java test class (ex. assert_1()), but then invokes this method on the IUIContext object, causing the compiler to generate an error as, obviously, there is no assert_1() method in the IUIContext API.

Can anyone explain what I am doing wrong?

TIA,
B.
brs
 
Posts: 26
Joined: Sun Mar 11, 2007 6:05 am
Location: Chichester, UK

Postby Phil Quitslund » Mon Mar 19, 2007 12:17 pm

You're not doing anything wrong! You've discovered a bug. Those calls should be on the test class not the UIContext instance.

Thanks for catching this. I've opening a ticket and it will be fixed this week.
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Postby brs » Mon Mar 19, 2007 3:48 pm

Thanks. Can I be informed when the issue is fixed? How do I go about it?

B.
brs
 
Posts: 26
Joined: Sun Mar 11, 2007 6:05 am
Location: Chichester, UK

Postby Phil Quitslund » Mon Mar 19, 2007 5:40 pm

When we release a new beta, I'll make a post to the forum.

Thanks again for the catch!
--
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