Learn pytest in 6 Hours⏰ | Complete pytest framework Tutorial | LambdaTest

Поділитися
Вставка

КОМЕНТАРІ • 21

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

    📌 𝐆𝐢𝐭𝐇𝐮𝐛 𝐋𝐢𝐧𝐤: github.com/RexJonesII/PytestTutorials

  • @ashrasmun1
    @ashrasmun1 9 місяців тому +2

    I know it may sound weird, but I totally LOVE IT that I can hear a black man with an accent that I typically hear in some gangster movies, some yt "rap" videos or videos about poor black neighbourhoods, and I hear him talking about something really useful and in a tactful manner. Dispels any negative stereotypes one could have! And on top of that the video is really informative. Huge kudos to you man :)

  • @shubhampandey7851
    @shubhampandey7851 10 місяців тому +2

    The complete session is extremely good and explained in easy and detailed way. The only suggestion is that if we use Selenium 4 version, in that case when we use POM, I had to pass the locators in String format instead of *locator parameter(By.XPAT="xpath") because when it passes to the base class it converts as xpath="//input[@id='"email_input"]. So it gives error. Rest of the lecture is extremally good. Thanks a lot.

    • @LambdaTest
      @LambdaTest  10 місяців тому +1

      Your note on passing locators in a string format with Selenium 4 will undoubtedly benefit many. Thanks again, and happy testing!

  • @beslandaur7729
    @beslandaur7729 8 місяців тому

    Highly appreciate your educational series, would be AWSEOME to have a tutorial from you on running Pytest modules in Jenkins

    • @LambdaTest
      @LambdaTest  8 місяців тому

      Glad you liked it!
      Thanks for the suggestion will surely come-up with it super soon
      Please subscribe to our UA-cam channel for more such videos 🌟

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

    Thanks to you for this tutorial. It has a huge value for me, because i have never seen such great tutorials about pytest in youtube before. (sorry for my English, i just beginner in it)

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

      Thanks for watching!
      Subscribe, and look forward to more such tutorials! ✨

    • @user-xq7dm7mf2d
      @user-xq7dm7mf2d Місяць тому +1

      гарна аватарка

  • @MrDviratis
    @MrDviratis 7 місяців тому

    Love this tutorial! thank you for sharing your knowledge!

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

      Glad it was helpful!
      Please subscribe to the channel for more such tutorials🌟

  • @ranjitpratapsingh
    @ranjitpratapsingh 10 місяців тому

    we want more PythonSelenium And Pytest videos from you Sir ! Thanks a lot.

    • @LambdaTest
      @LambdaTest  10 місяців тому

      Glad it was helpful.
      Your feedback matters, will surely come up with more such tutorials!

    • @ranjitpratapsingh
      @ranjitpratapsingh 9 місяців тому

      @@LambdaTest 'yield' is deprecated in the current version of python. is there any alternate for this ? because when i try to run my two test functions, test 1 is passed and test 2 is failed by throwing an error of "InvalidSessionID Exception".

    • @ranjitpratapsingh
      @ranjitpratapsingh 9 місяців тому

      i somehow solved the issue by only removing the driver.close(). When i googled i found that if we are getting InValidSessionID exception we need to avoid using driver.quit() or driver.close() .

    • @LambdaTest
      @LambdaTest  7 місяців тому

      Glad it was resolved. Thanks for reaching out!

  • @beslandaur7729
    @beslandaur7729 8 місяців тому

    Does the soft assert in Pytest equal to the Python try-except block similarly where it kinda raises error but continues to run other tests?

    • @LambdaTest
      @LambdaTest  8 місяців тому

      Hey there,
      Soft assertions in Pytest and try-except blocks in Python have similar purposes but differ in their application:
      Soft Assert in Pytest: Allows multiple asserts in a test, collecting all failures to report at the end, without stopping the test when an assert fails.
      Try-Except Block: A general error-handling construct that catches and handles exceptions, allowing the continuation of code execution, but it doesn't perform assertions.
      While both can continue execution after an error, soft assertions are specifically for testing multiple conditions in a test, whereas try-except is for broader error handling without inherent testing assertions.