Showing posts with label Protractor. Show all posts
Showing posts with label Protractor. Show all posts
Steps To Setup Cypress DashBoard
In this article, we will learn how to use and
set up the Cypress Dashboard Service.
What is Cypress Dashboard?
The Cypress Dashboard is
a service that gives you access to recorded tests - typically when running
Cypress tests from your CI provider. The Dashboard provides you insight into what
happened when your tests ran.
Cypress Tutorial : A Brief Introduction to Cypress
In this article, we will be having an introduction of Cypress.io
and how to set this up and creating our first test in cypress.
Introduction to Cypress.io
Cypress.io is an open-source test automation tool built for
modern web applications. It is fast, easy and reliable testing for anything
that runs in a browser.
The most important part of it, it doesn’t build on Selenium
WebDriver.
Cypress.io is NOT Selenium and hence there
is a new architecture been built
from the ground up.
Protractor Automation FrameWork Using Page Object Model
In this article, I will be
sharing the complete Protractor automation framework using Page Object Model which
I have created using type and javascript.
Reading Data From Excel File in Protractor
As we all are aware, data driven testing is one of the important aspects
we need to take care while designing any testing framework. There could be
different approaches of data Driven Testing in automation framework like
-
Reading
Test Data from properties file
-
Reading
Test Data from JSON File
- Using DataProvider
-
Reading
Test Data from excel
We already have seen in other blog, how to read data from properties
file and use it in our automation framework. Please refer this link to know about it.
We also have seen how to Read test data from JSON file. Please click on this
link.
In this blog, we will learn how to read data from Excel File and use
them in our protractor automation framework.
For reading data from excel file in protractor automation framework, we need to follow below steps:
2) Then we can create
one excel file inside our project and let's name it as GoogelTestData.With the
help of this excel file I will read the url of google home page then click on
Images link present on top of page and then do some search on google Search box.
3)
Now to Read this Excel File from our automation script we need to
provide the path and name xlsx file.
Below is my runner class to execute this automation scripts
Output of above code execution would Be:
Output of above code execution would Be:
Subscribe to:
Posts (Atom)