Part 16: Cypress E2E Web Automation | Fixtures & Data Driven Testing (Using JSON Data)

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • #cypress#automation#e2etesting#fixtures#datadriventesting
    Topics Covered:
    ------
    1) Fixtures in Cypress
    2) Data Driven Testing using Fixture Files.
    #########################
    Udemy Courses:
    #########################
    Manual Testing+Agile with Jira Tool
    ************************************
    ► shorturl.at/xNXZ4
    Selenium with Java+Cucumber
    ********************************
    ► shorturl.at/aIKMW
    Selenium with Python & PyTest
    ********************************
    ► shorturl.at/ELW09
    Selenium with python using Robot framework
    ****************************************
    ► shorturl.at/bcDPZ
    API Testing(Postman, RestAssured & SoapUI)
    *****************************************
    ► shorturl.at/uAWY7
    Web & API Automation using Cypress with Javascript
    ********************************************
    ► rb.gy/4uum2n
    Playwright with Javascript
    **************************
    ► shorturl.at/gALZ1
    Jmeter-Performance Testing
    ************************
    ► rb.gy/ocj7r2
    SDET Essencials(Full Stack QA)
    *************************
    ► rb.gy/hlnf2v
    Appium-Mobile Automation Testing
    ************************************
    ► rb.gy/wmzv64
    Java Collections
    *****************
    ► bit.ly/3S66ezE
    Python Programming
    *********************
    ► urlis.net/gdsf...
    Cucumber BDD Framework
    ***************************
    ► bit.ly/3F7d69r
    Protractor with Javascript
    ***************************
    ► urlis.net/4udd...
    ####################################
    CZcams Playlists:
    ####################################
    Manual Testing & Agile
    ***********************
    ► bit.ly/3ujvaYa
    ► bit.ly/3OYzxQj
    SQL
    *************************
    ► bit.ly/3R6XjeG
    ► bit.ly/3nE0a1s
    ► bit.ly/3IeKuuJ
    linux & Shell Scripting
    **********************
    ► bit.ly/3up1Z6a
    ► bit.ly/3nzvGxx
    Java
    **********************
    ► bit.ly/3R9QfOs
    ► bit.ly/3AoRMKM
    ► bit.ly/3IbTTDn
    ► bit.ly/3ybXInv
    ► bit.ly/3yCoHdw
    Selenium With Java+Cucumber
    ********************************
    ► bit.ly/3P2FMm4
    ► bit.ly/3yhiIt4
    ► bit.ly/3uokzet
    ► bit.ly/3a7XIND
    ► bit.ly/3umN2S9
    ► bit.ly/3aar7GW
    ► bit.ly/3y9kD2S
    ► bit.ly/3uhLskn
    Python
    ********************************
    ► bit.ly/3agNgU0
    ► bit.ly/3NJNnoy
    ► bit.ly/2CTQ4mR
    ► bit.ly/3OIYWh1
    Selenium With Python,Pytest&Behave
    ***************************************
    ► bit.ly/3OHHoC9
    ► bit.ly/3IeNLdv
    ► bit.ly/2J4tPeT
    ► bit.ly/3ydSkAq
    Selenium With Python Using Robert Framework
    (Web&API Testing)
    *************************************************
    ► bit.ly/3nUvlpr
    ► bit.ly/3nUvE3z
    API Testing (Postman,SoapUi,&Rest Assured)
    **********************************************
    ► bit.ly/3OXacWY
    ► bit.ly/3yh0UhE
    ► bit.ly/3nC9DWQ
    ► bit.ly/3yGfhNS
    ► bit.ly/3OJa11H
    ► bit.ly/3P2slCC
    Mobile App Testing Appium
    ****************************
    ► bit.ly/3Al49HG
    Performance Testing Jmeter
    *******************************
    ► bit.ly/3nz4fE7
    Maven,Jenkins,Git,Github,CI/CD
    *******************************
    ► bit.ly/3P16HPj
    ► bit.ly/3yhlUVA
    ► bit.ly/3afYfwT
    ► bit.ly/3yGzweG
    ► bit.ly/3yF73Ws
    ► bit.ly/3NCOmH7
    SQL,DB Testing&ETL,Bigdata
    *******************************
    ► bit.ly/3NKOcNY
    ► bit.ly/3OVpDyI
    ► bit.ly/3NEvUy0
    ► bit.ly/3IryxlT
    ► bit.ly/3RkWBLh
    JavaScript Based Automation Tools
    ********************************
    ► bit.ly/3nUx51X
    ► bit.ly/3AqI6Q0
    ► bit.ly/3yeurbT
    ► bit.ly/3ujzpTK
    Selector Hub Tools
    ********************
    ►rb.gy/h3h424
    GraphQL
    ******************
    ► rb.gy/sj3gys
    Cypress API Testing
    ********************
    ► shorturl.at/fjKPX
    Cypress Web Testing
    **********************
    ► shorturl.at/agjlK
    Playwright with Javascipt
    **************************
    ► shorturl.at/adSTY
    #CypressAutomation
    #E2EWebTesting
    #WebAutomation
    #CypressJS
    #DataDrivenTesting
    #JSONData
    #CypressTutorials
    #AutomatedTesting
    #WebTesting
    #TestingFramework
    #TestAutomation
    #QAEngineer
    #FrontendTesting
    #AutomatedTests
    #CypressScripts
    #WebAppTesting
    #TestFixtures
    #JSONDrivenTests
    #CypressBestPractices
    #SoftwareTesting
    #TestDevelopment
    #TestCases
    #QualityAssurance
    #WebQuality
    #JSONTestdata
    #CypressTricks
    #WebPerformance
    #CypressCommunity
    #CypressTips
    #TestDrivenDevelopment
    #CypressChallenges
    #AutomationEngineer
    #WebApplicationTesting
    #DataTesting
    #JSONTestAutomation
    #CypressByExample
    #E2ETesting
    #CypressToFixtures
    #DataDrivenAutomation
    #CypressFramework
    #JSONTesting
    #CypressTesting
    #TestDataManagement
    #WebAutomationTips
    #JSONTestCases
    #CypressTricks
    #CypressTestAutomation
    #JSONDrivenAutomation
    #WebTestingTools
    #CypressDataDriven

