Blog

Explicit Wait in Serenity

HOME In the previous tutorial, I have explained the Implicit Wait in Serenity. In this tutorial, will explain the Explicit Wait in Serenity. What is Explicit Wait? Explicit wait is used to wait for a specific web element on the web page for the specified amount of time. You can configure wait time element by … Continue reading Explicit Wait in Serenity

Implicit Wait in Serenity

HOME Most Web applications are asynchronous by nature. So it has become necessary to wait for elements, before trying to interact with them. This can be achieved by the use of wait functionality. I won’t recommend the use of Thread.sleep() statement to wait for a specific web element in the web page, as it slows … Continue reading Implicit Wait in Serenity

Deserialization – How to create JSON Object to JAVA Object Using Gson API

HOME In this tutorial, I will explain the conversion of JSON Object (payload) to JAVA Object. We will use Gson API for the same purpose. Before going through this tutorial, spend some time understanding Serialization using Gson API. We can parse the JSON or XML response into POJO classes. After parsing into POJO classes, we … Continue reading Deserialization – How to create JSON Object to JAVA Object Using Gson API

Serialization – How to convert Java Object To JSON Object Using Gson API

HOME The previous tutorials have explained the conversion of Java Object to JSON and JSON payload to Java Objects using Jackson API. This tutorial explains the process to convert Java Object to JSON Payload using Gson API. Gson is a Java library that can be used to convert Java Objects into their JSON representation. It … Continue reading Serialization – How to convert Java Object To JSON Object Using Gson API

Deserialization – How to convert JSON to Map using Jackson API

HOME This tutorial shows how to convert JSON to JAVA map using Jackson’s data binding. In the previous tutorials, I have explained converting Java Objects/Arrays to JSON String using Jackson API. You can refer below tutorials. Serialization – How to create JSON Payload from Java Object – Jackson API Deserialization – How to convert JSON … Continue reading Deserialization – How to convert JSON to Map using Jackson API

Deserialization – How to convert JSON to Java Object using Jackson API

HOME The previous tutorial explains the Serializarion process that means converting Java Objects to JSON Payload. This is done using Jackson API. This tutorial explains the Deserialization, means converting JSON Payload to Java Objects. Deserialization – It is the reverse of serializing. In this process, we will read the Serialized byte stream from the file … Continue reading Deserialization – How to convert JSON to Java Object using Jackson API

Serialization – How to convert Map to JSON string using Jackson API

HOME This tutorial shows how to convert Java map to JSON string using Jackson’s data binding. In the previous tutorials, I have explained converting Java Objects/Arrays to JSON String using Jackson API. You can refer to the below tutorials. Serialization – How to create JSON Payload from Java Object – Jackson API How to create … Continue reading Serialization – How to convert Map to JSON string using Jackson API

Rest Assured – How to test JSON Request using Jackson API

HOME This tutorial focuses on the testing of a REST API (with JSON payload). We will use Jackson API to serialize the request. It is suggested to go through these tutorials to understand about creating a JSON Object Payload using POJO (Plain Old Java Object). How to create JSON Object Payload using POJO – Jackson … Continue reading Rest Assured – How to test JSON Request using Jackson API

Loading…

Something went wrong. Please refresh the page and/or try again.


Follow My Blog

Get new content delivered directly to your inbox.