Package org.telluriumsource.test

Source Code of org.telluriumsource.test.TelluriumProjectPageTestNGTestCase

package org.telluriumsource.test;

import org.telluriumsource.module.TelluriumProjectPage;
import org.telluriumsource.test.java.TelluriumTestNGTestCase;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

/**
*
* @author Jian Fang (John.Jian.Fang@gmail.com)
* @author Haroon Rasheed (haroonzone@gmail.com)
*
*         Date: Jan 18, 2010
*/
public class TelluriumProjectPageTestNGTestCase extends TelluriumTestNGTestCase {
    private static TelluriumProjectPage app;

    @BeforeClass
    public static void initUi() {
        app = new TelluriumProjectPage();
        app.defineUi();
        connectSeleniumServer();
        //useCache(true);
        useEngineLog(true);
        useClosestMatch(true);
    }

    @BeforeMethod
    public void setUpForMethod(){
       connectUrl("http://code.google.com/p/aost/");
    }

    @Test
    public void testTelluriumProjectPage(){
        app.clickDownloads();
        app.clickIssues();
        app.clickSource();
    }

    @Test
    public void testSearchProject(){
        app.clickProjectHome();
        app.searchProject("tellurium");
    }

}
TOP

Related Classes of org.telluriumsource.test.TelluriumProjectPageTestNGTestCase

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.