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.