Cucumber - jvm (Cucumber Options) with Selenium WebDriver - Part 2

  Рет қаралды 159,537

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 115
@chvishnu619
@chvishnu619 4 жыл бұрын
This is my first task at my first job as a dev. Your tutorials are a lifesaver. Thanks a lot buddy!
@shenbagaraman6295
@shenbagaraman6295 4 жыл бұрын
Explanations are Cristal clear!! Kudos to you
@pbhosale406
@pbhosale406 3 жыл бұрын
Explanation khup mast kela 👍🙏
@testauto5245
@testauto5245 4 жыл бұрын
another nice tutorial sir thanks for sharing all this knowledge
@jeyhunaliyev1765
@jeyhunaliyev1765 5 жыл бұрын
awesome explanation thank you very much . i would say all your videos so detailed and no need to again again watch them . watch once and use rest of your life
@RaviVerma-Personal
@RaviVerma-Personal Жыл бұрын
Wow , Nicely explained. Just wanted to add we can also use the shortcut Ctrl+1 to create a stepdefinition for the respective feature scenario step ..😃
@arpitmalaiya7425
@arpitmalaiya7425 11 ай бұрын
Thanks buddy for making meaningful session
@sudhakarkm4626
@sudhakarkm4626 6 жыл бұрын
Hi Naveen, It's really a unique teaching pedagogy techniques you have. Everyone can understand the topics what you teach.. great...
@sujatapanda7397
@sujatapanda7397 5 жыл бұрын
Hi Naveen, your videos are really amazing and your teaching is just superb
@abraham2961
@abraham2961 6 жыл бұрын
Really very very helpful video Naveen thanks for your contribution and support very thankful you save lot of people life
@rashmi6611
@rashmi6611 4 жыл бұрын
Thanks Sir, Your videos are really very helpful while learning and interview preparation
@RajaSingh-is5sk
@RajaSingh-is5sk 2 жыл бұрын
Thanks Naveen, For this nice lecture..........
@testinginsights-muktasharma
@testinginsights-muktasharma 6 жыл бұрын
yes yes, I really liked this video. I love your interview tips which you give in the video while explaining each and every small little thing which makes the concept very easy to grasp. Thank you so much!
@gowthamreddy8929
@gowthamreddy8929 6 жыл бұрын
Hi naveen somuch thankful to this video.Great video and awesome teaching
@Manashaist
@Manashaist 6 жыл бұрын
Really awesome.Thanks, Naveen for a wonderful video.
@krishnasowjanyamaddukuri35
@krishnasowjanyamaddukuri35 7 жыл бұрын
Really good and detailed Explanation
@meghraj
@meghraj 4 жыл бұрын
Amazing tutorials
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Glad you like them! You can watch the latest cucumber 6 videos here : kzbin.info/aero/PLFGoYjJG_fqpObjigKg4bunu6_Ki7Ppn-
@shriprasadgujare8639
@shriprasadgujare8639 5 жыл бұрын
Just to add, if we have strict = true and in our step definition file if have an undefined step , all the subsequent steps will not be executed and system will exit with return 1. In the explained example the undefined step is in the last line therefore we are not able to see the use of strict.
@arafatahmed6803
@arafatahmed6803 4 жыл бұрын
Hi Naveen, Thank you very much for the lectures of Cucumber. I am working on it. I found it very useful. It's helping me a lot. Can you please make a video for Parallel Execution in Cucumber by using Maven test execution plugins? I would greatly appreciate it.
@manibhute1455
@manibhute1455 4 жыл бұрын
Hi Naveen your all videos are too good .I rate them (9.99/10) ,only one small suggestion here Format is now deprecated so you can writes only Plugin .Otherwise with Format it throws error.
@jahangiralikhan2410
@jahangiralikhan2410 6 жыл бұрын
Awesome video Naveen :) Thanks a lot
@MrMadhur18
@MrMadhur18 7 жыл бұрын
awesome video... Naveen please come with the video of collections with interview questions ....
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
+Madhur Bharadwaj sure will do that.
@souravdasgupta5094
@souravdasgupta5094 6 жыл бұрын
very good videos Naveen. It helped a lot..
@amitbhardwaj7824
@amitbhardwaj7824 4 жыл бұрын
Nice video 👍
@dikshasrivastava8346
@dikshasrivastava8346 3 жыл бұрын
Videos are really helpful , but please let us know how to write code in definition file , if feature file contains multiple scenarios.
@AnilKumar-us7yk
@AnilKumar-us7yk 7 жыл бұрын
Hi Naveen , The video is more than great but i just feel from next videos please can you increase the font size little more from preferences so its more visible thats the only concern i have other than this i dont have any words to say i mean speechless from your videos and truly delightful and awesome
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
Sure :)
@VijayKumarKarukuri
@VijayKumarKarukuri 6 жыл бұрын
Clear understanding..thanks naveen
@rajendrasahu8271
@rajendrasahu8271 7 жыл бұрын
Awesome description Naveen
@sanjuk2484
@sanjuk2484 3 жыл бұрын
Your awesome naveen.... I really like your vedios... I love the way your explaning...
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
Glad that it's helping you
@sanjuk2484
@sanjuk2484 3 жыл бұрын
@@naveenautomationlabs I have one doubt naveen.. We are writing selenium code in step definition file instead of test runner.. Why??? Bcz I used to work cucumber framework in my company.. They used to write selenium code in test runner file..
@sudheerpandey5439
@sudheerpandey5439 5 жыл бұрын
really great videos Naveen:) Thanks a lot
@suganyas62
@suganyas62 4 жыл бұрын
Hi Naveen, Ur teaching is really nice..but want to bring one point is, ur eclipse screen font size is very small so if you maximize it and explain means it would be really helpful..
@bharatkumar5277
@bharatkumar5277 6 жыл бұрын
Nice learning Videos...can you please clarify the question on execution front....if we have multiple feature files,how can all those feature files can be run in the runner class?If we prepare different step definition files for each feature file,how do we give in the runner class?
@srividyan7979
@srividyan7979 7 жыл бұрын
Hi Naveen, You give us a very nice and clear explanation in videos, thanks for your contribution. do we need to write saparate runner class for every feature? could you design a framework like how u explain in POM like end to end testing in cucumber as well please.
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
+Srividya N yes I'll cover pom with cucumber also. Stay tuned
@shilpamittal2598
@shilpamittal2598 5 жыл бұрын
Amazing Video Naveen. Can you make a video on extent report with screenshot attachment?
@ash123mur
@ash123mur 4 жыл бұрын
same request!
@waniya-huzzu
@waniya-huzzu 6 жыл бұрын
we have to give full path of package under features as features = "src/main/java/Features/" then only it will execute all the features.
@mohammadchisty2129
@mohammadchisty2129 4 жыл бұрын
Hello Naveen Thanks for your video. Could you please show, how to create multiple Scenario and run.
@introductionofsoftwaretest6686
@introductionofsoftwaretest6686 5 жыл бұрын
Good Morning Naveen How are you ... You are doing a great job yours videos are user friendly .... Question : I have 35 test case in my frame work and i wanted to run smoke test . So what I did i have put all test cases in a new feature file name smoke.feature and now when i am running this feature file I am getting an error " Invalid Session Id " . I will appreciate if you please help me fix this error ..... All of my test cases are working great individually ...... Thank you You have a nice day Frank
@piyushsinha7262
@piyushsinha7262 2 жыл бұрын
@Naveen Sir, Two Scenario for login functionality, one is with Valid username , Valid password and invalid username, invalid password, I have confusion for this I have to make one steps description file or two seprate seprate description file.
@jaydalsaniya3259
@jaydalsaniya3259 5 жыл бұрын
Hi Naveen, your videos and explanation is awesome. but i have one doubt. can you please brief me what is the difference between strict and dryRun cucumber option if both are checking for missing steps in Step Definition file. please revert. waiting for response.
@krishnan30990
@krishnan30990 5 жыл бұрын
One question here, what would happen when both dry run and strict is true here? Do we have a precedence, please tell exact output...
@dineshr4732
@dineshr4732 5 жыл бұрын
Awesome videos Naveen. Why is that step definitions not in src/test/java..?
@souravpoddar1050
@souravpoddar1050 5 жыл бұрын
Hi Naveen, Just info for your followers - "format" keyword is not in use anymore. Instead use "plugin" keyword in the TestRunner class :)
@princekr.3128
@princekr.3128 5 жыл бұрын
hi Naveen, I want to generate an intelligent report using cucumber like an overview, overall summary, and screenshots for failure. please make a video on it, it will be very helpful.
@dheerajsrinivas-t4v
@dheerajsrinivas-t4v Жыл бұрын
Hi Naveen, I am getting "Null point exception error" - Cannot invoke "org.openqa.selenium.WebDriver.get(String)" because the return value of "com.qa.factory.DriverFactory.getDriver()" is null. Could you please help me with this. Looks like there is some issue in DriverFactory. I have searched online for solution and couldnt find one. Please provide provide solution. Thanks..
@arunsalvi6460
@arunsalvi6460 6 жыл бұрын
Thanks a lot Naveen, All videos are really helpful and I am using Cucumber BDD framework in my project. I just want a small help, I have a question about running order of feature files, as feature files run in alphabetic order by default, in my case I have to run Login feature than Dashboard feature file, but as per the alphabetic order, Dashboard run 1st than run login feature file, is there any way to run feature files in specific order?
@sunitaaryal2330
@sunitaaryal2330 6 жыл бұрын
Best Video....Hi Naveen can u share jBehave videos please.
@Shashank26g
@Shashank26g 5 жыл бұрын
Hi Naveen, I follow all the steps given in this video, however in console output , i didn't see the passed fail steps, please let me know how to handle it. One more thing it tried to generate .xml file throght format options, but when it click on generated xml file , i am getting null argument error, please let me know how to resolve that issue.
@dhanashree.lavatre.6095
@dhanashree.lavatre.6095 6 жыл бұрын
Hi Naveen, if the feature file having multiple scenarios and every time the annotation given(@Given) is same in such case what to do? can we make the annotation given global?; so that every time we don't have to write the same step definition method !
@prachisinghal5374
@prachisinghal5374 2 жыл бұрын
You are a GEM :)
@sasikumarm1776
@sasikumarm1776 5 жыл бұрын
Hi Sir Thanks for the nice training. I have a below query When using * keyword in feature file, how we need to create step in the definition file
@jayhoss6433
@jayhoss6433 6 жыл бұрын
Hi Naveen, the format option within the @Cucumber.options() does not seem to work, does the option for the format exist?
@balakrishnan8691
@balakrishnan8691 6 жыл бұрын
Hi Naveen, I have feature which have 2 scenarios when one scenario finish executing i want cucumber to run 2nd scenario without opening new browser thread.Right now it when it finish executing one scenario it open another thread of browser and does not execute 2nd scenario. I don't want to open another thread, I want to execute the 2nd scenario after 1st in single browser thread. can you Plz help me
@gautamgkp65
@gautamgkp65 5 жыл бұрын
Nice video
@prashantmali8204
@prashantmali8204 Жыл бұрын
Hi Naveen, I used your code from Github and Import in My Eclipse but it cant work in Windows. I changing path path of chromedriver path and feature file path too. but can't execute the code . it shows an exception of initializationError. Please Can you help me Naveen.
@sureshsubramaniyan3201
@sureshsubramaniyan3201 5 жыл бұрын
Thanks for the concept. have 2 doubts 1) how to give comment on above the runner class. if we have more than one Feature file ( for single Feature file we are using like @CucumerOption( feature = "Future") 2) What is the major difference between dryRun and Strict keyword. both will act as to find out missing step definition ( method ) relevant to scenario steps
@bhamra123singh2
@bhamra123singh2 Жыл бұрын
He haven't taught about tags in this lecture so later u will know how to run multiple feature files and for second as per my experience both are having same function but with different approach...dryRun is time consuming it will first check mapping and then set to false and ur code will execute but strict it perform 2 task in one go...it will execute the code as well as it will check the mapping and fail the execution...I think this could be a satisfactory answer for an interviewer
@sindhumounika7788
@sindhumounika7788 4 жыл бұрын
Sir your training is excellent But screen is not that much clarity Please make vedio clarity
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
you need to change your HD setting to 720 HD or 1080 HD quality. All my videos are with HD quality.
@pankaj111ful
@pankaj111ful 4 жыл бұрын
Hi Naveen I am not able to generate reports files..as in eclipse I am not able to see junit 4 package however I have already added all jars in pom folder. Also mentioned this URL freecrm.com is changed.
@manojthivary3331
@manojthivary3331 2 жыл бұрын
What happens if we didn't write "preety" in the format option
@tejutej3988
@tejutej3988 6 жыл бұрын
Please increase the font size when you are explaining the coding part
@surajbobade956
@surajbobade956 4 жыл бұрын
Right code is not visible properly it's looking small
@anupamdas1053
@anupamdas1053 Жыл бұрын
Thank You!!
@AbhishekSharma-nm1ok
@AbhishekSharma-nm1ok 7 жыл бұрын
I got it. Thank you so much
@srinivasmuddappa9663
@srinivasmuddappa9663 5 жыл бұрын
Hi Naveen can we have a runner class without glue defined, I have seen this in my company not sure how it would understand where my stepdef is?
@amankul-yt
@amankul-yt 4 жыл бұрын
if runner and stepdef is under same dir then glue can be skipped.
@bharathkumar4986
@bharathkumar4986 4 жыл бұрын
We can follow all this using BDD -Testng?
@nandiniarumugam9772
@nandiniarumugam9772 7 жыл бұрын
Such a great explanation!!!
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
Thanks for watching! Keep Learning and Keep Sharing!
@rameshanantha6280
@rameshanantha6280 5 жыл бұрын
Hi @Naveen Sir Can you please help me on how to get status of steps in cucumber java as I need to update status of each step in zephyr ?
@sharathmillind3144
@sharathmillind3144 5 жыл бұрын
Bro can you make a video regarding methods reusable to for all action performed in browsers
@ArturBerkut
@ArturBerkut 4 жыл бұрын
awesome!
@kranthip8581
@kranthip8581 5 жыл бұрын
Do we need to use both dryrun and strict ? Diffrence between dryrun and strict?
@amankul-yt
@amankul-yt 4 жыл бұрын
Dryrun tells mapping without execution. Strict executes test and fails test for missing stepdef.
@waniya-huzzu
@waniya-huzzu 6 жыл бұрын
how to control order of execution of features file? suppose i have login.feature and contact.feature , it will execute first contact then login , since its executing based on alphabet order....
@srikanthsarma802
@srikanthsarma802 8 күн бұрын
create test ng dependencies and apply priority keyword
@palash3
@palash3 5 жыл бұрын
Can you explain how to resolve the initializationError. Your code is giving the error: Method 'initializationError' not found. Opening the test class.
@reshmashaik5377
@reshmashaik5377 5 жыл бұрын
You should use the same version of Cucumber-java dependencies as the Cucumber-JVM and Cucumber-JUnit dependencies, that is 1.2.5 in POM.xml file. stackoverflow.com/questions/40992750/cant-run-cucumber-test-java-lang-nosuchmethoderror-cucumber-runtime-runtime
@prakashpohi7314
@prakashpohi7314 6 жыл бұрын
hi naveen, with strict = true we are getting the message to implement the missing step after the execution. with strict = false also we are getting same result without strict option also we are getting the same result...... Then what is the purpose of strict cucumber option??????....i am not noticing any difference with strict cucumber option
@shriprasadgujare8639
@shriprasadgujare8639 5 жыл бұрын
if the first step in feature file or corresponding step definition is failed then all the subsequent steps will fail. Since in this case all the error is in the last line, that;s why the outputs are same. Try adding error in first step itself and see the output difference.
@Bharatiyadilse
@Bharatiyadilse 5 жыл бұрын
Check the Failure Trace, you will see the difference.
@abhijeets6593
@abhijeets6593 5 жыл бұрын
hey Naveen, you missed to explain tag, can u plz cover
@souravpoddar1050
@souravpoddar1050 5 жыл бұрын
"tags" keyword is used to run a particular Scenario from the Feature file. You can also exclude a Scenario by using "tags".
@nadimchouglay1947
@nadimchouglay1947 7 жыл бұрын
Naveen do u run classes in Mumbai? if yes where?
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
+Nadim Chouglay not in Mumbai, only in Bangalore. But u can join my online sessions
@nadimchouglay1947
@nadimchouglay1947 7 жыл бұрын
Naveen AutomationLabs Thanks for your reply ,would be great if you could conduct online classes how do I get in touch with you please advice
@naveenautomationlabs
@naveenautomationlabs 7 жыл бұрын
Please refer my blog here for online sessions: www.naveenautomationlabs.com/2017/12/selenium-java-training-course-content.html
@nursingism
@nursingism 6 жыл бұрын
@@naveenautomationlabs So naveen, wher do you take calsses in bangaore? i mean which area? since i would like to join im curious
@reehanshazada7867
@reehanshazada7867 5 жыл бұрын
@@nursingism Any update where in Bangalore?
@jyothsnareddyp
@jyothsnareddyp 5 жыл бұрын
Hi Naveen, format is no longer working; format is look like 'Strike-through' .
@lmI1878
@lmI1878 5 жыл бұрын
You can use "features" in place of "format"and it will work.
@PrakrutiBhakti
@PrakrutiBhakti 5 жыл бұрын
@@lmI1878 i think we have to use plugin only instead of format
@saurabhgarg191
@saurabhgarg191 4 жыл бұрын
use plugin
@ajayshetty5155
@ajayshetty5155 4 жыл бұрын
I am facing some issue unable to open chrome browser
@mhohossain1994
@mhohossain1994 5 жыл бұрын
hi naveen its md hossain when i use format like html or json i can not execution my test case give me a error
@moekhojaev836
@moekhojaev836 5 жыл бұрын
Hi, Hossain. Instead of using format use plugin keyword.
@narasimhagontla
@narasimhagontla 7 жыл бұрын
Why we are writing scripts in src/main instead of src/test
@ashwajitthukral9101
@ashwajitthukral9101 6 жыл бұрын
Same question comes to my mind.
@muhammedzubair3120
@muhammedzubair3120 6 жыл бұрын
What about the plugin in cucumberOptions????
@PrakrutiBhakti
@PrakrutiBhakti 5 жыл бұрын
once upon a time we used format but now its not working so instead of format we have to use plugin this is old video so it contains format
@RandomVideos-st9lz
@RandomVideos-st9lz Жыл бұрын
strict has been decommissioned starting from Cucumber 7.0. 0
@nishatiftekhar9579
@nishatiftekhar9579 6 жыл бұрын
format is no longer working; please use plugin
@kratik6282
@kratik6282 5 жыл бұрын
How to add multiple feature files
@souravpoddar1050
@souravpoddar1050 5 жыл бұрын
Create multiple feature files inside the Feature package and then add ONLY the path of the Feature package which contains multiple feature-files under "features" keyword in the TestRunner class. Also,make a note that if you have given a Scenario name for each feature-file,then you can add the Scenario name using "tags" keyword in the TestRunner class.
@neha7980
@neha7980 3 жыл бұрын
Shortcut for comment nd uncomment?
@talhachy3002
@talhachy3002 4 жыл бұрын
Nice explanation but video graphics quality is poor. its hard to watch test scripts, little blurry. Could have been better.
@mayankjain9941
@mayankjain9941 4 жыл бұрын
Hi Naveen, your videos are really amazing and your teaching is just superb
Data Driven Testing in Cucumber BDD Framework In Selenium - Part 3
52:50
Naveen AutomationLabs
Рет қаралды 166 М.
Cucumber - jvm (BDD Framework) with Selenium WebDriver - Part 1
1:10:56
Naveen AutomationLabs
Рет қаралды 688 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
ChainTest Report With Selenium + TestNG || Depreciation of ExtentReport
38:48
Naveen AutomationLabs
Рет қаралды 6 М.
Roles & Responsibilities of Automation Tester - Selenium | RD Automation Learning
17:05
TestNG Framework- Selenium Tutorial Part-1
1:03:17
Naveen AutomationLabs
Рет қаралды 764 М.
Explain OOPs Concept in Selenium Automation Framework
11:17
The Testing Academy
Рет қаралды 34 М.
@Parameters in TestNg: How to pass parameter from testing.xml
26:39
Naveen AutomationLabs
Рет қаралды 179 М.