Reputation: 578
I am a beginner to AspectJ. I am using it to take screenshots in my webdriver programs. Following is my package structure.
I want to know that how do I run my programs in Browser class so that it uses AspectJ aspects defined in the Screenshots class.
Right now when I run my tests as TestNG tests in eclipse the aspects do not run.
Upvotes: 0
Views: 570
Reputation: 17359
Your project should work now using internal aspects. If the aspects are external - put them on your class path.
Upvotes: 1