nikgoodley-ibboost / aost

Automatically exported from code.google.com/p/aost
0 stars 0 forks source link

Tellurium should allow user to pass in custom settings from test class #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Tellurium Configuration file TelluriumConfig.groovy acts as
a global setting file and it is inconvenient for users to manually
modify the configuration for different test classes if they need.

Should allow users to pass in custom settings for Selenium server and 
connector

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 26 Feb 2009 at 1:36

GoogleCodeExporter commented 9 years ago
provided to methods

    public static void setCustomConfig(boolean runInternally, int port, String browser,
                                       boolean useMultiWindows, String profileLocation){
        customConfig = new CustomConfig(runInternally, port, browser,
useMultiWindows, profileLocation);
    }

    public static void setCustomConfig(boolean runInternally, int port, String browser,
                                       boolean useMultiWindows, String
profileLocation, String serverHost){
        customConfig = new CustomConfig(runInternally, port, browser,
useMultiWindows, profileLocation, serverHost);
    }

and users can use

    static{
        setCustomConfig(true, 5555, "*chrome", true, null, "localhost");
    }

to setup their own settings for the current test class

Original comment by John.Jian.Fang@gmail.com on 26 Feb 2009 at 3:09