Selenium Framework for Beginners 24 | TestNG How to use Parameters | in Selenium

  Рет қаралды 20,096

Automation Step by Step

Automation Step by Step

Күн бұрын

Пікірлер: 32
@VijayKumar-qd7ej
@VijayKumar-qd7ej 3 жыл бұрын
Hey Raghav, your videos are much better then many paid courses...
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks for the kind words Vijay
@bindunagaraj123
@bindunagaraj123 3 жыл бұрын
You are the best teacher in Automation I felt...awesome lecturing as well very useful information..thank you raghav for this video...🙂
@RaghavPal
@RaghavPal 3 жыл бұрын
So nice of you Bindu
@ma8969
@ma8969 2 жыл бұрын
Thanks
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome
@ishitashah5023
@ishitashah5023 3 жыл бұрын
Hey Raghav, I really appreciate your efforts to make such a nice videos and thanks for your time. I’m not clear yet on what’s the purpose of using parameters. Aren’t they same as arguments we pass to any regular functions? Thank you
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Ishita, TestNG Parameters are the arguments that we pass to the test methods.. Parameters allow to run the same test over and over again using different values.
@simranpathan9608
@simranpathan9608 2 жыл бұрын
Hello Sir, Can you please explain how to automate webtables which does not have table tr td tag. Thanks in advance
@RaghavPal
@RaghavPal 2 жыл бұрын
I will plan a session Simran
@harshachandnani9595
@harshachandnani9595 4 жыл бұрын
Hello Raghav, i have a use case wherein i have multiple parameters to pass to method with @beforeMethod annotation. How can i do that without the use of @parameter annotation. I thought of doing it with @DataProvider, however testng doesnt support dataProvider with @BeforeMethod annotation.
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Harsha, you should be able to use this. Pls check here stackoverflow.com/questions/35893294/dataprovider-with-before-testng examples.javacodegeeks.com/enterprise-java/testng/testng-beforemethod-example/
@KiranKumar-ne1zy
@KiranKumar-ne1zy 5 жыл бұрын
Hello raghav will executing parameters annotation it execute only testing.XML file other than we can execute test class also
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Kiran, yes you can execute classes as well. You can provide the details in testng.xml file accordingly. Check other videos on this playlist automationstepbystep.com/online-courses/
@Deniz-ss1sv
@Deniz-ss1sv 3 жыл бұрын
:)
@nehashukla3685
@nehashukla3685 4 жыл бұрын
Hi Raghav, I am getting this error:org.testng.TestNGException: Cannot find class in classpath.How can I solve it?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Neha, it must be some particular class. See if this helps - stackoverflow.com/questions/25543910/error-org-testng-testngexception-cannot-find-class-in-classpath-empclass
@Yaddalapudi
@Yaddalapudi 5 жыл бұрын
hello Raghav ji i have one doubt, in this script we will pass only one parameter at time ? i am trying to pass more then one parameters it throws an errors... can you try to help me ?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Krishna, will need to see your error and your code and setup
@Yaddalapudi
@Yaddalapudi 5 жыл бұрын
@@RaghavPal how can I share am code
@RaghavPal
@RaghavPal 5 жыл бұрын
You can copy the code showing error here and also the logs showing the caused by section
@Yaddalapudi
@Yaddalapudi 5 жыл бұрын
@@RaghavPal raghav ji can u give suggestion to record my actions in desktop like apps or softweres. just now i hava full clarity about parameters how to use, passing more then one parameter and java,xml as well... IN JAVA @Test @Parameters({"sub1","sub2"}) public void test1(String name1,String name2) { System.out.println("first Name is :"+name1+" second name"+name2); } in XML
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi for desktop apps you will need to try AutoIT for winnium. Selenium will not work on desktop
@priyankakatiyar8341
@priyankakatiyar8341 3 жыл бұрын
how to pass more than one parameter ? Pls tell
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Priyanka, can check this stackoverflow.com/questions/45160355/multiple-values-for-parameters-in-testng-xml-without-using-dataprovider
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
I have error org test.tesng
@RaghavPal
@RaghavPal 2 жыл бұрын
will need more details Raja
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Send it your whatsapp number i send the photos I don't know how to tell
Selenium Framework for Beginners 25 | TestNG How to create Dependencies
8:40
Automation Step by Step
Рет қаралды 11 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 95 МЛН
TestNG Parameters - Test Case Parameterization in TestNG
22:37
Naveen AutomationLabs
Рет қаралды 37 М.
What is factory annotation and how to use factory with DataProvider
19:06
RoadToAutomation -- Sadik
Рет қаралды 1,3 М.
P8 - Parameters in TestNG | TestNG | Testing Framework |
26:30
H Y R Tutorials
Рет қаралды 50 М.
Selenium Framework for Beginners 23 | TestNG Grouping | How to group tests
15:00
Automation Step by Step
Рет қаралды 33 М.
TestNG Parameterisation - @Parameters | @Optional
24:15
qavbox
Рет қаралды 2,4 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44