You can change the configuration programmatically. You should extend
the BaseTelluriumJavaTestCase in
this case and write your own beforeClass and afterClass method as
follows,

public class YourTestCase extends BaseTelluriumJavaTestCase{
   protected static TelluriumFramework tellurium;

    @BeforeClass
    public static void setUpForClass() {
        tellurium = TelluriumSupport.addSupport();
        SeleniumConnector cntr = new SeleniumConnector();
        //set your browser type here
        cntr.setProperty("browser", "*chrome");
        tellurium.start();
        connector = (SeleniumConnector) tellurium.getProperty
("connector");
    }

    @AfterClass
    public static void tearDownForClass() {
        if(tellurium != null)
            tellurium.stop();
    }

    ...
    //you test code here
}

For other properties, you can do the same thing and look for the
TelluriumConfigurator class to see
how to change them.

Let me know if this works.

Thanks,

Jian

On Feb 16, 1:17 am, Theyagarajan S <[email protected]> wrote:
> Can telluriumConfig options be changed at runtime ? iam looking to deploy
> and run  test cases for a variety of test scenarios.And i dont want to edit
> the config file and manualy restart it again.
> Does tellurium allow me to run a test suite against a variet of scenarios ?
> eg( multiple browsers testing )
>
> Thanks
> Taggy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to