Found 455 Articles for Software Testing

Cypress Test Runner (Test Automation)

Debomita Bhattacharjee
Updated on 05-Aug-2020 11:39:04

719 Views

Cypress Test Runner is one of the important features in this tool. A test runner is basically the entry to start any test case execution with Cypress. While executing each step in our test case Cypress allows us to monitor the running of the commands on the application under test.As we finished installation of Cypress, there comes a suggestion from the tool on the terminal −You can open Cypress by running − node_modules/.bin/cypress openNext we shall run the command node_modules/.bin/cypress open from the project path. On running this command, the user shall be notified that Cypress is being executed first ... Read More

Cypress Installation (Test Automation)

Debomita Bhattacharjee
Updated on 05-Aug-2020 11:36:52

516 Views

To do Cypress installation, first of all we need to download Node as to work with the Javascript tool we need to have Node in our system.Next we need to visit the official website − https://nodejs.org/en/download/ and download as per system requirements.For a windows system, we just need to proceed the steps one by one. It shall be stored in the Program files. We need to set the path of the node home in the environment variables.Next for working on Cypress, we need to have an editor on our system. We can download Microsoft Visual Studio Code editor to write ... Read More

Cypress Architecture (Test Automation)

Debomita Bhattacharjee
Updated on 05-Aug-2020 11:30:53

3K+ Views

A cypress architecture is described in the below diagram.Majority of the automation testing tools like Selenium perform by executing from outside the browser and running remote commands through the network. Cypress has a different functionality altogether.Cypress is sitting on the browser itself. In the background of Cypress, there exists the Node.js server. The Node server and the Cypress interacts constantly, adjusts and executes actions in support of each other.Thus Cypress has access to both the front and back end of the application. This helps it to act on the real time incidents on the application at the same time execute ... Read More

What is Cypress for Test Automation?

Debomita Bhattacharjee
Updated on 05-Aug-2020 11:29:30

1K+ Views

Cypress is the future tool for testing front end modern web applications. It aims to overcome the hurdles that the engineers and developers face while testing web applications based on React and AngularJS. It is a quick, effortless and dependable tool for testing any applications that run on browsers.Cypress is commonly compared with Selenium. But there are a lot of differences between Cypress and Selenium in terms of architecture and foundation. Cypress is targeted for the purposes listed below −Unit TestingIntegration TestingEnd to End flow TestingThus Cypress is used to test a wide range of applications that are operational in ... Read More

How to group selected tests from a set of tests in pytest?

Debomita Bhattacharjee
Updated on 29-Jul-2020 12:47:19

229 Views

We can group selected tests for execution from a set of tests in pytest.Pytest is a test framework in python. To install pytest, we need to use the commandpip install pytest. After installation, we can verify if python has been installed by the command pytest –version. The version of pytest shall be known.Pytest can be used for creating and executing test cases. It can be used in wide range testing API, UI, database and so on. The test file of pytest has a naming convention that it starts with test_ or ends with _test keyword and every line of code ... Read More

How to run a selected test from a set of tests in pytest?

Raju Kumar
Updated on 29-Jul-2020 11:46:46

354 Views

We can run a selected test from a set of tests in pytest. Pytest is a test framework in python. To install pytest, we need to use the command pip install pytest. After installation, we can verify if python has been installed by the command pytest –version. The version of pytest shall be known.Pytest can be used for creating and executing test cases. It can be used in wide range testing API, UI, database and so on. The test file of pytest has a naming convention that it starts with test_ or ends with _test keyword and every line of ... Read More

How to use fixtures in pytest?

Debomita Bhattacharjee
Updated on 29-Jul-2020 11:22:29

330 Views

The fixtures are methods which shall execute before each test method to which it is associated in pytest. Pytest is a test framework in python. To install pytest, we need to use the command pip install pytest. After installation, we can verify if python has been installed by the command pytest –version. The version of pytest shall be known.Pytest can be used for creating and executing test cases. It can be used in wide range testing API, UI, database and so on. The test file of pytest has a naming convention that it starts with test_ or ends with _test ... Read More

How to run a test method without reporting as passed or failed in pytest?

Debomita Bhattacharjee
Updated on 29-Jul-2020 11:21:13

345 Views

We can run a test method without reporting as passed or failed in pytest. This test method is generally used as a prerequisite. Pytest is a test framework in python. To install pytest, we need to use the command pip install pytest. After installation, we can verify if python has been installed by the command pytest – version. The version of pytest shall be known.Pytest can be used for creating and executing test cases. It can be used in wide range testing API, UI, database and so on. The test file of pytest has a naming convention that it starts ... Read More

What is pytest and what are its advantages?

Debomita Bhattacharjee
Updated on 29-Jul-2020 11:13:20

1K+ Views

Pytest is a test framework in python. To install pytest, we need to use the command pip install pytest. After installation, we can verify if python has been installed by the command pytest –version. The version of pytest shall be known.Pytest can be used for creating and executing test cases. It can be used in wide range testing API, UI, database and so on. The test file of pytest has a naming convention that it starts with test_ or ends with _test keyword and every line of code should be inside a method which should have a name starting with ... Read More

How to create a worksheet and write some values in it in Selenium with python?

Debomita Bhattacharjee
Updated on 29-Jul-2020 11:12:03

1K+ Views

We can create a worksheet and then write some values in it. Excel is a spreadsheet which is saved with the .xlsx extension. An excel workbook has multiple sheets and each sheet consists of rows and columns.Out of all the worksheets, while we are accessing a particular sheet that is called as an active sheet. Each cell inside a sheet has a unique address which is a combination of row and column numbers.The column number starts from alphabetic character A and row number starts from the number 1. A cell can contain numerous types of values and they are the ... Read More

Advertisements