Selenium - can it test a B2B web service -
I have used selenium to test many UI from the browser. If you have a web service behind the Java SSP page, i.e. in the servlet, you can test it with selenium.
Selenium can be used to test the B2B web service i.e. backend is not a browser UI component?
I used Sopia to do such tests in the past but our test department is trying to standardize Selenium.
You can do but I will not recommend it. If the page is returning XML, then you will not be able to use standard selenium calls to verify what is happening because you will not have access to the DOM. If the returned plain text for Javascript you will struggle with the output check.
This is a definitive case for using the right tools for the job and Selenium is not the right tool for web services testing. I will use soap UI or just use some URL library to call service URL and then confirm the result.
If they are looking for standardization then their purpose is to standardize the equipment. Soen for selenium, unit and integration for webservices for UI
Comments
Post a Comment