Jump to content

Building Selenium tests for the RS web API (your help is appreciated)


Recommended Posts

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 :innocent:

Edited by Tjod
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...