Tag Info

New answers tagged

0

I would recommend using a WebDriverWait along with one of the methods in the ExpectedConditions class. Basically, just wait for a element on the page using a pre-defined expected condition.


0

If you're referring to an alert: driver.switchTo().alert().dismiss(); That will dismiss a JavaScript alert. If you're talking about a pop up that is a part of the application's functionality and it's not working in IE, that's a bug if you're supposed to support IE and that's up to the developer to fix. In any case, a pop up is usually dealt with using ...


0

Try to open this address in browser first to check server is up. Also another Web App can be launched or hosted on this address and port. Check Firewall settings, try to disable it and check the results.


1

I found a workaround for this issue where I can check for the exception after each step using the [AfterStep] binding. This works for me, and tests that failed are now marked as inconclusive: [AfterStep] public void check() { var exception = ScenarioContext.Current.TestError; if (exception is WebDriverException ...


0

Have you tried to use WaitForReadyState? Here is my example: /// <summary> /// Waits the state of for ready within 30 sec. /// </summary> public void WaitForReadyState() { var state = string.Empty; try { var wait = new WrapperSeleniumWait(this, ...


0

If the pop-up window is part of the web-based app, that you are testing, you need to know why is only happening on FF and not on IE. There is a definitely a way on the settings on FF to disable pop up; however, IF in the future it is require to have pop-ups on your app, you will not have a user-oriented environment. Thus, I strongly suggest to not disable ...



Top 50 recent answers are included