Go down
Posts : 1
Join date : 2015-05-06

how to continue my selenium tests without closing the firefox after each test

on Thu May 07, 2015 2:32 pm
i have 2 tests in my script. i want to continue the second test, without closing my browser. how can i do that. Pls help
public void setUp() throws Exception {
    driver = new FirefoxDriver();
    driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
    driver.get(baseUrl + "myportal/control/main");

public void testCreateTeam() throws Exception {
    driver.get(baseUrl + "myportal/control/main");
public void testUpdateTeam() throws Exception {
public void tearDown() throws Exception {
    String verificationErrorString = verificationErrors.toString();
    if (!"".equals(verificationErrorString)) {

Last edited by Hana on Thu May 07, 2015 2:42 pm; edited 1 time in total (Reason for editing : Explaining the issue)
Back to top
Permissions in this forum:
You cannot reply to topics in this forum