P8 - Parameters in TestNG | TestNG | Testing Framework |

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

КОМЕНТАРІ • 103

  • @HYRTutorials
    @HYRTutorials  3 роки тому +4

    ↔️ TestNG Playlist Link: bit.ly/3wXyuXB
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc

  • @pareshmkulkarni
    @pareshmkulkarni 2 роки тому +5

    Great Tutorial Mr. Reddy. You have explained it in detail. Appreciate your knowledge sharing skills. Thank you.

    • @HYRTutorials
      @HYRTutorials  2 роки тому +1

      Thankyou buddy

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

      @@HYRTutorials page object model and page object factory explain

  • @twistedstyles
    @twistedstyles 2 роки тому +1

    love your way of teaching, makes a dumb person like me understand it. you are top notch for sure! thanks.

  • @Shivanibbbbb
    @Shivanibbbbb 2 роки тому +1

    all videos are excellent .
    appreciated.

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

    Another.... Good Video on TestNG Series... Thank you Bro

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

      Thankyou brother 😊
      Hope you are practicing as well

  • @tani-cw6sz
    @tani-cw6sz 9 місяців тому

    your every lecture is excellent. thank you very much.

  • @ashwajitthukral9101
    @ashwajitthukral9101 2 роки тому +1

    you explained it beautifully, thanks to you mate!

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

    Owesome tutorial following all videos 👍 thank you Sir

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

    I really enjoy learning watching your videos. Very useful and fruitful. thanks a lot..

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

    Your Overal course is excellent Bro

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

    Hi sir. Actually I have joined in inistitute. But I have learned more from ur channel. Superb explanation. Thank u

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

    Thanks a lot sir for this great tutorial, I did have to slow down the speed since you are talking a bit fast but that's fine. This video was really helpful thank you

  • @Yogeshnaik-z9h
    @Yogeshnaik-z9h 2 роки тому +1

    super explanation brother super

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

    Super sir💐💐👍🏻👍🏻

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

    well explanined
    thanks

  • @IndianCultureNaveen
    @IndianCultureNaveen 2 роки тому +1

    Nice explanation

  • @shaikzakeer8146
    @shaikzakeer8146 2 роки тому +1

    Hi Reddy, you have explained it in detail. I follow all your videos. I am getting this exception how do I solve "java.net.SocketException: Connection reset" please help me out.thanks

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

      Send me the code and error screenshot on hyadagirireddytutorials@gmail.com

  • @yaswanthtirupathi6551
    @yaswanthtirupathi6551 2 роки тому +1

    Thank you so much bro

  • @chitrabhange5996
    @chitrabhange5996 11 місяців тому

    Hello, sir I'm watching your series, and your explanation is excellent. However, if you type

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

    Good one bro

  • @techicalkunal3683
    @techicalkunal3683 2 роки тому +2

    1 doubt sir how to use different argument on same method i am trying by creating another test but it is showing error

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

      What error it is showing?
      Can u send the screenshot on hyadagirireddytutorials@gmail.com

  • @pjswathi
    @pjswathi 2 роки тому +1

    Hi Yadagiri garu,
    Parameters in testNG looks like Properties file which we configure. Can i know the difference?

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

      Properties file is accessible in all the classes given you write the code to access it.
      but where as parameters can be controlled at the suite level and at the test level. which means those can be accessed only inside that test.

  • @arjunp9334
    @arjunp9334 2 роки тому +1

    Hi, how can we give multiple values for the same parameter... Like giving examples in cucumber?

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

      That is not possible buddy.
      You have to trick it by providing multiple values with semicolon or colon or comma.
      And after reading you have split that by the seperator you have used

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

    00:01 TestNG parameters are used to pass information to test methods.
    01:41 TestNG parameters are used to pass information like browser name and URL to test methods.
    04:53 Using parameters inside the test
    06:32 Adding parameters for browser name and URL
    10:15 Handling input for browser name and URL
    12:08 Verifying welcome text and login in TestNG
    15:54 Using parameters in TestNG
    18:00 Setting browser parameters at test level in TestNG
    21:18 Reading parameters in string format and specifying the type of value
    23:26 TestNG parameters allow direct reading of values in long format, avoiding unnecessary conversions.

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

    Good video bro

  • @harisake6068
    @harisake6068 3 роки тому +2

    Ele execute chestunnaru annintitho meru ?....................... nenu edge or firefox change chesina but only chrome lo matrame execute avutunnayi ela chesaru meru cheppara pls

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

      Video lo ade explain chesanu bro
      Video motham chusesthe ardam ipoddi easy ga

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

      @@HYRTutorials na question meku artham kaledu anukunta ayithey

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

      @@HYRTutorials 5 times chusanu anna

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

      @@harisake6068 ohh what is you question?
      Firefox and edge browsers open avvadam ledu ha?

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

      @@HYRTutorials yes........nenu firefox , edge emi echina ...chrome matrame open avutondi

  • @Dinesh-zs8yk
    @Dinesh-zs8yk 2 роки тому +1

    Firefox browser launch avvatledu bro webdriver manager tho chrome and edge drivers work avutunnai but Firefox work avvatledu, webdriver version I'm using is 5.0.3

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

      Once check your firefox version also

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

    hi when iam trying to excute the code iam getting the error( Unable to find an exact match for CDP version 114, so returning the closest version found: 113) .can u pls resolve this issue

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

      That's just a warning buddy. You can ignore that

  • @birajupatel4540
    @birajupatel4540 2 роки тому +1

    Sir how to declare more than 1 parameters in optional such username and password

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

      Somehow missed tour comment buddy.
      you can pass n number of optional parameters.
      Try something like this:
      @Parameters({"browserName","version"})
      @BeforeTest
      public void InitialiseBrowser(@Optional("chrome") String browserName, @Optional("95") String version) { }

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

    Is it possible to perform testng xml parameterization & testng assertion in same test case??

    • @HYRTutorials
      @HYRTutorials  2 роки тому +2

      They both are different things and dependent on any other.
      You can do them together buddy

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

      @@HYRTutorials thank you 😊

  • @jasminemerchant3167
    @jasminemerchant3167 2 роки тому +1

    Hello sir, I am getting strange error, it says
    Multiple markers at this line
    - The annotation @Parameters is disallowed for this location
    - The attribute value is undefined for the annotation type Parameters.
    Can u suggest what I can do

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

      Send me the screenshot on hyadagirireddytutorials@gmail.com
      After looking at the screenshot i can suggest you in a better way buddy

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

      @@HYRTutorials screenshot sent

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

      Replied buddy

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

    sir, there is no error in my code but when I run XML. code is not working no tests are running

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

    you are awesome

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

    Parameters: as a user if you want pass the any information to the method we need to use the Parameters. similarly as a user if you want pass the any information to the TestNG Method we need to use the Parameters. Those are called TestNG Parameters.

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

    you r great sir !!!
    pls make a video on wrapper class

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

      Thanks buddy
      What wrapper class?

    • @amu4560
      @amu4560 2 роки тому +1

      @@HYRTutorials Integer int like that java concepts

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

      @@amu4560 ok buddy

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

    Thank you @yadagiri

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

    You were speaking very fast.but explained well.

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

      Thankyou 😊
      Yeah I tried to slow down but I guess that is still not sufficient so will try to slow down a bit more.

  • @tejanellore6024
    @tejanellore6024 2 роки тому +1

    I am getting error while executing browser is not getting initiated can you help me

    • @tejanellore6024
      @tejanellore6024 2 роки тому +1

      How can I send you my code snippet so that you can help me find the error.

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

      You can paste your snippet here or send me on hyadagirireddytutorials@gmail.com

  • @Summa_Suthuvom
    @Summa_Suthuvom 2 роки тому +1

    After watching the videos I feel like "ate an unlimited biriyani"

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

    Hi anna can you please create this course in Telugu

  • @andavaraputejeswararao1772
    @andavaraputejeswararao1772 2 роки тому +1

    can i get ur codes from any?

  • @surukartheek1717
    @surukartheek1717 2 роки тому +1

    hlo bro test ng kuda telugu lo cheyandi bro

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

      Daaniki konchm time paduthundi buddy.

  • @surukartheek2614
    @surukartheek2614 2 роки тому +1

    testng kuda telugu lo petandi bro

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

    Love ur way of teaching but be slow

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

    Sir plzz provide source code also.

  • @vishalpatnala3138
    @vishalpatnala3138 2 роки тому +1

    [1641740592.690][WARNING]: This version of ChromeDriver has not been tested with Chrome version 97.
    INFO: Found CDP implementation for version 97 of 96
    I am getting this error as my chrome version is Version 97.0.4692.71 how to upgrade it please i couldn't find any solution

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

      Seems like the driver version that u r using is bit old so try downloading the new chromedriver

    • @vishalpatnala3138
      @vishalpatnala3138 2 роки тому +1

      @@HYRTutorials I updated it to new version 97. When I am performing testng the error occurring I have added all the dependencies also nothing working out please tell me I have interview tomorrow

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

      Send me screenshots on my email or instagram or telegram.
      will take a look and advice you based on the error.