RE: How to automate web-services/API’s using Selenium Webdriver

Answered

I want to automate web services using Selenium Webdriver for one of my application. I have to pass parameters in json/xml formats and read the response in json/xml format only. For now Developer has provided me UI for web services but how can I achieve this without UI ?

shrutig Default Asked on March 30, 2015 in Selenium WebDriver.
Add Comment
3 Answers

Shruti,

WebDrivers have nothing to do with external WebServices. You have to use core java to handle your API requests, probably you are looking HTTPRequest related classes in Java. It depends on what type of API are you trying to Test.

Virender

Professor Answered on March 31, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.