partnet / seauto

SeAuto is a bridge to Selenium from your favorite test framework.
Apache License 2.0
5 stars 1 forks source link

How do you use config.properties to set the test url? #10

Closed scottcsims closed 9 years ago

scottcsims commented 9 years ago

I set test.config.url= and the tests still went to bing.com in the Junit example. Is this as designed? I want to change the url using config.properties.

bbarke commented 9 years ago

Looks like this is a bug for all projects. For the time being, add this to your BingSite.java class located at /src/test/java/<your-project>/page/BingSite.java

  /**
   * Open the home page.
   */
  public void open()
  {
    this.open(getDefaultUrl());
  }
bbarke commented 9 years ago

Should be fixed with merge #11

bbarke commented 9 years ago

This is fixed in latest release (0.9.1)