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

Поділитися
Вставка
  • Опубліковано 27 жов 2022
  • #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/gdsfpb0s
    Cucumber BDD Framework
    ***************************
    ► bit.ly/3F7d69r
    Protractor with Javascript
    ***************************
    ► urlis.net/4uddm1qb
    ####################################
    UA-cam 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

КОМЕНТАРІ • 35

  • @saisankar9717
    @saisankar9717 Рік тому +3

    It is really helpful . Very much informative. Thanks

  • @KseniaCH
    @KseniaCH 9 місяців тому +1

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

  • @jaminDNB
    @jaminDNB 7 місяців тому +1

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

  • @suncd2303
    @suncd2303 4 місяці тому +1

    This is so helpful and easy to understand
    Thank you!

    • @sdetpavan
      @sdetpavan  4 місяці тому

      Glad it was helpful!

  • @dan754513
    @dan754513 Рік тому +1

    this is very useful

  • @ghosty0558
    @ghosty0558 Рік тому

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

  • @johnvictor9016
    @johnvictor9016 Місяць тому

    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.

  • @sainathreddy1528
    @sainathreddy1528 Рік тому

    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.

  • @faisalakml
    @faisalakml 8 місяців тому +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

  • @vikrantchaudhari7017
    @vikrantchaudhari7017 Рік тому

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

  • @Sam-ng1ft
    @Sam-ng1ft Рік тому +2

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

    • @sdetpavan
      @sdetpavan  Рік тому +3

      coming soon..

    • @Sam-ng1ft
      @Sam-ng1ft Рік тому

      @@sdetpavan thanks a bunch ❤️

    • @DG-xk2yz
      @DG-xk2yz Рік тому

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

  • @veereshbh111MPEchannel
    @veereshbh111MPEchannel 2 місяці тому

    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?

  • @nehakannaujia9165
    @nehakannaujia9165 4 місяці тому

    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 ?

  • @pratikbhowmik
    @pratikbhowmik 3 місяці тому +1

    Thank you sir

  • @robertanghel991
    @robertanghel991 Рік тому

    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

  • @muhammadjawad7193
    @muhammadjawad7193 Рік тому +1

    How many videos are remaining regarding the cypress

  • @coronaexpert4722
    @coronaexpert4722 3 місяці тому

    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?

  • @sachinnaik-du1db
    @sachinnaik-du1db Рік тому +1

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

  • @Nobody-hq2um
    @Nobody-hq2um 4 місяці тому

    Sir how to read excel file using cypress

  • @hemanthkumar3449
    @hemanthkumar3449 Рік тому +1

    Sir please upload datepickers concept

  • @vinaymishra5606
    @vinaymishra5606 Рік тому

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

    • @mayanknegi2281
      @mayanknegi2281 Рік тому +1

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

  • @crim-son
    @crim-son Рік тому

    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

  • @mayanknegi2281
    @mayanknegi2281 Рік тому

    @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 5 місяців тому

    What would we do without you 🥇

  • @sachinnaik-du1db
    @sachinnaik-du1db Рік тому +1

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