0% found this document useful (0 votes)
75 views21 pages

Cypress

The document provides a comprehensive guide on Cypress and JavaScript, covering topics such as JavaScript syntax, functions, TypeScript types, and control flow statements. It also delves into Cypress automation, including locators, web elements, navigation commands, and handling alerts. Additionally, it discusses frameworks like POM and Cucumber, along with tools like Git, Jenkins, and JIRA for software testing and project management.

Uploaded by

susanta.27051988
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views21 pages

Cypress

The document provides a comprehensive guide on Cypress and JavaScript, covering topics such as JavaScript syntax, functions, TypeScript types, and control flow statements. It also delves into Cypress automation, including locators, web elements, navigation commands, and handling alerts. Additionally, it discusses frameworks like POM and Cucumber, along with tools like Git, Jenkins, and JIRA for software testing and project management.

Uploaded by

susanta.27051988
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

CYPRESS-JAVASCRIPT

Introduction
JavaScript Overview
JavaScript Syntax
Type of JavaScript
Embedding Script In HTML File
Variable

Operators
Arithmetic
Logical
Comparison
Assignment
Conditional

Conditional & Looping Statement


If
If. Else
Switch
While
Do/while
For
Function & Object
Passing Parameter to function
Returning a value from function
Creating Object
Accessing Object

Properties & Method


Array Object
String Object
Date Object
Math Object
constructor

TypeScript

Introduction
Installation and setup
Sample program execution
Typescript types

Type annotation
number
string
boolean
object type
array
tuple
enum
any type
void type
never type
union type
type aliases
string literal types
type inference
Control flow statements

if..else
switch..case
for
while
do...while
break
continue

Functions
functions
function types
optional parameters
default parameters
rest parameters
function overloading
Classes
Classes intro
access modifier
readonly modifier
getter & setter
inheritance
static methods and properties
abstract classes

Interfaces
interfaces intro
interfaces vs abstract classes

Advanced Types
intersection types
type guards
type casting
type assertions
Generics
Introduction
generic constraints
generic classes
generic interfaces
Modules

CYPRESS:
Cypress Introduction

Types of Applications (Desktop, Web, Mobile,


Hybrid)
Software Testing Methods (Manual and Test
Automation)
cypress Introduction
cypress vs. Other Testing Tools
Advantages of cypress
Integration of cypress with Other Tools
Pre-Requesites for cypress Automation
node installation
vs code installation
cypress installation
javascript installation
Safari Browser Launching
InternetExplorer Browser Launching
Installing FireBug and FirePath
Firefox Browser Launching

Locators
cssSelector

Xpath
Contains Xpath
Text Xpath
Text Contains Xpath
Attribute with contains
Following
Ancestor
Child
Preceding
Following-sibling
Parent
Self
Descendant

Types Of Xpath
Relative Xpath
Absolute Xpath
Difference between Absolute Xpath and
Relative Xpath
Limitations in Absolute xpath
Advantages of using Relative xpath
Check Box
Finding checkboxes count
Checking the visiblity of Check Box
Checking the properties of Check Box
Identifying common locator for all
checkboxes
Checking toggled attribute

Text Box
Handling the Text Box
Checking the visiblity of Text Box
Checking the properties of Text Box
Identifying common loactor for all TextBoxes
Finding Textboxes count
Radio Button
Handling the Radio Button
Checking the visiblity of Radio Button
Checking the properties of Radio Button
Identifying common loactor for all
Radiobuttons
Finding radiobuttons count

WebElement
What are WebElements in cypress
Different types of WebElements
Operations performed on the WebElements
How to locate the WebElements on the web
page
Different WebElement methods
Difficulties while handling webElements
Dynamic Locators
Absolute XPath method
Relative XPath method
Identify by index
Preceeding-sibling,Following-sibling concept
Ancestor ,parent concept
Common tagname(*) method
Multiple attributes to locate an element

