I watched many videos for parameters in TestNg but you are the only who made it crystal clear. thanks....
@mithaleepardeshi4 жыл бұрын
To the point and completely understood the importance of Parameters. Thank you Naveen Sir.
@FitnessForAll5 жыл бұрын
I am following you for the past 1.5 years and I still remember once I checked your Subscribers because your content was really awesome. The subscriber's count was 503. Well the count has increased to 84K today.
@bestcricketbowling99472 жыл бұрын
245k now😍
@rakeshjaiswal46754 жыл бұрын
6:15 testNG xml start. 16:28 using Browser in testNG.xml 23:55 Data Driven Approach.
@PreetiGupta-qz1nw6 жыл бұрын
Naveen, Your way of teaching is too awesome. Keep it up. Excellent Job.
@ssworks61492 жыл бұрын
tq naveen for uploade all the videos now i got the job because of you .and all the credit goes to you only
@saitejaithagoni11683 жыл бұрын
Very underrated channel for all career defining concepts taught. Here. Should me in millions subscribers group.
@shrutitiwari89213 жыл бұрын
I imported jcommander's package instead of testng as eclips gave me option and I chose it without observing. I tried to solved error last couple of hour ..Finally jumped here and got solutions as usual...Thanks naveen
@aihaitipaziliti26555 жыл бұрын
You are awesome, Naveen. Big tumps up ....💯👍👍👍👍 thank you.
@Praveenkumar-gy7wt4 жыл бұрын
awesome 501 users to 101k uses... awesome explanation.. thanks
@omkarpotdar27632 жыл бұрын
Thanks a lot Naveen for covering an extremely helpful and intresting topic.
@Star-vg7ix2 жыл бұрын
very simple and to the point! Very well done. Just hoping that you can zoom in on your screens in the future.
@richadubey59394 жыл бұрын
It's 4 in the night oh wait its morning already :) and I can't stop learning on a roll, Thanks to awesome content and really helpful Thanks a Ton. Bud
@naveenautomationlabs4 жыл бұрын
Keep learning :)
@anushaanoops72873 жыл бұрын
I copied the same script to mine. sending value1 and value2 from Xml to perform an addition in an class. It says "[Utils] [ERROR] [Error] org.testng.TestNGException: Parameter 'val1' is required by @Test on method Sum but has not been marked @Optional or defined". Not reading from XML. Kindly please help.
@poojadolly12623 жыл бұрын
just wow.thanks for wonderful video
@adepaliwal345 ай бұрын
You are simply amazing.
@swapnaparamathma39045 жыл бұрын
Hi Naveen tried this example getting the following error when i run testng.xml [RemoteTestNG] detected TestNG version 6.14.3 [Utils] [ERROR] [Error] org.testng.TestNGException: Parameter 'browser' is required by @Test on method yahooLoginTest but has not been marked @Optional or defined Can you please guide
@DigitalNomad-j2e6 жыл бұрын
Thank you, Naveen! Great explanation from very beginning to the end point.
@sheiksabreen19633 жыл бұрын
Awesome...... amazing sir
@rahinisinghgoyat5 жыл бұрын
why it gives an error like -- FAILED: loginAmazon org.testng.TestNGException: Parameter 'email' is required by @Test on method loginAmazon but has not been marked @Optional or defined when we run the test class as TestNG Test? but it runs successfully when running testng.xml file
@priyankapradhan71065 жыл бұрын
Thanks Naveen...U r Amazing...Love ur teaching styl.
@naveenautomationlabs5 жыл бұрын
Thanks for watching Priyanka
@KavithaManu23743 жыл бұрын
super sir nice explanationa i liked it
@KavithaManu23743 жыл бұрын
Sir can you take my mock interview please sir
@KavithaManu23743 жыл бұрын
Sir i have attended the interviews got rejected sir can you please tell me how can i prepare
@sainiranjan404 жыл бұрын
We're using Azure DevOps for CI/CD and my manager explicitly defined environment variables as input that should take while run time. In that scenario what should I write under "values" inside testng ?
@saumyamahapatra17496 ай бұрын
Hi @Naveen. Thanks for the tutorials. It really helps. Is there any tutorial which will tell when to use @Beforesuite / @BeforeTest /@BeforeClass together with practical examples ?
@prakashpandey22926 жыл бұрын
nice sir.. awesome knowledge u have and way of explaining is adorable...
@purnimamohapatra27593 жыл бұрын
@Naveen As we usually write the browser launch code inside Before Method, so can it be possible to parameterize the browser condition inside Before Method ?? As the parameter annotation is under @test annotation.
@chandanmukherjee1575 жыл бұрын
Thank you very much Naveen Sir , this tutorial is awesome
@kennethmoeketsi93824 жыл бұрын
hI Naveen, Thank you for your videos. Quick question, is it possible to use testNG XML config with parameters to pass to our methods in CUCUMBER? What i am trying to achieve is to setup my different environment e.g. dev, Int, qa and preprod so that i can specify the environment when i am running mvn test command e.g. mvn test -p preprod.. How can i achieve that flexibility of changing environment using maven and cucumber?
@dhruvsharma76464 жыл бұрын
@Naveen...For different environments if we don't want to change value on every execution then there is any way ??
@derrukumar35452 жыл бұрын
Thank You Naveen Sir
@RajeshVerma-rs9rp4 жыл бұрын
Thanks Naveen. Can i please ask an easy question here. ParameterTest.java has only one method yahooLoginTest (annoted @Test). Do you write all your methods in one .java file or segregate them into as many .java fies? Won't your .java file get huge and difficult to manage if you are write all your test in one .java file? I can understand a tester writes BeforeTest and AfterTest methods in one .java file but is having many @Test in one .java a common practice? Many thanks.
@shivangichandra53623 жыл бұрын
Can we give parameters name in method body different from @Parameters Annotation name?
@andadana7996 жыл бұрын
Did you know how can add dynamically the parameters in a xml configuration? and add the value for atribut value dynamically?
@ajeetpatel35333 жыл бұрын
Hi naveen I am giving 10 testclass name in my TestNg xml file and i am doing run parllel testing but in the run time only 5test class are run parllely why ?i am not using Include and exclude method please tell me
@chandrakanthvs4949 Жыл бұрын
Hi Naveen where do I get that TestNG.xml format file ?
@hemasaini8475 жыл бұрын
Hi , I am facing an annoying issue in Testng script, not able to fix this, the issue is that, i have created different test annotations which did not worked separately, but worked when i merged the code of 2 different test into one. I hope some one suggests me the solution
@akulabhaskar37976 жыл бұрын
Hello Naveen we can use Assertion instead of if else ? And Assertion or if else which is best practice in real time when it comes to TestNG .
@RajuDas-zn3gx6 жыл бұрын
Naveen, if I run the testng.xml file then the test run perfectly but when I run from ParameterTest it throws this following error -- Parameter 'url' is required by @Test on method googleTitleTest but has not been marked @Optional or defined Can you please help to fix this problem?
@MrDocenrico6 жыл бұрын
you have to run the xml file not the class
@sanjaykumar-wx1wt4 жыл бұрын
Hi Naveen, Thank you for the videos it is really helpful. Can you please make a video on HOW TO DEBUG related task. Thanks in Advance.
@falgunipatel65362 жыл бұрын
How we can use testng.xml in Apache netbean?
@bhushanshet73296 жыл бұрын
Can we pass value from one test as input to another test?
@career_qa26704 жыл бұрын
hi naveen, in this video you not mentioned , how to create suit file .
@MishaS-wo4yx Жыл бұрын
thank you!!!
@snehakulkarni1493 жыл бұрын
What is difference between Environment Variables and Test data ?
@niyatiprakash12215 жыл бұрын
Hi Naveen How to print the values of parameter declared in Testng.xml , By writing code in Test class. pls help with the proper line of code.
@nimrahussain77382 жыл бұрын
Thank you sir
@virginia.faustino49355 жыл бұрын
Thank you so much! U r great!
@priyankachakrabarty456 Жыл бұрын
hello Naveen, can u plz provide the general content in testng.xml file?
@meghasandesam7 жыл бұрын
Nice explanation. Naveen i have one inerview question: 1. What is the use of @Test annotation in TestNG in Realtime? 2.If any problem occured in this annotation will code execute other annotations or just stop to execute? 3. If it stop to execute the code, do we raise the bug/issue? I not answered for this question. :(
@akulabhaskar37976 жыл бұрын
If there is a show stopper in @Test annotation then it will fail ,But we have the option to keep priority also we can create Dependecies.
@himshwetasinha65296 жыл бұрын
Hi NAVEEN, I am very new to coding and learning selenium through your videos. I have Step definition file in which I am calling gettitle() and gettext() method again and again. I want to put these method in another class called Utility and call them whenever required. Please help me with this scenario.
@rohitgrover55565 жыл бұрын
First of all very nice video, Now my qus: If i am running from testng.xml then its working fine but if i run from parametertest class then its showing url parameter is not marked or defined in the testng-customsuite.xml. i tried to keep tetng.xml in the project and in the test folder but not working from class :(
@mounikakasulawada94914 жыл бұрын
Thank you naveen
@meghasandesam3 жыл бұрын
at that time 501 Subscribers...!!!
@ramakrishan36505 жыл бұрын
Hi Sir , Do you have any video on Robot Frame Work Training with Eclipse + Python + Selenium ?
@sridevireddy13717 жыл бұрын
Thank you Naveen
@bhuvanashreevenkatesan80767 жыл бұрын
Very well explained .thank you so much. Pls may I know what are topics in TestNG is important for interview purpose
@AdnanAli-zm6oy5 жыл бұрын
In which video you discussed regarding config.properties
@22Shoyab5 жыл бұрын
can any body share video link of how to read from properties files i was not able to find video
@poojabagga52065 жыл бұрын
try{ prop = new Properties(); FileInputStream ip = new FileInputStream("C:/Users/OneStop/eclipse-workspace/AP_Shop_Automation2/src/main/java/com/intershop/APShop/config/config.properties"); prop.load(ip); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } //Initialization method public static void initialization(){ String browserName = prop.getProperty("browser");
@purnachandrapatra25527 жыл бұрын
Hello sir ...i have gone through this video...here , you have passed environment as parameter having value "QA" ,May i know where we use this parameter inside the test method? Your replay will be highly appreciated
@naveenautomationlabs7 жыл бұрын
PURNA CHANDRA PATRA hi this env variable is used when you are running test suite on different environments like dev,QA,stg. Inside the test method u can write one if else condition on the basis of env value coming from testng XML file and Launch the respective url. If it's dev then launch dev url. Else if QA then launch QA url.
@purnachandrapatra25527 жыл бұрын
it means that, for the same application ,we have different url in real time which depends on QA or DEV server
@purnachandrapatra25527 жыл бұрын
And one suggestion(i do not know how much it is important),please make a video which shows how to use your channel like what are the syllabus(topic ) you are going to cover..from which playlist one should start and go on.Another thing i have noticed that your play list is mix of all topic kzbin.info/aero/PLFGoYjJG_fqo4oVsa6l_V-_7-tzBnlulT which is very confusing for a beginner like me..for example inside testng play list you have part 3 of datadriven framework....hope this comment have some +ve value :)
@naveenautomationlabs7 жыл бұрын
+PURNA CHANDRA PATRA thanks for the genuine feedback buddy. I'll surely create a vdo for the same. Even I relaized the same.
@poongodiarasu80795 жыл бұрын
Nice... Thank you...
@Ramkishorepodugu2 жыл бұрын
so nyc sir
@sunny_sunny286 жыл бұрын
how can we automate recapthca pls upload a video tutorial on that
@SachinKumar-lu3mw2 жыл бұрын
Nice
@Familyfoods45 Жыл бұрын
0:01
@nehachaudhary27653 жыл бұрын
i m confused ????
@mysweetworld18144 жыл бұрын
who is watching video in 2020...plz comment
@Familyfoods45 Жыл бұрын
Hey
@rajatjain16535 жыл бұрын
it's not sweet, it's Suite
@naveenautomationlabs5 жыл бұрын
Go and check, how to pronounce it. It's pronounced as sweet. Learn some English first buddy.