Saturday, August 21, 2021

Post#134-API#3 API v/s Web Service

 API v/s Web Service

Web services facilitate communication between two web parties in compliance with communication standards and protocols like Extensible Markup Language (XML), Simple Object Access protocol (SOAP), Web Services Description Language (WSDL) and Universal Description, Discovery and Integration) UDDI and all of these collectively known as Web Services. API and Web service serve as a means of communication. The only difference is that a Web service facilitates interaction between two machines over a network. An API acts as an interface between two different applications so that they can communicate with each other. An API is a method by which the third-party vendors can write programs that interface easily with other programs. A Web service is designed to have an interface that is depicted in a machine- executable format usually specified in Web Service Description Language (WSDL- generally is an API). Typically, “HTTP” is the most commonly used protocol for communication. Web service also uses SOAP, REST, and XML-RPC as a means of communication. API may use any means of communication to initiate interaction between applications. For example, the system calls are invoked using interrupts by the Linux kernel API.

Post#133-API#2 API Testing Types

 ðŸ‘‡

Validation Testing

Validation testing occurs among the final steps and plays an essential role in the development process. It verifies the aspects of product, behavior, and efficiency. In other words, validation testing can be seen as an assurance of the correct development.

Functional testing

Includes testing particular functions in the codebase. These features are the representation of specific scenarios to make sure the API functions are handled well within the planned parameters.

Friday, August 20, 2021

Post#132-API#1 Introduction to API Testing

 

👇

Application Program Interface (API): Is the way of communication between two applications where applications may differ in their platforms or in terms of technology also.

Diagrammatically Representing And Understanding What Exactly API’s Are:


Wednesday, April 29, 2020

Post#131.How to find broken or invalid images on a web-page using WebDriver? Part 1


How to find broken or invalid images on a webpage using WebDriver? Part 1

There are several ways to accomplish this. Let's discuss one of the easiest available ways. I will keep update the other solutions regard to the same in my next posts..

Solution Statement:

To check if an image is broken, you can simply check if the naturalWidth of the element is 0. You would loop through the images on the page and do this check for each. As for doing this across an entire site, you would have to build a crawler or ideally find an existing one and that's out of scope for a question on SO.

Saturday, April 25, 2020

Post#130.How to handle 'Time out receiving message from the renderer' in chrome driver?


How to handle 'Time out receiving message from the renderer' in chrome driver?


Problem Statement: While executing selenium test cases you may encountered with below repetitive error message .

[1587832910.221][SEVERE]: Timed out receiving message from renderer: 0.100