Package jp.vmi.selenium.selenese

Source Code of jp.vmi.selenium.selenese.TestSuiteTest

package jp.vmi.selenium.selenese;

import org.junit.Test;

import jp.vmi.selenium.testutils.TestBase;
import jp.vmi.selenium.testutils.TestUtils;
import jp.vmi.selenium.webdriver.DriverOptions;
import jp.vmi.selenium.webdriver.WebDriverManager;

/**
* Test for {@link TestSuite}.
*/
public class TestSuiteTest extends TestBase {

    /**
     * Test of "TestSuiteTest.html".
     */
    @Test
    public void testTestSuite() {
        String script = TestUtils.getScriptFile("testSuite");
        WebDriverManager manager = WebDriverManager.getInstance();
        manager.setWebDriverFactory(WebDriverManager.HTMLUNIT);
        manager.setDriverOptions(new DriverOptions());
        Runner runner = new Runner();
        runner.setDriver(manager.get());
        runner.setOverridingBaseURL(wsr.getBaseURL());
        runner.run(script);
    }
}
TOP

Related Classes of jp.vmi.selenium.selenese.TestSuiteTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.