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
by brs » Fri Mar 16, 2007 9:54 am
Hi.
I am looking at your EclipseTest class, which is packaged up in your com.windowtester.swt.samples.zip archive. I notice that the class makes great use of the register() method on the IUIContext class. However I cannot find this method anywhere in the API that is bundled in the Eclipse help.
Any hint?
TIA,
B.
-
brs
-
- Posts: 26
- Joined: Sun Mar 11, 2007 6:05 am
- Location: Chichester, UK
by keertip » Fri Mar 16, 2007 12:47 pm
Hi,
In the Eclipse help, under WindowTester Guide->Reference -> API Reference(old) -> com.windowtester.swt -> IUIContext
You will find the register() method here.
-
keertip
- Moderator
-
- Posts: 221
- Joined: Thu Mar 15, 2007 10:26 am
by brs » Fri Mar 16, 2007 2:08 pm
Thanks.
Does this mean that the method no longer applies?
-
brs
-
- Posts: 26
- Joined: Sun Mar 11, 2007 6:05 am
- Location: Chichester, UK
by keertip » Mon Mar 19, 2007 8:56 am
Yes, this mehod is part of the old API which has been depricated.
-
keertip
- Moderator
-
- Posts: 221
- Joined: Thu Mar 15, 2007 10:26 am
by brs » Mon Mar 19, 2007 9:22 am
Thank you Keertip.
Perhaps your example test class could be updated to reflect the new API...
Kind regards,
B.
-
brs
-
- Posts: 26
- Joined: Sun Mar 11, 2007 6:05 am
- Location: Chichester, UK
by brs » Mon Mar 19, 2007 3:28 pm
Thank you very much for the update!
B.
-
brs
-
- Posts: 26
- Joined: Sun Mar 11, 2007 6:05 am
- Location: Chichester, UK
Return to Window Tester
Who is online
Users browsing this forum: No registered users and 1 guest