Navigation Commands
Navigate To Command
Forward Command
Back Command
Reload Command
WebDriver Commands
Fetching a web page
Locating elements and sending user inputs
Clearing User inputs
Fetching data over any web element
Performing Click event
Navigating backward in browser history
Navigating forward in browser history
Refresh/ Reload a web page
Closing Windows
Closing Browser
Handling Windows
Handling Frames
Handling Drag and Drop
Actions
Drag and Drop
Mouseover Action
Right Click
Double Click
Performing Multiple Actions
Accessing modifier keys using Keyboard Action

Alerts
Switching into Alert
Alert methods
Types of Alert
Handling the Alert
Passing the inputs to Alerts
Entering text into Alert
Get the text present in Alert

ScrollUp/ScrollDown
Scroll the web page using scroll into view
Frames
Need for Frames
Identifying a Frame
Switching to Frames using Selenium WebDriver
Different ways of switching
Dynamic frames handling
Frames Size
Concept of Nested Frames

Windows Handling
Importance of Windows Handling
Handling the Multiple Windows
Windows Handling using Set
Windows Handling using List
WebTable
Analyzing WebTable structure in DOM
Handling multiple webtables in a page
Dynamically changing WebTable handling
Extracting values from webTable
Analyzing the Tagnames
Different Scenarios with WebTable

ScreenShot
Need of Screenshot in Automation testing
Capture Screenshot in cypress
Capture Full Page Screenshot
Taking a Screenshot of a particular element of
the page
Random name generation for screenshots
DropDown
select otion in dropdown
Different Select commands
Multiple Select commands
Deselect Commands
Get All options
Dropdown without Select tag
Handling dropdown with values changing its
position dynamically.

File Upload/File Download


Uploading files in cypress using attachFile method
Uploading files in cypress using attachFile method
by drag and drop
POM Framework:
Page Object Model
Advantages of POM
Implementing POM
Object repository creation
POM Annotation
Grouping

Data Driven:
Data Driven Explanation
Excel Types
Apache poi-ooxml
Interface , class , methods in apache poi-ooxml
Read Data from excel
Write data in excel
update data in excel
Creation of Automation scripts reading data
from excel
Cucumber FrameWork:
BDD Introduction
BDD vs TDD
Cucumber Introduction
How to download & Installation plugin
Gherkin Language
Feature files
TestRunner with Junit
Step Definition
Scenario and Scenario Outline
BackGround and Hooks
Cucumber Tags for grouping-scenario and feature
level
BaseClass and POM Integeration
CucumberOptions
Reports-Creating Cucumber JVM reports
Rerunning
failed scenarios
Parallel execution
Manual testing
Introduction to Testing
SDLC
STLC
Manual vs Automation Testing
Testcase design Techniques
Defect cycle.
Writing testcases and test scenarios
Test scenario and Testcases preparation
Software testing medhodologies
Functional and non-functional testing
Detailed explanation for Waterfall methodology
Detailed explanation for Agile Methodology
Defect raising using JIRA
Agile methodologies
Agile Methodologies Overview
Sprint planning using Poker planning technique
Agile Scrum
Agile ceremonies
Agile artifacts

Git

Introduction To Git
Working Locally With Git
Working Remotely With Git
Branching, Merging And Rebasing With Git
Using The GitHub Website
GitHub For Windows Basics
Teamwork With GitHub For Windows
Social Coding With GitHub
Jenkins
Continuous Integration or Continuous
Deployment concepts
Installing and Configuring Jenkins
Freestyle Project Configuration
Jenkins Pipelines
Testing With Jenkins
Pipeline Enhancements o Multi-branch Pipelines
and Code Promotion

JIRA
Introduction To JIRA
Test Management In JIRA (Zephyr)
Advanced Search And Introduction To JQL
(JIRA Query Language)
Generating Reports In JIRA
Introduction To JIRA Agile

You might also like