Komentáře • 35

  • @KseniaCH
    @KseniaCH Před 11 měsíci +1

    Sir Pavan, I am very grateful for your videos, thanks for sharing your knowledge!

  • @suncd2303
    @suncd2303 Před 5 měsíci +1

    This is so helpful and easy to understand
    Thank you!

  • @jaminDNB
    @jaminDNB Před 9 měsíci +1

    Thx Sir Pavan, I am very grateful for your videos!

  • @saisankar9717
    @saisankar9717 Před rokem +3

    It is really helpful . Very much informative. Thanks

  • @coronaexpert4722
    @coronaexpert4722 Před 5 měsíci +1

    The problem here is that when one iteration fails it stops the loop and doesn't proceed with the rest of the data. This is really useless if first scenario iteration fails. Is there a way to make it proceed with the next iteration if one iteration failed?

  • @veereshbh111MPEchannel
    @veereshbh111MPEchannel Před 3 měsíci +1

    Thank you so much sir. The issue lies in the fact that when a single iteration fails, it halts the loop and doesn't continue processing the remaining data. This becomes particularly problematic if the initial iteration fails. Is there a method to allow it to continue to the next iteration even if one fails?

  • @johnvictor9016
    @johnvictor9016 Před 3 měsíci

    Thank you very much for your well explained videos.
    is there a way to skip few sets of test data from the fixture file, As we have (it.skip) to skip a test? on few instances, not all the test data in the file would be needed for our test.

  • @faisalakml
    @faisalakml Před 9 měsíci +1

    Hi Sir, maybe is will be OOT. but i want to get an opinion from you. on cypress better create end-to-end on 1 file test or create every service then call it on 1 files? thanks before

  • @nehakannaujia9165
    @nehakannaujia9165 Před 5 měsíci

    Really good video and explained really well, @sdetpavan sir is it possible to create a video for multiple data set in cypress and cucumber please ?

  • @Sam-ng1ft
    @Sam-ng1ft Před rokem +2

    Much waited. Sir please create video related to Cl/Cd configuration with cypress for nightly runs

    • @sdetpavan
      @sdetpavan  Před rokem +3

      coming soon..

    • @Sam-ng1ft
      @Sam-ng1ft Před rokem

      @@sdetpavan thanks a bunch ❤️

    • @DG-xk2yz
      @DG-xk2yz Před rokem

      Sir, can you do a video on this?
      Can we integrate cypress with Jenkins or something like that?

  • @pratikbhowmik
    @pratikbhowmik Před 5 měsíci +1

    Thank you sir

  • @dan754513
    @dan754513 Před rokem +1

    this is very useful

  • @ghosty0558
    @ghosty0558 Před rokem

    Hello,
    Very informative video, thanks a bunch.
    Though one query, can we set the foreach loop at the global level?

  • @sainathreddy1528
    @sainathreddy1528 Před rokem

    How to maintain data based on env. Like i have different URL's and userDetails for QA and Staging if i want to execute QA then script should take QA details and URL's. Please help me on this.

  • @sachinnaik-du1db
    @sachinnaik-du1db Před rokem +1

    hi can you make video on how to read excel file in cypress.

  • @sachinnaik-du1db
    @sachinnaik-du1db Před rokem +1

    Can you make video on how to read data from excel file.

  • @robertanghel991
    @robertanghel991 Před rokem

    I wrote the same code, but I'm getting the following error and I don't understand why:
    Timed out retrying after 4000ms: Expected to find element: input[placeholder='Username'], but never found it.
    P.S. : I forgot to add the click at line 20. my bad

  • @vikrantchaudhari7017
    @vikrantchaudhari7017 Před rokem

    What is the point of using fixture if you are hard coding the data in the spec file in the if block?

  • @Nobody-hq2um
    @Nobody-hq2um Před 6 měsíci

    Sir how to read excel file using cypress

  • @crim-son
    @crim-son Před rokem

    I really dont see any point using data from fixture file like this, why not use ES6 import statement to import the json file and draw the data, like in regular JavaScript

  • @muhammadjawad7193
    @muhammadjawad7193 Před rokem +1

    How many videos are remaining regarding the cypress

  • @hemanthkumar3449
    @hemanthkumar3449 Před rokem +1

    Sir please upload datepickers concept

  • @mayanknegi2281
    @mayanknegi2281 Před rokem

    @SDET-QA Automation Techie Sir Good Afternoon, I am using Data Driven Testing by watching your videos , sir please help me i have a doubt please help me to clear it

  • @TurskoBalkanskiRecepti
    @TurskoBalkanskiRecepti Před 6 měsíci

    What would we do without you 🥇

  • @vinaymishra5606
    @vinaymishra5606 Před rokem

    data.foreach is not a function getting this error , now what to do

    • @mayanknegi2281
      @mayanknegi2281 Před rokem +1

      This error occurs because you enter wrong text , you must try (data.forEach)