Mastering TestNG with POJO in API Automation with Rest Assured | Series 9

Поділитися
Вставка
  • Опубліковано 8 жов 2024
  • Welcome to another video tutorial on mastering POJO in API automation using Rest Assured in Java! In this video, we will cover the continuation of the previous video, and below are the topics we have covered.
    Topics Covered:
    What is a TestNG?
    Importance TestNG in API automation.
    How to use TestNG?
    Introduction to TestNG.xml
    How to manage TestSuite?
    Different ways to pass data reference across classes.
    GitHub link : github.com/sho...
    Visit our website: itinstruct.com
    Do connect us for hands-on training in Test Automation
    Selenium with Java, Test NG and POM based framework
    Selenium with Java, Junit with Cucumber framework
    API Automation with Java and Rest Assured with Cucumber framework

КОМЕНТАРІ • 6

  • @venkyponnur5506
    @venkyponnur5506 2 місяці тому +1

    Thank you very much sir

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

    Pleas do Report video

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

    Please do Bdd Cucumber with PoJo

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

    Please do Framework design with Bdd cucumber

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

    The video is awesome, but I need one clarification.
    First, I created a User and assigned the response to the CreateUserResponse POJO. Then, I tried to verify the login scenario by getting the email from the CreateUserResponse using a getter and assigning it to the email body. However, I ran the login class separately without adding the CreateUser class. Is it possible to get the value that I stored from CreateUser?

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

      If you are storing the data received from CreateUser, the response data is valid for that suite execution only. One execution data can not be used in the next execution, if you want to do so, you need to think of any storage mechanism for your test data. For example, you can store JSON response/or only needful data in a file or somewhere else so that on the next execution you can read the stored data and use it.