Tag Info

New answers tagged

0

You can't interact with the native OS file browser dialog directly, but we do some magic so that if you call WebElement#sendKeys("/path/to/file") on a file upload element, it does the right thing. Make sure you don't WebElement#click() the file upload element, or the browser will probably hang. Source - Selenium WebDriver Wiki. Protractor uses ...


0

In Selenium features the server and client are running in separate processes. Therefore when mocking time with a tool like Timecop, the browser controlled by Selenium will still see the unmocked system time. Simple case: Synchronizing the client’s time with the mocked server’s time = render "layouts/sinon" # the card attached partial Advanced case ...


0

In Visual Studio you can create a Coded UI Test. Here is an example from the MSDN. Alternatively, you can use Selenium and the Windows Phone driver. Available on CodePlex.


1

Looking at the source code for mocha: https://github.com/mochajs/mocha/tree/master/lib/reporters It appears that there's a built-in HTML reporter. Have you tried running mocha -R html?


1

Apache JMeter is designed for load testing and it provides Selenium support via WebDriver Sampler The WebDriver Sampler uses JavaScript language for tests definition so minimal refactoring will be required and your tests should mostly work. See The WebDriver Sampler: Your Top 10 Questions Answered guide for tips and tricks. Alternative options are using ...


0

From what I found using Selenium Grid can help with doing a load test . I can start multiple hubs that can run the tests that I have already written in parallel


1

(You did not say how many simultaneous users you need to simulate for your stress test. My answer assumes you need to simulate more than 5 or 10.) Using your Selenium tests as the basis for stress testing is an attractive idea. After all, they are already written/debugged. You would like to check the same things under load, so they seem relevant. And ...



Top 50 recent answers are included