Part 4: Cypress E2E Web Automation | CSS & XPath Locators | get() & xpath() methods

Поделиться
HTML-код
  • Опубликовано: 8 сен 2022
  • #cypress#end2endtesting
    Topics Covered :
    -----
    1) CSS Locators
    2) XPath Locators
    3) get(). & xpath()
    #########################
    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
    ####################################
    RUclips 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
    #CypressE2EWebAutomation
    #CypressAutomation
    #WebAutomation
    #CypressTesting
    #CypressFramework
    #CypressTestingTool
    #EndToEndTesting
    #AutomatedTesting
    #WebTesting
    #CypressCSSLocators
    #XPathLocators
    #CSSSelectors
    #XPathSelectors
    #CypressGetMethod
    #CypressXpathMethod
    #CypressFindByCss
    #CypressFindByXPath
    #WebUIAutomation
    #FrontendTesting
    #CodelessTesting
    #CypressBestPractices
    #CypressTips
    #CypressTricks
    #CypressTutorials
    #CypressWebinars
    #AutomatedTestingTips
    #TestingWithCypress
    #CypressLearning
    #CypressXPathTricks
    #WebTestingTips
    #CSSAutomation
    #WebAutomationTools
    #CypressTestingTricks
    #CypressLocatorsGuide
    #E2EWebTesting
    #CypressSelectors
    #CypressE2EGuide
    #CypressXPathGuide
    #AutomateWithCypress
    #CypressAutomationTesting
    #CypressXpathSelectors
    #CSSLocatorTricks
    #CypressWebTesting
    #CypressUIAutomation
    #XPathLocatorTips
    #CypressTestingTricks
    #CypressTestingMethods
    #CSSSelectorGuide
    #CypressAutomationTips
    #WebAutomationGuide

