Тёмный

Cypress Tutorial : Advance Commands that you should know.(With Example) 

The Testing Academy
Подписаться 167 тыс.
Просмотров 12 тыс.
50% 1

In this video of cypress tutorial for beginners, We are going to learn about the different cypress advance commands like cy.visit, cy.get, cy.get('').should) and many more.
Cypress is a JavaScript test automation solution for web applications.
It enables teams to create web test automation scripts.
This solution aims to enable frontend developers and test automation engineers to write web tests in the de-facto web language that is JavaScript.
Cypress also supports the Mocha test framework so the core technologies in which you would develop your web test automation are Java Script on top of Mocha.
It is a test automation tool that enables developers to automate web browser testing.
The Selenium WebDriver protocol enables sending commands in various development languages like Java, Java Script, C#, Python, and others from the test environment (IDEs) to a selected desktop browser (Chrome, Firefox, Edge, Safari).
-----------------------------------------------------
👪 Join our Community - bit.ly/learntes...
✅ Automation Community - thetestingacad...
🐦Follow us on Twitter - / itstechmode
📖 Like us on Facebook - / scrolltest
🎤 Listen to our Podcast - anchor.fm/thet...
------------------------------------------------------
#automationtesting #manualtesting #testautomation #thetestingacademy #scrolltest
~-~~-~~~-~~-~
Please watch: "Cypress Tutorial For Beginners : Part 2
• Cypress Tutorial For B...
~-~~-~~~-~~-~
🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌
✅Selenium Training and Certification -
scrolltest.com...
✅Learn Jenkins for QA -
bit.ly/learnje...
✅Programming Java -
bit.ly/learnja...
✅Test Automation -
bit.ly/learnau...
✅API Testing -
www.learnapite...
✅Cypress Tutorial with LIVE Projects -
cypresstutorial...

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@balas3544
@balas3544 3 года назад
thanks for video but i don't think so its advanced topics from cypress as mentioned in title
@ChessPuzzlesVideo
@ChessPuzzlesVideo 4 года назад
i didn’t find any advanced content here
@TheTestingAcademy
@TheTestingAcademy 4 года назад
Ok
@shiv850
@shiv850 4 года назад
Hi Pramod, Could you please share your thoughts on how to continue testing after an assertion fails. I am not able to find the solution anywhere. Please help.
@TheTestingAcademy
@TheTestingAcademy 4 года назад
You can use the soft assertions
@shiv850
@shiv850 4 года назад
The Testing Academy Thank you .
@krantibrid6110
@krantibrid6110 3 года назад
whats the difference between writing cy.get(`.example p`).as(`number`): cy.get(`number`).should(`have text`, `Number`) and simplying writing cy.get(`.example p`).should(`have text`, `Number`)
@reetikjoshi1087
@reetikjoshi1087 3 года назад
Its just aliasing as you cannot store cypress commands in variables due to asynchronous nature of it
@TN-cx4qi
@TN-cx4qi 3 года назад
@@reetikjoshi1087 are you saying that you can't store information from cypress commands? Or are you saying that you can't store something like cy.get() in a command? Cause you can do both.
@reetikjoshi1087
@reetikjoshi1087 3 года назад
@@TN-cx4qi actually what i was saying is let a = cy.get() won't behave as it should so to overcome this scenario you should use alias.
@TN-cx4qi
@TN-cx4qi 3 года назад
@@reetikjoshi1087 you would be correct in saying that, but there are ways of putting cy.get() and its common chains like cy.get().should()... into something shorter/different. You could do something in the commands.js like Cypress.command.add('a' (tag) => { cy.get('[data-cy=${tag}]) }) or you can make a custom class that's takes the data-cy as a parameter and the chain able command name, etc. As parameters then just call that function name in the test. Sorry if the syntax is a little off doing this on my phone isn't the greatest 😅. Hopefully you and the original poster are still working in cypress it is a neat framework.
@reetikjoshi1087
@reetikjoshi1087 3 года назад
@@TN-cx4qi thanks for the additional information on it. I got it about the custom commands concept you are talking about.
@sridharj3285
@sridharj3285 3 года назад
I con' t understand this video lecture ...
@ImranKhan-vw6yo
@ImranKhan-vw6yo 3 года назад
This is pretty basic, i think, there are more in advance
@TheTestingAcademy
@TheTestingAcademy 3 года назад
Yes there are covered in other tutorials
Далее
Пчёлы некроманты.
00:46
Просмотров 24 тыс.
would you eat this? #shorts
00:13
Просмотров 470 тыс.
Cypress.io: How to mock API response
21:54
Просмотров 27 тыс.
Cypress in a Nutshell - 2019
40:47
Просмотров 300 тыс.
Cypress (Web Testing Framework) Crash Course - 2021
2:03:05
Пчёлы некроманты.
00:46
Просмотров 24 тыс.