Soft Assertion in TestNG in Selenium Webdriver || Soft Assert vs Hard Assert in TestNG

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 43

  • @sammy22391
    @sammy22391 6 років тому +8

    Thank you so much naveen ur really savior !!.! i was working on tis assertion for few days never got that resolution!!! thanks a ton.... you have explained it very beautifully...... I must say ur definitely a boon for the people who were struggling to learn automation using selenium... thanks a ton ....

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

    Hard assertions & Soft assertions - Very nicely explained with practical example. I like to use hard assertions more because of its benefits more. Thanks!

  • @ashwinikhanna
    @ashwinikhanna 5 місяців тому

    Excellent explanation. Understood both the Assert types very well!

  • @NarasimhaYadav7019
    @NarasimhaYadav7019 5 років тому +4

    Thank you Naveen ... Really going through your videos are making me confident day by day ... Thanks a ton for your hard work you are putting to help us ... Great help .. Naveen ..

  • @sarikabiwalkar4037
    @sarikabiwalkar4037 6 років тому +2

    Clear and concise explanation. Thanks for sharing Naveen!

  • @jahangirkhan8019
    @jahangirkhan8019 6 років тому +3

    Naveen bhai I am from Bangladesh. I watch your every single videos. Your explanation is awesome.thank you bhai keep making new videos about selenium

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

    Thanks Naveen for such a wonderful explanation of the assertions !

  • @saribshamim9876
    @saribshamim9876 2 роки тому

    Great explanation! keep it up. I couldn't find this information on the internet properly.

  • @reshmapn7941
    @reshmapn7941 3 роки тому +1

    Awesome explanation sir
    Thank you.

  • @ghulamanosh5564
    @ghulamanosh5564 4 роки тому

    Really clear and straight forword

  • @bsrinivas165
    @bsrinivas165 7 років тому +2

    Awesome explanation... Keep up the great work 👏👏💐💐

  • @rashmiambedkar5143
    @rashmiambedkar5143 6 років тому +3

    Awesome Explanation!!!!

  • @shrutikachanne8712
    @shrutikachanne8712 6 місяців тому

    Very nice explanation

  • @A_philodendron
    @A_philodendron 4 роки тому

    Beautifully explained!

  • @burritoinspace91
    @burritoinspace91 6 років тому +1

    Hello, I am writing a script in which I need to enter a website and verify all links (by clicking on each link and verifying if elements are displayed) from that website. How can I use SoftAssert at each link?

  • @priyankak126
    @priyankak126 5 років тому +2

    Hi Naveen,
    Thank you so much for posting such incredible and simple videos. Could you please post a detailed video on how to debug an error on selenium using the debugger. As an automation engineer you also need to debug your error whenever there is an exception(such as null pointer exception, class not found) in the output console. I am new to automation and finding it difficult to debug my code as I don't have any error in my Java file and feel what I have written is correct.

  • @rakeshjaiswal4675
    @rakeshjaiswal4675 4 роки тому

    11:32 soft assertion

  • @sridhattasharanamnamami934
    @sridhattasharanamnamami934 5 років тому +1

    Naveen can you please tell me how to use assert and verify with different set of valid and invalid data

  • @remaremo3981
    @remaremo3981 5 років тому +1

    Awesome

  • @prajaktawalhekar9601
    @prajaktawalhekar9601 3 роки тому

    How should i validate the stored string which i entered before and then verify it later?

  • @sanjuk2484
    @sanjuk2484 3 роки тому

    I love your vedios naveen... Thank you

  • @picknice
    @picknice 4 роки тому

    thanks naveen, its great

  • @srinivas9086
    @srinivas9086 5 років тому +3

    thank you sir

  • @merlinelizabethmathew982
    @merlinelizabethmathew982 5 років тому

    Could you please explain the difference between Verify() and Soft Assert() methods, and where to use these 2 methods?

  • @hemanth859
    @hemanth859 7 років тому +2

    Hi Naveen Can u make a Video Regarding Merging two or Three Data Providers,SO that it Should data From Excel Sheet.it will be veryHelp ful Naveen Thankyou

  • @venkatprasad4087
    @venkatprasad4087 7 років тому +2

    Hi Naveen
    Thanks for sharing the knowledge . I have a query , in this video for teardown method , can we use @Aftermethod or @aftertest annotation instead of @afterclass to mark all test as failed if assertion fails

    • @naveenautomationlabs
      @naveenautomationlabs  7 років тому +1

      hi Venkat: no with @aftertest and @aftermethod also, It will be the same problem. As we are creating a global class object for SoftAssert class.

    • @venkatprasad4087
      @venkatprasad4087 7 років тому +1

      Thanks for the quick reply

  • @hamedaziz5293
    @hamedaziz5293 5 років тому +2

    Thanks

  • @learnvik
    @learnvik 6 років тому

    Hi Naveen, I found that the soft assertions has some issues when using with @dataproviders iterations, if a softassertion fails in first iteration, it doesn't pass the next iteration and fail the next iteration at the same step, not sure what is missing. But in case soft assertion passes in first iteration, the second iteration also gets passed.

  • @ashwinik479
    @ashwinik479 6 років тому

    Hi. How we can check two condition with single softassert?

  • @swethaputti
    @swethaputti 3 роки тому

    Awesome, Thank you.

  • @Mariankurossu
    @Mariankurossu 4 роки тому

    Thank you so very much!

  • @soundaryasoudi1134
    @soundaryasoudi1134 4 роки тому

    Hi Naveen, please upload videos for Rest Assured Testing With Test NG and Java

  • @sriharshamishra5167
    @sriharshamishra5167 5 років тому

    Pls share the related playlist

  • @KrishnaSingh-vy1us
    @KrishnaSingh-vy1us 4 роки тому

    Hello Sir, can u make videos on database tesing

  • @kushalmandal
    @kushalmandal 3 роки тому

    there are three test cases(@Test) and 2 are fail due to assertion then its shows only 1 in result

  • @venubabugamidi9541
    @venubabugamidi9541 7 років тому +3

    Hi Naveen Sir
    I'd like to learn Selenium Frameworks
    Which Framework is better and easy to these Frameworks
    1) Data driven
    2) Keyword Driven
    3) POM
    4) POM with Page factory
    5) Hybrid
    6) TestNg
    And Which one is the mostly used in realtime?
    please answer this one....?
    Thank you.....

    • @naveenautomationlabs
      @naveenautomationlabs  7 років тому +4

      +venu babu Gamidi pom with page factory pattern with data driven approach using testng.

  • @ManishYadav-in7ml
    @ManishYadav-in7ml 5 років тому

    Thanks