Cypress Automation Tool

Cypress is open source testing framework which is based on javascript. It creates powerful, robust and maintainable test suites. Cypress provides better, faster, and more reliable testing for anything that runs in a browser

Using Cypress, you can create below tests

  • End-to-end tests
  • Integration tests
  • Unit tests

Advantages of Cypress

  • Use the Page Object pattern
  • Write tests with multi data sets (data-driven)
  • Run tests in parallel
  • Test APIs
  • It can be executed from Jenkins or any other CI tool
  • There is no need for driver binaries in Cypress and execution happens on the real browser.
  • It has support for BDD and TDD style testing.
  • Cypress runs much, much faster

Limitations of Cypress

  • It doesn’t provide support for multi-tabs
  • Cypress only supports JavaScript for creating test cases
  • Cypress doesn’t provide support for browsers like Safari and IE at the moment.

Framework Structure

Main Components of the framework

  1. Configs: Stores the test data for the test cases in json files. This test data is then imported to test cases. So, same test case can be executed with multiple data and multiple times.
  2. Constants: This section of the automation framework acts as the object repository. Unique identifier for each object or web-element on UI is identified and captured here. These object properties are used by the code to identify the element on the web page.
  3. Support: This is the backbone of the framework. This section imports all the object properties or identifiers and use them to create the methods or commands that are used in test cases for test execution. This in other words can be explained as glue in cucumber terminology.
  4. Integration: These are the actual test cases. Each test case is stores in .js format and calls the methods or commands in the sequential order to execute test cases.

Executing Test

  • Test can be executed from GUI and from Command Line
  • Test can be executed in browser and in headless mode

 

 

Slide Background
01. Slide Background
Every slide includes a background, which can be a picture or solid color.
Step 1

To change the background click on the label bar and in the layer window select the style tab.

Step 2

Choose a source from the background top tab then upload an image or pick a background color.

Build & Design
02. Build & Design
Build any layout with layers and customize your designs limitlessly.
Step 1

To add a layer, click the green plus button in the left sidebar and select the type of layer.

Step 2

Select any layer and you can edit its content and style properties in the layer window.

previous arrowprevious arrow
next arrownext arrow
 
Slide Background
Build & Design
previous arrow
next arrow
Shadow
 
 
 
 
 
 
 
 

Be the first to comment

Leave a Reply

Your email address will not be published.


*