Cucumber eclipse plugin9/5/2023 Create a new Class file in the ' cucumberTest' package and name it as ' SeleniumTest', by right click on the Package and select New > Class.Lets first write a simple Selenium Test script for LogIn functionality and then convert that script into Cucumber script to understand it better. Name it as ‘ Feature’ and click on Finish button. Name it as ‘ cucumberTest’ and click on Finish button.Ĭreate another Package and name it as ‘ stepDefinition’, by right click on the ' src' folder and select New > Package.Ĭreate a new Folder this time by right click on the project ' OnlineStore' and select New > Folder.Create a new Package by right click on the ' src' folder and select New > Package.Configure Eclipse with Selenium & Cucumberīefore moving head for writing the first script, let's create a nice folder structure of the project.I hope you have been following the complete tutorial and I expect that by now you have completed the following steps, which are the prerequisite for writing Cucumber Selenium test: Now let's try to create first Cucumber Selenium Java test and I assume that you have some basic understanding of Selenium WebDriver and its basic commands. Till now we have understood what Cucumber is and what development model it follows.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |