Debomita Bhattacharjee has Published 691 Articles

How to use dynamic GUID in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:21:23

4K+ Views

We can use dynamic GUID in Postman. This can be utilized in the request URL, Body or Headers by simply adding the value {{$guid}}. It does not need any declaration or initialization.Thus {{$guid}} can be used directly in Postman without any requirement of prior processing of the variable. Postman has ... Read More

Manually Generating GUID in Postman

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:20:45

3K+ Views

We can manually generate GUID in Postman with the help of the steps listed below −Step1 − Input the endpoint − https://www.tutorialspoint.com/index.htm in the address bar.Step2 − Add the below script under the Pre-request Script tab −var u= require('uuid') var ud = u.v4() console.log(ud)In the above script, require is used ... Read More

How to share Session ID Cookie with another request using Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:19:24

1K+ Views

We can share session id cookies with another request. To achieve this, we shall first save the cookie session id obtained by executing a request. Then, this cookie session id shall be passed as a header to the following request.Step1 − Enter an endpoint − https://www.amazon.com/ in the address bar ... Read More

What are Scripts In Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:17:51

801 Views

Postman is developed on Node.js that gives dynamic characteristics to Collections and requests. We can create test suites, execute requests having changing parameters, send data in between requests, and so on.A JavaScript can be associated with a request twice. Once before the actual request has been sent(as a pre-condition script ... Read More

What is Postman Sandbox?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:08:06

884 Views

Answer − Postman Sandbox is an Environment provided to execute JavaScript written as a part of the Pre-Request and Tests scripts for a request. This can be available for both Postman and Newman. Thus every script developed under the Tests or Pre-Request Scripts tab can be executed within this Sandbox.Libraries ... Read More

How to Share Session ID across Different Requests in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:05:36

2K+ Views

We can share session id across different requests in Postman. We can send a cookie value obtained from a request to a different request. This can be done only if the website is similar.A particular server can identify its own cookie. This makes a cookie highly secured. The cookies are ... Read More

Selenium - Element is not clickable at point

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:04:09

8K+ Views

We can get the error - Element is not clickable at point while trying to click a link in Selenium webdriver. This is common in chromedriver as the Chrome browser determines an element with point location.When the position of an element is changing and we make an attempt to click ... Read More

How to set Tests using Functional Method in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:01:15

441 Views

We can set Tests using the Functional method in Postman. A test in Postman gets executed only if a Request is successful. In case a Response does not get generated, the test does not to validate it.Tests implemented in the Functional method are written within the Tests tab.Add the following ... Read More

How do I keep a session alive for long Selenium scripts in automation?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:00:32

5K+ Views

We can keep a session alive for long Selenium scripts in automation. In Chrome browser, this can be achieved with the help of the ChromeOptions and Capabilities classes.Capabilities class can get the capabilities of the browser by using the method – getCapabilities. This technique is generally used for debugging a ... Read More

How to set Multiple Tests for a Request in Postman with JavaScript Method?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 12:59:27

808 Views

We can set multiple Tests for a Request in Postman with JavaScript method. A Test in Postman gets executed only if a Request is successful. In case a Response does not get generated, a test does not to validate it.Tests implemented in the JavaScript method are written within the Tests ... Read More

Advertisements