2
Vote

Is it common to have long pauses between each operation?

description

I just wrote my first test using Webinator (below) and in between each action there seems to be a 10 to 20 second pause. Have I possibly configured this?
var config = new Config
{
    LogScreenshots = false,
    LogLevel = Config.AvailableLogLevels.Verbose,
    BaseUrl = TestConfiguration.WebTestRoot,
    Browser = Config.AvailableBrowsers.Firefox,
    Framework = Config.AvailableFrameworks.WebDriver,
};

Browser = WebManagerFactory.CreateInstance(config);

Browser.Click(LocateBy.Text("Login", true));
Browser.Url().ShouldContain("https");
Browser.SendKeys(LocateBy.Class("username"), Constants.SampleDealerUsername);
Browser.SendKeys(LocateBy.Class("password"), Constants.SampleDealerPassword);
Browser.Click(LocateBy.Value("Login"));
LocateBy.Text("Logout").ShouldNotBeNull();     

comments

anderslyman wrote Sep 17, 2013 at 2:41 PM

I've seen this before when using an out-dated version of WebDriver (I can't see anything wrong with your test).
I'll update Webinator with the latest WebDriver and report back here when I've done that.
In the meantime, you could either downgrade Firefox to an earlier version or try using Chrome.

wrote Sep 17, 2013 at 2:42 PM

anderslyman wrote Sep 17, 2013 at 7:43 PM

I've updated with the latest WebDriver and published to nuget. Download it and let me know if that resolves the issue...

wrote Dec 20, 2013 at 2:09 PM