Found 26 Articles for Test Automation

How to Create a Test Plan? (Sample Template, Examples)

Vineet Nanda
Updated on 25-Nov-2021 07:16:16

3K+ Views

Plan for the testA Test Plan is a thorough document that outlines the test strategy, objectives, timetable, estimation, deliverables, and resources needed to accomplish software testing. The Test Plan assists us in determining the amount of work required to confirm the quality of the application being tested. The test plan is a blueprint for conducting software testing operations as a defined procedure, which the test manager closely monitors and controls."A test plan is a document detailing the scope, strategy, resources, and timetable of expected test activities, " according to the ISTQB definition.Let's look at an example/scenario of a Test Plan: ... Read More

Cypress Test Automation

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:24:49

1K+ Views

Cypress supports most of the modern applications built on React, Angular and so on. Often Cypress is compared with automation tools like Selenium. There are a lot of debates on which is a better tool [Cypress and Selenium] with respect to automation.However both Cypress and Selenium both have a set of advantages and disadvantages and it is up to the user’s requirements that we should take up a tool. Let us now discuss some of the differences between Selenium and Cypress as listed below −Cypress is available for use in the form of framework or npm. It is considered as ... Read More

Cypress Dashboard for Test Automation

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:23:21

299 Views

Cypress Dashboard is an option that enables us to see the recorded tests and gives us detail on the events that took place during execution. It gives a visual display of the test execution, their reports and status of the runs. It is a useful tool while we are executing tests in the CI environment.Benefits of Cypress Dashboard are listed below −It gives information on the count of the number of test cases that passed, failed or skipped during execution.It gives full information on stack trace of the tests that got failed.It captures screenshots for failed test cases or when ... Read More

Handling Frames with Cypress

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:19:54

1K+ Views

Cypress in its earlier versions was not capable of handling frames. However in its latest version, they have given us the solution to automate scenarios with frames. A frame is an html structure which resides inside another html structure.If we want to access an element which is inside a frame, first of all Cypress has to move its focus from the entire web page to the frame and then it interacts with the elements inside that frame. We have to install a plugin to work with frames in Cypress.We shall run the command npm install –D cypress-iframe from the project ... Read More

Handling Child Windows with Cypress

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:17:31

1K+ Views

Sometimes on clicking a link or button, it opens to another window often known as the child window. Cypress has a unique way of handling child windows unlike other automation tools like Selenium and Protractor. It basically keeps no information on the child window by shifting its focus from the parent to the child window.Now let us understand why a link or a button opens a new webpage on a different tab considered as a child. This is due to the attribute target set in the html for that element. If omitted, it shall open in the same window.Cypress cannot ... Read More

Mouse over Actions with Cypress

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:15:32

2K+ Views

The mouseover actions are very common in web pages where a list of elements becomes visible once we hover on it. Cypress does not support mouse over actions like other automation tools like Selenium as it considers it to be flaky.Cypress shall manipulate DOM elements to perform mouse over actions. Cypress takes the help of show() method in JQuery. The show() method displays the elements which are hidden [ having the CSS property display:none] and selected. Also, the show() method only works with the immediate parent in the DOM of the hidden element.Now to invoke any JQuery function, Cypress takes ... Read More

Handling Web Tables with Cypress

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:13:33

1K+ Views

Web tables can be handled with Cypress. A web table can be of two types − static and dynamic. A static web table has a fixed number of rows and columns. A dynamic web table on the other hand has rows and columns whose numbers do not remain fixed.In order to identify a particular column value in a table we need the help of css selector. A table structure has an html consisting of tag followed by and finally tag. The rows are represented by and the column values are represented by .With the help of ... Read More

Handling Child Tabs with Cypress

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:11:16

934 Views

Sometimes on clicking a link or button, it opens to another tab in the same browser. Cypress has a unique way of handling child tabs unlike other automation tools like Selenium and Protractor. It basically keeps no information on the child tab by shifting its focus from the parent to the child tab.Now let us understand why a link or a button opens a new webpage on a different tab considered as a child. This is due to the attribute target set in the html for that element. If omitted, it shall open in the same window.Cypress cannot directly handle ... Read More

Handling Alerts with Cypress

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:09:41

2K+ Views

Cypress has a unique way of working with alerts unlike other automation tools like Selenium or Protractor. Cypress basically automatically accepts alerts and we don’t have to write logic to handle them.There are two types of pop up, the alert pop up (with only OK button) and confirmation pop up (with OK and Cancel buttons). Cypress is designed in such a way that it shall click on the OK button on the pop up without needing any manual intervention. It has the feature of firing browser events.ExampleCode Implementation to handle alerts.describe('Tutorialspoint Test', function () {    // test case   ... Read More

Dynamic Dropdown verification with Cypress

Debomita Bhattacharjee
Updated on 05-Aug-2020 12:06:43

2K+ Views

There are numerous types of dropdowns on the webpage. The types of dropdowns are static and dynamic. While the static dropdowns have with the tag, the dynamic dropdowns generally have the or tags.The static dropdowns having the tag is handled in Cypress with the help of the in built command called the select(). The dynamic dropdowns are mostly the auto suggestive dropdown where on typing the first few letters of our search, a list of suggested items get displayed.The logic is to type a few characters inside the dynamic dropdown. Based on that a list of ... Read More

Advertisements