I have a scenario where there are multiple audio files (more than 10000) and I need to find a solution to check that whether all audios are playing well on browsers.. Can someone please suggest how can I do it in selenium or any workaround for this.

  • Please provide specifics around the implementation. Are you using any specific player or relying on HTML5 capabilities?
    – Janaaaa
    Sep 27 '16 at 12:17
  • I'm using HTML5 Sep 28 '16 at 10:52
  • Check this out: stackoverflow.com/questions/9437228/… You can take the concept from the answer and implement it in the language you are using. Please note, this only covers the part where the browser starts playing an audio file.
    – Janaaaa
    Sep 28 '16 at 11:05

As @ramnath said, it would be better if you provide more information about the audio player. In the worst case, where you won't be able to assert automatically the audio, you can automate part of the testing implementing something like the Cucumber's method ask.

See more information in this link: http://technicaldebt.com/manual-cucumber-tests/

Although it won't be as fast as a computer, this "semi-automated" test can be done with better reliability.

  • Thanks Joao, It doesn't completely solve my purpose but helped me to achieve the same. Nov 21 '16 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.