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
After migrating from version 3.4 to 3.5, I have ran into an issue where it is not able to locate the class WizardPageLocator in package com.windowtester.runtime.swt.locator.jface.WizardPageLocator. However, on further investigation I have found that the same class could be found at com.windowtester.runtime.swt.internal.locator.jface.WizardPageLocator, this worked as expected but I can see warnings thrown. The same is mentioned below:
Discouraged access: The constructor WizardPageLocator() is not accessible due to restriction on required library <....>\com.windowtester.swt.runtime_184.108.40.206906301905\wt-runtime.jar.
Can you please provide me an explanation on this. I have this jar included as a part of plug-in dependency. I can suppress these warnings by adding @SuppressWarnings("restriction").
- Posts: 13
- Joined: Tue Nov 17, 2009 10:22 pm
You can safely supress this warning. Alternatively if you update to the latest beta you should see com.windowtester.runtime.swt.locator.jface.WizardPageLocator again and so can refer to that class directly. If not, please do let us know!
- 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