ananthoju / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Timeout not working.... #935

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. We are trying to execute a test in Browserstack using the below mentioned 
code
2. Inspite of setting the Test timeout value to 600 seconds but after one 
minute the test gets failed.
3. The driver from the browserstack is usually obtained between 40-120 seconds 
so most of our test scripts are failing.

What is the expected output? What do you see instead?
Timeout should happen after mentioned time.

What version of the product are you using? On what operating system?
Gallio TestDriven.Net Runner - Version 3.4 build 12
Operating System: Windows 7
Browser :IE 11
Installed: GallioBundle-3.4.14.0-Setup-x86.msi
.Net framework version:4.5

Please provide any additional information below.

 [Test,Timeout(600)]
        public void fn_test()
        {
            Uri commandExecutorUri = new Uri(ConfigReader.getbrowserStackURI);
            DesiredCapabilities desiredCapabilites = new DesiredCapabilities();
            desiredCapabilites.SetCapability("browserstack.user", ConfigReader.getbrowserStackUserName1);
            desiredCapabilites.SetCapability("browserstack.key", ConfigReader.getbrowserStackAccessKey1);
                            desiredCapabilites.SetCapability("browserName", "ANDROID");
                            desiredCapabilites.SetCapability("device", "Samsung Galaxy S4");
                            desiredCapabilites.SetCapability("platform", "android");
                            desiredCapabilites.SetCapability("browserstack.local", true);
                            desiredCapabilites.SetCapability("browserstack.debug",true);
                            desiredCapabilites.SetCapability("name", "TEst");

                        var _Driver = new RemoteWebDriver(commandExecutorUri, desiredCapabilites,TimeSpan.FromMinutes(10.00));
        }

Original issue reported on code.google.com by pavantur...@gmail.com on 3 Feb 2015 at 7:22

Attachments: