JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Cypress Quiz 1
All questions are multiple choice having 1 correct answer
All questions are mandatory
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Name
*
Your answer
Cypress can be installed on
*
1 point
Windows
Mac
Linux
All the above
Cypress can be installed using Node JS OR direct download
*
1 point
Yes
No
Cypress adds automatic waits for Assertions
*
1 point
True
False
What is the default wait time in Cypress
*
1 point
8 sec
4 sec
can vary
In Cypress we cannot give custom waits
*
1 point
True
False
What is the command to open cypress ui
*
1 point
cypress run
cypress open
cypress ui
Cypress uses Selenium WebDriver
*
1 point
True
False
Cypress can be used for Unit Testing
*
1 point
True
False
What is the command to initialize a node project in a folder
*
1 point
npm init -y
npm start
npm project
What is the command to install cypress
*
1 point
npm install cypress
npm get cypress
npm open cypress
What is the Cypress command to visit a webpage
*
1 point
cy.navigate()
cy.visit()
cy.get()
What command can be used to locate an element on a webpage
*
1 point
cy.get()
cy.contains()
Both
What option can you use from Cypress app browser to find element locators
*
1 point
Selector Playgroud
Object Locator
Element Playground
What is the command to wait in cypress
*
1 point
cy.pause(2000)
cy.wait(2000)
cy.sleep(2000)
How to verify title of a page
*
1 point
cy.verifyTitle('my page')
cy.title.contains('my page')
cy.title().should('eq','my page')
What is the default configuration file in Cypress project
*
1 point
index.js
support.js
cypress.json
How to access the value of baseURL from cypress.json
*
1 point
Cypress.config().baseURL
Config().baseURL
Cypress().baseURL
Following command will navigate to
https://google.com/
*
1 point
cy.visit('
https://google.com/
')
cy.get('
https://google.com/
')
cy.navigate('
https://google.com/
')
cy.url().should('eq', '
https://www.google.com/'
); This command will check that the url of current page is
https://www.google.com/
*
1 point
True
False
Which command is used to print a message to the Cypress Command Log
*
1 point
cy.write(message)
cy.log(message)
cy.print(message)
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms