Selenium Java - TestNG Integration
You have three TestNG test methods:
authenticate(), performSearch(), and signOut(). You want performSearch() to execute only if authenticate() passes, and signOut() to execute only if performSearch() passes. How should you set the dependencies?