Debomita Bhattacharjee has Published 867 Articles

How to create a teamcity report in Cypress?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 19-Nov-2021 10:03:24

600 Views

We can create a teamcity report in Cypress. To install the package for teamcity report, run the command −   npm install cypress-teamcity-reporter --save-devTo generate a report for all specs in the integration folder of the Cypress project, run the command −   npx cypress run --reporter teamcity

How to create a Junit report in Cypress?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 19-Nov-2021 10:01:36

2K+ Views

We can create a Junit report in Cypress. To install the package for the JUnit report, run the command −   npm install cypress-junit-reporter --save-devExampleImplementation in cypress.json{ "reporter": "junit", "reporterOptions": { "mochaFile": "cypress/results/results.xml", ... Read More

How to create a Mochawesome report in Cypress?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 19-Nov-2021 09:54:51

5K+ Views

We can create a Mochawesome report in Cypress. Cypress is bundled with Mocha, so any reports that can be generated for Mocha can also be utilized with Cypress.Mochawesome ReportThe Mochawesome report is one of the most important reports in Cypress. To install mochawesome, run the command −   npm install mochawesome ... Read More

How to perform data-driven testing in Cypress?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 19-Nov-2021 09:49:45

239 Views

Cypress data-driven testing is achieved with the help of fixtures. Cypress fixtures are added to maintain and hold the test data for automation. The fixtures are kept inside the fixtures folder (example.json file) in the Cypress project. It basically helps us to get data input from external files.Cypress fixtures folder ... Read More

How to upload a file in Cypress?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 19-Nov-2021 09:44:28

6K+ Views

We can upload a file in Cypress. To perform the file upload task in Cypress, we have to first install a plugin with the command −npm ins tall –dev cypress-file-uploadOnce the installation is done, we have to add the statement import 'cypress-fileupload' in the command.js file which resides inside the ... Read More

What is a Cypress Alias?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 19-Nov-2021 09:39:55

125 Views

Cypress aliases are an important component that has multiple uses. They are listed below −Sharing ContextWe have to use .as() to alias something that we have to share. To alias objects and primitives, Mocha context objects are used. The aliased object can be accessed with - this.*.Mocha by default shares ... Read More

How to create a POST request in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 18-Nov-2021 13:17:15

2K+ Views

Postman POST request allows appending data to the endpoint. This is a method used to add information within the request body in the server. It is commonly utilized for passing delicate information.Once we send the request body via the POST method, the API, in turn, yields certain information to us ... Read More

How to create a DELETE request in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 18-Nov-2021 13:06:12

12K+ Views

Postman DELETE request deletes a resource already present in the server. The DELETE method sends a request to the server for deleting the request mentioned in the endpoint. Thus it is capable of updating data on the server.Before creating a DELETE request, we shall first send a GET request to ... Read More

How to parameterize requests in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 18-Nov-2021 12:46:04

7K+ Views

We can parameterize Postman requests to execute the same request with various sets of data. This is done with the help of variables along with parameters. A parameter is a part of the URL used to pass more information to the server.The data can be used in the form of ... Read More

How to create sessions in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 18-Nov-2021 12:41:59

422 Views

A session is a temporary fold that stores values of variables. They are used for the present instance and have a local scope. In Postman, we can modify the session variable value to share workspace among teams.Postman gives the feature of local session share. Even if a Collection can be ... Read More

Previous 1 ... 6 7 8 9 10 ... 87 Next
Advertisements