Tjod Posted October 3, 2016 Share Posted October 3, 2016 (edited) Because of bugs resulting in problems with the API, I think it would be a good idea to have a testing solution to see if the API works as it should (with every internal version).I have started with Selenium IDE as a solution for the tests. http://www.seleniumhq.org/docs/02_selenium_ide.jsp But I'm not sure if it is the best solution. Because it isn't designed for XML. To run the test, install the FireFox Add-on, open it via Developer Toos > Selenium IDE. Open Test Suite > RecordingServiceAPI.html and run "Play entire Test Suite" it should give you 0 Failures. (RS accessible via 127.0.0.1:8089 without password ) The goal is to cover everything here http://en.DVBViewer.tv/wiki/Recording_Service_web_API (and extend/correct the descriptions there as well if necessary) currently only /api/version.html and /api/status2.html is covered (all elements present and have plausible values ) by the test. Recording Service API Test.zip Any help for extending the coverage is appreciated Edited October 4, 2016 by Tjod Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.