Reusable commands in Cypress || Write Generic Functions - Part - 14

  Рет қаралды 17,296

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 24
@shabbyguy4334
@shabbyguy4334 4 жыл бұрын
Once again Naveen, Brilliant! Well explained, to the point and always daily common used examples. Can't wait for the next upload, keep up the awesome work!!!!!
@maheshkalagatta5364
@maheshkalagatta5364 3 жыл бұрын
Thanks @Naveen AutomationLabs. We could gain much knowledge on Cypress and related topics. Could you please make more videos on Cypress API and also on Framework part
@AlanMartinez-yk7dm
@AlanMartinez-yk7dm 2 жыл бұрын
Thanks Bro !!! big help
@TechTutorialz99
@TechTutorialz99 2 жыл бұрын
very helpful session. I am facing issue (test runner is closing immediatly), pls let me know how not to exit from test runner
@BhagatSingh-mh4og
@BhagatSingh-mh4og Жыл бұрын
@Naveen Bhaiya, As i seen in your video that we dont need to login again & again for every 'it' block so you have used before function but sir cypress has removed this function in version above 12, how we can achieved this feature ? please reply bhaiya.
@prakashajay8405
@prakashajay8405 Жыл бұрын
@Naveen, I am also looking this info. Instead of logging in again and again I want to login only once then other tests should continue. Though I put Login code in before(), my test is not continuing .
@shreyasjain9891
@shreyasjain9891 3 жыл бұрын
Do we need to import the cypress in command.js file like below: import cypress from "cypress" because I am getting error : The following error originated from your test code, not from Cypress. > cypress is not defined. If I use the import function then I am getting errors too in node_modules folder, If I remove this command the code is running without any issue what should I do to resolve it, either way, I am getting errors if I use import or without import call. please help
@varshapatil2458
@varshapatil2458 3 жыл бұрын
Hey Naveen, How to check if has ?
@lovely-do8ns
@lovely-do8ns 2 жыл бұрын
ul > li
@muslimaadil3590
@muslimaadil3590 4 жыл бұрын
Hello Naveen, when do you start the API class? I'd like to sign up.
@rcrider43210
@rcrider43210 3 жыл бұрын
**I am Trying to draw rectangular shape on canvas in Cypress Automation, but it is not allowing to do so. All we need to click and hold from one diagonal point and drag& drop let's say from (1,1) to another coordinate point(2,2). Then our task would be done. Note: But the problem here is the source element point (1,1) is not any element it's just a point on canvas and if we hold this value in ILocation interface then we cannot use any drag and drop plugin because in drag arguments the source & target parameter should be element string. Have used the below trigger code also but this also did not work for me. export function drawRectangle(start: ILocation, size: number): any { //'start' is the mid point of coordinate // size is 100 const source = {x: start.x, y: start.y} const dest= {x: start.x + size, y: start.y + size } cy.get('.div.canvas-container').click(source.x, source.y).as('sourcePoint'); cy.get('@sourcePoint'). trigger ("mousedown", {force:true}) cy.get('.div.canvas-container').trigger ("mousemove", {source, dest}, {force:true}) cy.get('.div.canvas-container').click(dest.x, dest.y).as('destPoint'); cy.get('@destPoint'). trigger ("mouseup", {force:true}) }
@kairunbee1914
@kairunbee1914 3 жыл бұрын
Hi is it possible in cypress to run 1. Specs file in parallel 2. It block in parallel
@Johnny-pt5jb
@Johnny-pt5jb 4 жыл бұрын
Should we use custom commands instead of POM?
@amolnawale2177
@amolnawale2177 4 жыл бұрын
Hi Naveen, instead of hard coded values of email and password, can we read them from some config.properties file or some excel file?
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
That will be covered later.
@darchiydit
@darchiydit 4 жыл бұрын
U can use fixtures
@sumitpaul8585
@sumitpaul8585 3 жыл бұрын
I see that after execution of 1st it block, it automatically signout from the page. 2nd and 3rd it block, again sign in button is displayed.
@ozankurucu6261
@ozankurucu6261 2 жыл бұрын
Thanks!
@maheedharkolipakula9222
@maheedharkolipakula9222 4 жыл бұрын
Sir I need to practice in eclipse.it's possible or not
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
You can but please use visual studio code for Java script based tools
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
You can but please use visual studio code for Java script based tools
@maheedharkolipakula9222
@maheedharkolipakula9222 4 жыл бұрын
@@naveenautomationlabs tq sir for your information
@maheedharkolipakula9222
@maheedharkolipakula9222 4 жыл бұрын
I learn selenium from your KZbin chaneel.I get soo much information from your classes sir
@deven7722
@deven7722 4 жыл бұрын
Hello Naveen. i stuck one scenario.. i want to run 2000k scripts parrallel execution for nightly build. one script takes around average 3 mins.. can you pleas guid me how to handle this kind issues Available resources:- selenium, java, testing, maven, jenkins, git OR anybody can help me if possible
File Upload in Cypress using Cypress-File-Upload package - Part -15
28:13
Naveen AutomationLabs
Рет қаралды 13 М.
Cypress Beginner Tutorial 5 | 1st Test
14:35
Automation Step by Step
Рет қаралды 80 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Cypress get(), find() and within() methods with Assertions - Part - 8
24:38
Naveen AutomationLabs
Рет қаралды 21 М.
How to intercept API calls with cy.intercept() method in Cypress 6
14:53
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 222 М.
Cypress Complete Beginners Masterclass 1 | Step by Step | Raghav Pal |
1:20:54
Automation Step by Step
Рет қаралды 214 М.
#11 How To Handle Non Select Dropdown In Cypress
17:56
Mukesh otwani
Рет қаралды 11 М.
Cypress Testing Interview Questions| Postman Interview Questions For Experienced
38:02
Mouse Over using trigger and invoke methods in Cypress - Part -12
17:46
Naveen AutomationLabs
Рет қаралды 14 М.
#3: Cypress API Automation - POST Call [2021 latest]
19:32
Naveen AutomationLabs
Рет қаралды 29 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН