Thanks Again
jd
On May 23, 5:31 pm, Santiago Suarez Ordoñez <santi...@gmail.com>
wrote:
> You can move your tests to TestNG, there you have the @AfterSuite annotation
> that does that work for you:http://testng.org/doc/documentation-main.html#annotations
>
> Hope that helps.
>
> Santiago Suarez Ordoñez
> Clients Success Engineer
> Sauce Labs Inchttp://saucelabs.com
> > selenium-user...@googlegroups.com<selenium-users%2Bunsubscribe@go oglegroups.com>
I would recommend you using TestNG too.
My scenario is a bit complex and I was able to do what I needed only
with TestNG.
I'm currently using the @BeforeSuite/@AfterSuite annotations to start
Selenium RC and create a singleton instance of Firefox to use
throughout the tests.
FK
@Before
public void setUp() {
selenium = new LoggingDefaultSelenium(new
HttpCommandProcessor("localhost", 4444, "*firefox",
"http://172.16.1.13:8080/"));
selenium.start();
}
@Test
public void runTests() throws Exception {
login.logintest();
employee.createEmployee();
}
@After
public void tearDown() {
selenium.stop();
}
On May 26, 10:53 am, Felipe Knorr Kuhn <fkn...@gmail.com> wrote:
> Hello, jd
>
> I would recommend you using TestNG too.
>
> My scenario is a bit complex and I was able to do what I needed only
> with TestNG.
>
> I'm currently using the @BeforeSuite/@AfterSuite annotations to start
> Selenium RC and create a singleton instance of Firefox to use
> throughout the tests.
>
> FK
>