Комментарии • 106

  • @aruna4109
    @aruna4109 Год назад +3

    Pavan Sir ,After visiting your classes only I got a lot of knowledge on cypress. Thank you so much for sharing.

  • @karthickthe619
    @karthickthe619 Год назад +12

    pavan sir is the best role model for each and every Test Engineer

  • @shortsfact707
    @shortsfact707 Год назад

    Very very happy to see this new tutorial. It's my humble request please make a video on CRUD operations testing on backend using page Object model

  • @aasmaabbasi6249
    @aasmaabbasi6249 Год назад +11

    This website is not active anymore. do you have any other test website which we should use during practice of your video lessons?

    • @itsdaringgirl177
      @itsdaringgirl177 7 месяцев назад

      yes, Kindly provide link of any other website's url for practice.

  • @shahabsohrabi4870
    @shahabsohrabi4870 Год назад +2

    Great tutorial! Thanks! Is there any link to the github repo of these code examples?

  • @jaminDNB
    @jaminDNB 7 месяцев назад +1

    Thank you SIR for the clear explanations in the tutorials!!! 🚀

  • @navylead
    @navylead Год назад +1

    Thanks a lot) These lessons with practice cases are veeeery useful)

  • @neerajagrawal709
    @neerajagrawal709 3 месяца назад +1

    Well explained sir, thank you for your valuable video tutorials 🙏

    • @sdetpavan
      @sdetpavan  3 месяца назад

      You are most welcome

  • @AnnIefimenko
    @AnnIefimenko Год назад +2

    you are so good at explaining it !!! can you record videos about Jest, please

  • @shaikkalesha6758
    @shaikkalesha6758 Год назад

    Hi pavan sir , first i am open Amazon application next will search Dell loptop after selecting check box Dell in Brand lable under how to select i am writing xpath but not working please suggest me

  • @sumalathap8338
    @sumalathap8338 Год назад +2

    Thanks for crystal clear explanation

  • @kumarraj989
    @kumarraj989 Год назад

    Any way to capture text? Like in selenium gettext method.

  • @deoshaw4682
    @deoshaw4682 Год назад

    Sir, how to run specific it blocks?
    If I don't want to run all the it blocks.

  • @venkateshkumar1840
    @venkateshkumar1840 Год назад +1

    Most of company not allowed to install plugin like selectorshub ,is there any alternative options to install plugin

  • @kavyakamineni2198
    @kavyakamineni2198 Год назад +1

    Hi Pavan, As said at your website, we have paid 21999 rs for QA Oct 6th batch classes. I have already sent mail where the payment details attached to the concern mail. We havent got any update or payment received confirmation mail or any sought of concern. We have even tried if we can get any contact but couldnt succeed. How should we approach you and make sure about our slot with bacth or How we will be knowing about the payment confirmation. Kindly please let us know at your earliest convenience.

  • @BismalVCS
    @BismalVCS Год назад

    Excellent explanation sir please make videoS on BBD cucumber framework of cypress.

  • @ivannebyshinets5682
    @ivannebyshinets5682 Год назад +1

    Great job man!

  • @sunilbaria719
    @sunilbaria719 Год назад

    Sir can you please do more video with the BDD,POM and set up environment variable, Cucumber BDD Scenario Outline

  • @shubhamjadhav2835
    @shubhamjadhav2835 Год назад

    hello sir i work on my web appliction i occured error like " jQuery is not defined" how should i ressolve this

  • @kalmeshsuladhal5118
    @kalmeshsuladhal5118 5 месяцев назад

    Hi sir while install xpath plugin in that readme they mentioned it is no longer available what to do now.??

  • @user-rc2dh6vu2z
    @user-rc2dh6vu2z Год назад +1

    .class selector is not working is there anything need to be setup to function class selector

  • @julia_chmelyk
    @julia_chmelyk Год назад

    Hello! maybe, if you have a time, you can help
    what can I do if I have error:
    cy.getByData is not a function
    I tried to add import '@testing-library/cypress/add-commands'; to my commands.js, but it didn't help

  • @user-ff3tt5qd8c
    @user-ff3tt5qd8c Год назад

    Hi Sir can we have the same update in your Udemy cypress course aswell

  • @aggyo400
    @aggyo400 Год назад +1

    Very good lesson!

  • @ramyasravz3930
    @ramyasravz3930 4 месяца назад

    Thanks for your good explanation sir. Is the cypress/xpath plugin is deprecated, so we won't be making updates to that plugin anymore? If its correct we can use only CSS selector only to get the elements?

  • @harshchoksi8471
    @harshchoksi8471 5 месяцев назад +1

    It is saying that "@cypress/xpath has been deprecated and is no longer supported.".
    Now, what to do?

  • @Angel_96416
    @Angel_96416 9 месяцев назад

    Hi , xpath is no longer supported and can't install that plugin . So what to do ?

  • @Naveenbuyavarapu-uf3rx
    @Naveenbuyavarapu-uf3rx Год назад

    sir how i create selector xpath in browser for searching elements

  • @judithelemo
    @judithelemo 4 месяца назад

    thanks for the tutorial it was helpful. However folders kept appearing (first videos folder, then screenshots folder) in the folder structure as the videos progresses without us seeing how they were added. its sort of confussing

  • @user-mj9bv2zq7o
    @user-mj9bv2zq7o 9 месяцев назад

    kay x path se find nai hoga relative x path use karke css selector compulsary he

  • @riteshdeopuje7354
    @riteshdeopuje7354 11 месяцев назад

    I am trying to click on sign up button using Cypress but unable to execute the code.. please advise

  • @ranjitagl6110
    @ranjitagl6110 10 месяцев назад

    adding x path package is no avilable .. wat to do how to do ? some body help plz

  • @nuwanmaduranga2672
    @nuwanmaduranga2672 13 дней назад

    @cypress/xpath has been deprecated and is no longer supported.' is there way to use X Path? now only can use CSS Selector?

  • @m.sansari9934
    @m.sansari9934 Год назад +1

    Sir when you will make Videos of RPA using UiPath?

  • @Naveenbuyavarapu-uf3rx
    @Naveenbuyavarapu-uf3rx Год назад

    sir how create css selector in browser for searching elemnts

  • @Monster-hl5nm
    @Monster-hl5nm Год назад +2

    Sir Make Video of Selenium with Java in Eclipse!!! It's would Much Helpful for us!

  • @harikeshagrahari6769
    @harikeshagrahari6769 5 месяцев назад

    🔥🔥🔥🔥🔥🔥

  • @lukapersaj5462
    @lukapersaj5462 Год назад

    hi guys one question is this website still avelivable beacuse i cant see him? Thanks

  • @user-ui8ws5zr4e
    @user-ui8ws5zr4e 3 месяца назад +2

    Now Xpath it's deprecated and Cypress has integrated basic XPath support directly into the framework.

  • @pavanwaghmare8107
    @pavanwaghmare8107 Год назад +1

    website is not working sir what to do ..?

  • @gogulapatianjaneyulu3786
    @gogulapatianjaneyulu3786 5 месяцев назад

    Hi Pavan I'm getting below error while working with SVG tags get(//*[local-name()='svg' and @data-testid='ExpandMoreIcon'])[2]
    Error
    Syntax error, unrecognized expression: (//*[local-name()='svg' and @data-testid='ExpandMoreIcon'])[2]

  • @asifadnan2813
    @asifadnan2813 Год назад

    Sir, it is showing error after running outside the terminal

  • @priyankagondimalla5714
    @priyankagondimalla5714 Год назад +1

    Hi Sir ,I have going through your videos .They are helpful .But got this error and struck there .Can you please help me how to resolve this ?Error: Webpack Compilation Error
    ./cypress/e2e/CSS.cy.js
    Module not found: Error: Can't resolve 'mocha' in 'C:\Priya\cypressautomation\cypress\e2e'
    resolve 'mocha' in 'C:\Priya\cypressautomation\cypress\e2e'
    Parsed request is a module
    using description file: C:\Priya\cypressautomation\package.json (relative path: ./cypress/e2e)

  • @HaiderAli-wt4jp
    @HaiderAli-wt4jp Год назад

    Dear Sir, Can You Share NOtes As well?

  • @sreenivasulugopidinne8080
    @sreenivasulugopidinne8080 Год назад +2

    Hello Sir, showing an error when I add entry /// in commands.js file. Error ==> Cannot find type definition file for 'cypress-xpath'. Please let me know what is the issue? Thanks.

  • @burakmetealtinisik
    @burakmetealtinisik 10 месяцев назад +1

    I don't think that automation practice website is working anymore.

  • @jopadjr
    @jopadjr 3 месяца назад

    Im getting an error when using cy.visit(). The URL i'm using loads correctly in a web browser. Can you please advise. This is the error "We attempted to make an http request to this URL but the request failed without a response.
    We received this error at the network level:
    > Error: A connection to the upsteam proxy could not be establised: ERR_EMPTY_RESPONSE: The upstream proxy closed the socket after connecting but before sending a response.
    Common situations why this would fail:
    -you forgot to run/boot your web server
    - your web server isn't accessible
    -you have weird network configuration settings on your computer

  • @samarthbhatt3273
    @samarthbhatt3273 4 месяца назад

    how to use css selector if name, class and placeholder nothing is available.

  • @AnjanaMadathil
    @AnjanaMadathil 10 месяцев назад +2

    Hi Sir, currently the xpath plugin seems to be depricated . Is there any alternative way?

  • @HARIHARANAS-qj8ph
    @HARIHARANAS-qj8ph 2 месяца назад

    🎉🎉🎉

  • @luisalbertocuadrasmayorqui7518
    @luisalbertocuadrasmayorqui7518 2 месяца назад

    Hi sir, I have a question, how can I use XPath selectors? it seems like cypress is no longer using it, it says depreciated, thank you in advance for your hard work :)

  • @Hoja4A1D
    @Hoja4A1D Год назад +1

    I would like see a project using page object models in the real life is it possible? Thanks 🙏

  • @subramanyurout6933
    @subramanyurout6933 Год назад +1

    🙏☺☺ blessings from God.

  • @Naveenbuyavarapu-uf3rx
    @Naveenbuyavarapu-uf3rx Год назад

    how i install selector hub in browser

  • @gama_pahalwan
    @gama_pahalwan 7 месяцев назад

    Cypress path is deprecated now?

  • @user-vx9jm6zy1t
    @user-vx9jm6zy1t 4 месяца назад

    Could you kindly assist me as I am unable to access this website? Please suggest another side for me to test.

  • @aasmaabbasi6249
    @aasmaabbasi6249 Год назад +3

    please share other practice website

  • @ardibayu1088
    @ardibayu1088 8 месяцев назад +1

    Thank you

    • @sdetpavan
      @sdetpavan  8 месяцев назад

      You're welcome

  • @NEETONI
    @NEETONI Год назад +1

    How cypress supports Xpath. Its supports only CSS selector right 🤔

  • @atidip1982
    @atidip1982 10 месяцев назад +1

    Excelent Tutorial,right now X-Path has been deprecated, could you please upload for the alternatives Sir?

    • @sh00bhamgowai19
      @sh00bhamgowai19 10 месяцев назад +1

      we can just use css selectors only

    • @atidip1982
      @atidip1982 10 месяцев назад

      @@sh00bhamgowai19 thanks

  • @piyushbaghel572
    @piyushbaghel572 21 день назад

    Hello,
    Sir, This site is blocked in my system please can you help me with the other one so I can Try this lab on there.

  • @perrymason6780
    @perrymason6780 3 месяца назад

    Hello. The "automationpractice" web does not exist. 🤔

  • @user-ny6bg7lp3l
    @user-ny6bg7lp3l 3 месяца назад

    that website not working any other eebsite for pratice

  • @johnny7sk925
    @johnny7sk925 11 месяцев назад

    Free on youtube and I payed for the same course on Udemy. I hope it is worth it...

  • @dailytradinguncut
    @dailytradinguncut 7 месяцев назад

    where will i get the notes sir?

  • @dillirani2864
    @dillirani2864 Год назад

    Timed out retrying after 4000ms: Expected to find element: input#_3704LK, but never found it. getting this error can anyone help to sort out this issue

  • @KaisarAnvar
    @KaisarAnvar Год назад

    The website is marked as "suspended". Make sure to try other websites, or please provide other websites for practice. Thank you!

  • @abhijitbiradar
    @abhijitbiradar 8 месяцев назад

    Hi Pavan, the cypress xpath plugin is depreciated. Please confirm.

    • @gauravburhade6155
      @gauravburhade6155 5 месяцев назад

      In Cypress Documentation, they have said its deprecated now

  • @parthathilpidithathu5872
    @parthathilpidithathu5872 7 месяцев назад

    Xpath is deprecated.. what we need to do use the Xpath

  • @sohrabsirbd
    @sohrabsirbd Год назад

    It will be more useful if you give the automationparctice web link.

  • @tusharsangale380
    @tusharsangale380 Год назад

    AssertionError
    Timed out retrying after 4000ms: Expected to find element: .lighter, but never found it. GETTING ERROR

    • @AmpaFlixx
      @AmpaFlixx Год назад

      its T-Shirts no T-shirts

  • @user-km4id5dt1q
    @user-km4id5dt1q 2 месяца назад

    application url?

  • @user-yt5ih2cv4b
    @user-yt5ih2cv4b Месяц назад

    Cypress-Xpath is no longer supported (Deprecated)

  • @Vrvlogs1497
    @Vrvlogs1497 Год назад

    Hi sir....
    This is venkat....
    I need to talk with you sir...

  • @denml5411
    @denml5411 Год назад +1

    cypress/xpath has been deprecated and is no longer supported. 😐

    • @tranthinhqnam
      @tranthinhqnam Год назад +2

      npm i cypress-xpath
      u can use it bro , it works to me

  • @madhurendranathtiwari9465
    @madhurendranathtiwari9465 2 месяца назад

    Cypresss x paht is now deprecated

  • @markomihajlovic4049
    @markomihajlovic4049 5 месяцев назад

    30:40 xpath

  • @lilclorox8558
    @lilclorox8558 Год назад

    Account suspended:(

  • @TheWingsOfDiscovery
    @TheWingsOfDiscovery 11 месяцев назад

    right now cypress has deprecated the xpath

  • @DAKtheKING
    @DAKtheKING Год назад +1

    You would do better to pre-type and review your lessons, the number of mis-spellings, re=typings is a distraction. example: jave.

  • @comedyman112
    @comedyman112 Год назад

    i'm sorry, but line 12 didn't work for me in this format on another website. I used the following to make it work:
    cy.get("input[placeholder='XYZ']") .should('have.value', 'ABC')