Give a case of a Step Definition File utilizing the Cucumber framework.

894    Asked by ShantellRoye in QA Testing , Asked on Feb 8, 2020
Answered by Shantell Roye

 Step definition compared to the progression "Open Chrome browser and dispatch the application" may appear as though the code referenced beneath:

@Given("^Open Chrome browser and launch the application$")

public void openBrowser()


driver = new ChromeDriver();




Your Answer


Parent Categories