Let us understand the problem with an example, suppose "Learn Core Java" is the given string then the expected output should be "nraeL eroC avaJ". We just reverse each word and print the string.
Thursday, July 18, 2019
Sunday, July 7, 2019
Soft Assertion Vs Hard Assertion in TestNG
In test automation, when we want to validate the results or some conditions we use Assertion class. If the condition fails, subsequent steps will be aborted and test will be marked as failed. This type of assertion is called Hard Assertion.
Java Program 4: How to find the number of times each duplicate character repeated in the given string?
Let us understand the question with an example, we need to find the all the duplicate characters and how many times each duplicate character repeated.
- Suppose "Selenium Java" is the given string then, 'e' and 'a' are the duplicate characters and 'e' repeated two times and 'a' also repeated two times.
- If "Java Program" is the given string then, 'a' and 'r' are the duplicate characters and 'a' repeated thrice and 'r' repeated two times.
Monday, July 1, 2019
API Testing 05: Client Server Architecture and HTTP Protocol
Client - Server Model:
In client-server architecture the machine that requests for some data or the machine that consumes the data is called as a Client and the machine the accepts the client's requests and provides the required data as response is called as a Server.
In client-server architecture the machine that requests for some data or the machine that consumes the data is called as a Client and the machine the accepts the client's requests and provides the required data as response is called as a Server.
API Testing 04: Introduction to REST architecture
History of REST:
REST web services were first introduced by Roy Fielding in 2000 at University of California. He submitted a thesis on developing web services using HTTP protocol with some principles.
The web services developed using HTTP protocol and binding to the principles of Roy Fielding are called RESTful web services.
REST web services were first introduced by Roy Fielding in 2000 at University of California. He submitted a thesis on developing web services using HTTP protocol with some principles.
The web services developed using HTTP protocol and binding to the principles of Roy Fielding are called RESTful web services.
API Testing 03: SOAP vs REST web services
We have two types web services, Simple Object Access protocol (SOAP) and Representational State Transfer (REST) web services.
Both SOAP and REST are meant for the same purpose, but how they work and what they use for communication to happen differentiates them. Lets understand them in detailed.
Both SOAP and REST are meant for the same purpose, but how they work and what they use for communication to happen differentiates them. Lets understand them in detailed.
Subscribe to:
Posts (Atom)
DevOps 01: What is DevOps and How it benefits organizations?
DevOps is a culture in an organization, where the development team and operations team help each other by sharing information, process and t...
-
POST is a http method, it is used for creating the new resources on the server. In particular, it is used for creating the subordinate reso...
-
With the help of Robot class we can Zoom In or Zoom Out the browsers in Selenium Automation. We need to press CNTRL+ADD (symbol '+'...
-
A new method newWindow() is introduced in Selenium 4 (Alpha). Using this method we can open a new tab or new window from the current window...