P8 - Parameters in TestNG | TestNG | Testing Framework |

  Рет қаралды 50,112

H Y R Tutorials

H Y R Tutorials

Күн бұрын

In this video, I have explained about "Parameters in TestNG".
1. What is the use of TestNG parameters?
2. How to use the TestNG parameters?
=======================================
▶️ Next Video Link: • P9 - Optional Paramete...
◀️ Previous Video Link: • P7 - TestNG annotation...
↔️ TestNG Playlist Link: bit.ly/3wXyuXB
🔗 Code used in this video: www.hyrtutoria...
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
👑 Join my youtube channel to get access to perks:👇
/ @hyrtutorials
========================================
========================================
Connect me @
🔗 Website - www.hyrtutoria...
🔗 Telegram - t.me/hyrtutorials
🔗 Facebook - / hyrtutorials
🔗 LinkedIn - / hyrtutorials
🔗 Twitter - / hyrtutorials
🔗 Instagram - / hyrtutorials
========================================
========================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorials #selenium #testng
TestNG by Yadagiri Reddy

Пікірлер: 103
@HYRTutorials
@HYRTutorials 3 жыл бұрын
↔️ TestNG Playlist Link: bit.ly/3wXyuXB ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
@twistedstyles
@twistedstyles 2 жыл бұрын
love your way of teaching, makes a dumb person like me understand it. you are top notch for sure! thanks.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@pareshmkulkarni
@pareshmkulkarni 2 жыл бұрын
Great Tutorial Mr. Reddy. You have explained it in detail. Appreciate your knowledge sharing skills. Thank you.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy
@jallapremsai9040
@jallapremsai9040 4 ай бұрын
@@HYRTutorials page object model and page object factory explain
@annamdeepu2610
@annamdeepu2610 5 күн бұрын
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.
@user-bc3ze3po3v
@user-bc3ze3po3v 7 ай бұрын
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
@tani-cw6sz
@tani-cw6sz 6 ай бұрын
your every lecture is excellent. thank you very much.
@pradeepg7507
@pradeepg7507 Жыл бұрын
Owesome tutorial following all videos 👍 thank you Sir
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@bharathpybodi2842
@bharathpybodi2842 2 ай бұрын
Your Overal course is excellent Bro
@dhananjaybathe8483
@dhananjaybathe8483 2 жыл бұрын
I really enjoy learning watching your videos. Very useful and fruitful. thanks a lot..
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou for liking 😊
@venkatakrsihna3520
@venkatakrsihna3520 2 жыл бұрын
Hi sir. Actually I have joined in inistitute. But I have learned more from ur channel. Superb explanation. Thank u
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Ohh that's great to hear 😊
@Shivanibbbbb
@Shivanibbbbb 2 жыл бұрын
all videos are excellent . appreciated.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thank you buddy
@gaddipatiprabhakar2889
@gaddipatiprabhakar2889 3 жыл бұрын
Another.... Good Video on TestNG Series... Thank you Bro
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Thankyou brother 😊 Hope you are practicing as well
@ashwajitthukral9101
@ashwajitthukral9101 2 жыл бұрын
you explained it beautifully, thanks to you mate!
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@munindharr1039
@munindharr1039 Жыл бұрын
well explanined thanks
@HYRTutorials
@HYRTutorials 11 ай бұрын
Thanks buddy 😊
@birajupatel4540
@birajupatel4540 Жыл бұрын
Sir how to declare more than 1 parameters in optional such username and password
@HYRTutorials
@HYRTutorials Жыл бұрын
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) { }
@Yogeshnaik-z9h
@Yogeshnaik-z9h Жыл бұрын
super explanation brother super
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@shaikzakeer8146
@shaikzakeer8146 2 жыл бұрын
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 Жыл бұрын
Thank you so much bro
@HYRTutorials
@HYRTutorials Жыл бұрын
Happy learning buddy 😊
@chitrabhange5996
@chitrabhange5996 8 ай бұрын
Hello, sir I'm watching your series, and your explanation is excellent. However, if you type
@jhansimaddikunta1080
@jhansimaddikunta1080 10 ай бұрын
you are awesome
@techicalkunal3683
@techicalkunal3683 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
@Targetgroups123
@Targetgroups123 2 жыл бұрын
Super sir💐💐👍🏻👍🏻
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou
@IndianCultureNaveen
@IndianCultureNaveen 2 жыл бұрын
Nice explanation
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@riyababy2018
@riyababy2018 3 жыл бұрын
Thank you @yadagiri
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Glad you liked it 😊
@kranthikumar7443
@kranthikumar7443 3 жыл бұрын
Good one bro
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Thankyou 😊
@arjunp9334
@arjunp9334 2 жыл бұрын
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
@srinivas4449
@srinivas4449 3 жыл бұрын
Good video bro
@HYRTutorials
@HYRTutorials 3 жыл бұрын
Thankyou 😊
@harisake6068
@harisake6068 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 2 жыл бұрын
Video lo ade explain chesanu bro Video motham chusesthe ardam ipoddi easy ga
@harisake6068
@harisake6068 2 жыл бұрын
@@HYRTutorials na question meku artham kaledu anukunta ayithey
@harisake6068
@harisake6068 2 жыл бұрын
@@HYRTutorials 5 times chusanu anna
@HYRTutorials
@HYRTutorials 2 жыл бұрын
@@harisake6068 ohh what is you question? Firefox and edge browsers open avvadam ledu ha?
@harisake6068
@harisake6068 2 жыл бұрын
@@HYRTutorials yes........nenu firefox , edge emi echina ...chrome matrame open avutondi
@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 жыл бұрын
@@HYRTutorials Integer int like that java concepts
@HYRTutorials
@HYRTutorials 2 жыл бұрын
@@amu4560 ok buddy
@pjswathi
@pjswathi 2 жыл бұрын
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.
@Dinesh-zs8yk
@Dinesh-zs8yk 2 жыл бұрын
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 Жыл бұрын
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
@prashantchidurala6506
@prashantchidurala6506 6 ай бұрын
Hi anna can you please create this course in Telugu
@Batmannn06
@Batmannn06 2 жыл бұрын
Is it possible to perform testng xml parameterization & testng assertion in same test case??
@HYRTutorials
@HYRTutorials 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 жыл бұрын
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 2 жыл бұрын
sir, there is no error in my code but when I run XML. code is not working no tests are running
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thats bad. Are you getting any error?
@karimullamohammed6314
@karimullamohammed6314 2 жыл бұрын
No sir it doesn't showing any error
@manjupingili8510
@manjupingili8510 3 жыл бұрын
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 жыл бұрын
I am getting error while executing browser is not getting initiated can you help me
@tejanellore6024
@tejanellore6024 2 жыл бұрын
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
@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.
@HYRTutorials
@HYRTutorials Жыл бұрын
Perfect buddy
@surukartheek1717
@surukartheek1717 2 жыл бұрын
hlo bro test ng kuda telugu lo cheyandi bro
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Daaniki konchm time paduthundi buddy.
@Summa_Suthuvom
@Summa_Suthuvom 2 жыл бұрын
After watching the videos I feel like "ate an unlimited biriyani"
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Haha thankyou buddy 😊
@andavaraputejeswararao1772
@andavaraputejeswararao1772 Жыл бұрын
can i get ur codes from any?
@HYRTutorials
@HYRTutorials Жыл бұрын
Check the description buddy
@surukartheek2614
@surukartheek2614 2 жыл бұрын
testng kuda telugu lo petandi bro
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Time paduthundi buddy
@BHAJRANGSEVAK
@BHAJRANGSEVAK 2 жыл бұрын
Sir plzz provide source code also.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Check the description box buddy
@akhilareddyvadde1578
@akhilareddyvadde1578 2 жыл бұрын
Love ur way of teaching but be slow
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thanks buddy 😊
@vishalpatnala3138
@vishalpatnala3138 2 жыл бұрын
[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 жыл бұрын
@@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.
P9 - Optional Parameters in TestNG | TestNG | Testing Framework |
7:04
Apple peeling hack
00:37
_vector_
Рет қаралды 62 МЛН
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 48 МЛН
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 16 МЛН
Now it’s my turn ! 😂🥹 @danilisboom  #tiktok #elsarca
00:20
Elsa Arca
Рет қаралды 12 МЛН
@Parameters in TestNg: How to pass parameter from testing.xml
26:39
Naveen AutomationLabs
Рет қаралды 177 М.
P27 - Default reports generated by TestNG | TestNG | Testing Framework |
24:23
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,7 МЛН
P12 - How to ignore tests in TestNG | TestNG | Testing Framework |
20:11
Stop Comparing TestNG/Junit/Cucumber with Selenium
15:40
Naveen AutomationLabs
Рет қаралды 25 М.
P5 - Assertions in TestNG | TestNG | Testing Framework |
11:41
H Y R Tutorials
Рет қаралды 68 М.
Apple peeling hack
00:37
_vector_
Рет қаралды 62 МЛН