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?– JanaaaaSep 27, 2016 at 12:17
-
I'm using HTML5– Pankaj DubeySep 28, 2016 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.– JanaaaaSep 28, 2016 at 11:05
1 Answer
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, 2016 at 7:27