Debomita Bhattacharjee has Published 863 Articles

Selenium CSS Selectors Examples

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:21:19

833 Views

 We can locate elements with locator CSS Selector in Selenium webdriver. The general expression to create a CSS expression is tagname[attribute='value']. We can utilize the id and class attributes to create a CSS.With id, the syntax of a CSS expression is tagname#id. For instance, for a CSS expression - input#txt-loc, ... Read More

How to get the value of environment variable in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:19:09

5K+ Views

We can get the value of an Environment variable in Postman at runtime with the help of scripts. This is done with the help of the pm.* function. The script to get the Environment variable can be included either in the Tests or Pre-Request Script tabTo get an Environment variable, ... Read More

How to clear the global variables in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:17:33

2K+ Views

We can clear the Global variables in Postman at runtime with the help of scripts. This is done with the help of the pm.* function. The script to clear the Global variables can be incorporated either in the Tests or Pre-Request Script tabTo clear the Global variable, the script should ... Read More

How to create a Global Variable in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:16:10

1K+ Views

We can create a Global variable in Postman. A Global variable can be utilized in all the Environments and can be applied to all requests. In Postman, if we have the same variable name for the Global and Environment variable, then the preference is given to the Environment variable.To create ... Read More

Creating Variables using Pre Request Script using Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:14:26

4K+ Views

We can create variables using Pre-Request Script in Postman. We can set, update, or clear variables prior to the execution of the actual request. To set an Environment variable, we have to add the below script under the Pre-Request Script tab.postman.setEnvironmentVariable(name of variable, value of variable)To set a Global variable, ... Read More

How to Manage Cookies in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:13:13

2K+ Views

We can manage Cookies in Postman. We can add, delete and update a cookie. The cookies are information dispatched by the server and saved in the browser.When a request is sent, the cookies are yielded by the server. The cookies are mentioned under the Headers and Cookies tab in the ... Read More

What are Local Scope Variables in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:12:31

921 Views

The local variables in Postman are also known as the Environment variable. The scope of the local variable is confined to the Environment in which it is created.The steps to create a local variable are listed below −Step1 − Click on the New menu, then click on Environment.Step2 − MANAGE ... Read More

How to Specify the Path to save Newman report on Jenkins using Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:10:19

696 Views

We can specify the path to save Newman's report on Jenkins. Jenkins reports are available in various formats and can be managed by appending flags in the build commands. Besides, we can mention the path of the directory where the reports shall get saved with the help of these build ... Read More

How to set a global variable in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:08:01

11K+ Views

The global variables can be accessed by all the Environments and is available for every request. To set a global variable follow the below steps −Step1 − Click on the eye icon beside the No Environment dropdown and then click on the Edit link within the Globals section.Step2 − MANAGE ... Read More

How to Create an Environment in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 16:05:30

5K+ Views

We can create an Environment in Postman. An Environment is a group of variables that we can use in a Postman request. By creating Environments for production, testing, staging and so on, we can run the same URL in various Environments.Step1 − Click on the eye icon beside the No ... Read More

Advertisements