Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6150825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:40:35+00:00 2026-05-23T19:40:35+00:00

I have some SpecFlow features which are using Selenium 2 to automate some UI

  • 0

I have some SpecFlow features which are using Selenium 2 to automate some UI testing of an ASP.NET MVC 3 application. When I run these locally, it runs fine and the tests pass. Once committing my changes to Git and pushing the commits to our remote repository for our TeamCity instance to pick up, the tests run and take a hell of a lot longer, only to fail with the following.

Test(s) failed. OpenQA.Selenium.WebDriverException : No response from server for url http://localhost:7055/hub/session/1ada0501-154a-45f7-b0a3-487af59f7a0b/timeouts/implicit_wait

I have tried searching around for various solutions with zero luck of finding anything remotely relevant. If anyone can link to any resources that would make my life easier please feel free to share them. Or help solve this issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:40:36+00:00Added an answer on May 23, 2026 at 7:40 pm

    I don’t know the answer, but here is or plumbing code that worked for us with the following setup:

    • TeamCity (6.0.3)
    • IIS (from fix virtual folder)
    • ASP.NET MVC3
    • SeleniumDotNet v2.0.3
    • FireFox driver,
    • Firefox version on server: 3.6.17
    • TeamCity is running as Local System (default)

    Selenium setup:

    public static readonly TimeSpan DefaultTimeout = TimeSpan.FromSeconds(10);
    
    private BrowserContext()
    {
        //browser = new InternetExplorerDriver();
        browser = new FirefoxDriver();
        browser.Manage().Timeouts().ImplicitlyWait(DefaultTimeout);
    }
    

    Setup/teardown firefox with SpecFlow events:

            [BeforeScenario]
            public void BeforeWebScenario()
            {
                if (!BrowserContext.IsRunning) 
                    BrowserContext.Start();
    
                BrowserContext.Current.Browser.NavigateTo("/Test/RecreateDatabase");
                BrowserContext.Current.Browser.FindElement(By.ClassName("success-message"));
            }
    
            [AfterScenario]
            public void AfterWebScenario()
            {
                if (ScenarioContext.Current.TestError != null)
                {
                    Console.WriteLine("Browser page source for failing test: {0}",
                        BrowserContext.Current.Browser.PageSource);
                }
    
                bool browserPerScenario;
                if (bool.TryParse(ConfigurationManager.AppSettings["browserPerScenario"], out browserPerScenario) && browserPerScenario)
                    BrowserContext.Stop();
            }
    
            [AfterTestRun()]
            public static void StopBrowser()
            {
                if (BrowserContext.IsRunning) 
                    BrowserContext.Stop();
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some ASP.NET web services which all share a common helper class they
I have some C# / asp.net code I inherited which has a textbox which
I'm using SpecFlow to do some BDD-style testing. Some of my features are UI
Have some validating problems which seem to appear only when using the Auth component.
Have some Perl code which is using the DBI module - (the code is
I have some code for starting a thread on the .NET CF 2.0: ThreadStart
I have some automatic de-serialization code that will set an object's properties using KVC
I have some objects which I draw onto a Canvas as part of a
I have some asynchronous operations being performed on the main thread of my application.
i have a input tag which is non editable, but some times i need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.