java - Using SWTBot on a Maven Project -


i relatively new swtbot.

i have installed through "install new software" in eclipse.

i trying use on swt application imported existing maven pom.xml. application not eclipse plugin. standalone plain swt application.

the problem can't seem able import of swtbot's classes in test case.

i wondering if there maven artefact may need add? not finding one.

if there more complex setup, how can set up?

if installed swtbot plugin/bundle via eclipse you'll need eclipse plugin project depends on bundle hold tests. create new plugin project , edit manifest file import swtbot bundle.

you need run configuration launch application under test. i'm not sure how can achieved standalone maven project, there's way. if project under test eclipse application, you'd need right-click on swtbot test , select run swtbot test. don't have eclipse swtbot , running atm can't give more detail, sry

[edit]

imho should first try test dummy eclipse application. put plugin containing test , 1 containing dummy app in workspace, run test described above. once have running should have @ post , answer maintainer of swtbot. new instance of eclipse launched ui contributions added dummy eclipse application , test run.

and have seen this similar post on so? sounds promising me...


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -