Package org.telluriumsource.ft

Source Code of org.telluriumsource.ft.VireoTestCase

package org.telluriumsource.ft;

import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.telluriumsource.module.VireoModule;
import org.telluriumsource.test.java.TelluriumMockJUnitTestCase;

/**
* @author: Jian Fang (John.Jian.Fang@gmail.com)
*
* Date: Aug 31, 2010
*/
public class VireoTestCase extends TelluriumMockJUnitTestCase {
    private static VireoModule dm;

    @BeforeClass
    public static void initUi() {
        registerHtml("Display");

        dm = new VireoModule();
        dm.defineUi();
    }

    @Before
    public void connectToLocal() {
        connect("Display");
    }

//    @Ignore
    @Test
    public void testUIModuleTellurium(){
        useTelluriumEngine(true);
//        dm.click("DegreeInformationForm.degree");
        dm.dump("DegreeInformationForm");
    }

//    @Ignore
    @Test
    public void testUIModuleSelenium(){
        useTelluriumEngine(false);
//        dm.click("DegreeInformationForm.degree");
        dm.dump("DegreeInformationForm");
    }
   
}
TOP

Related Classes of org.telluriumsource.ft.VireoTestCase

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.