Setup (Surfmeter Selenium for Java)¶
The Surfmeter Selenium for Java Library allows you to:
- Measure video quality metrics in automated tests
- Track player states and events
- Collect performance data
- Generate detailed analytics reports
The library is built in Java, as this language is broadly used within testing companies to do integration tests. Are you working with another programming language? Feel free to contact us on that, we are happy to help you here.
Requirements¶
We recommend using the lib with the following dependencies
- Java: 17
- Selenium: 4
surfmeter.auto-sdk.bundle.js
– contact AVEQ for this one, if you haven't got your copy yet.
We recommend using the ChromeDriver for best and most accurate results, but other drivers are working too.
How to install¶
Currently this package is not available as a Maven-Project, but distributed as open code on request. The core technology is distributed in a JavaScript library surfmeter.auto-sdk.bundle.js
that will be injected for each test directly in the web-pages - Make sure to have this one downloaded from the AVEQ server.
Download this repository and copy the files from src/main/java/com/aveq
to your existing project.
Also, copy the surfmeter.auto-sdk.bundle.js
file to some directory in your project, e.g. assets.
Now, you can create a new example file that launches a Selenium test and instantiates our SurfmeterVideoTest library.