Selenium: BDD Cucumber- Cucumber Options
In last post, we learnt how to write features, scenarios and how to execute BDD cucumber tests. As we are implementing our BDD framework using cucumber, let's explore further about cucumber. We will start with various cucumber options in this post. We run our cucumber tests from Runner class. You can just go through this once to recapitulate things we discussed in last post Cucumber Demo Test . In that runner class, we have different cucumber options, it is just like a settings page that how we want to run our tests and different options are also available for that purpose. [Cucumber Options] Dry Run: dryrun can be true or false. If dryrun is set true, it will check if the steps written in feature file has corresponding code in step definition file or not. It is good option to catch rudimentary errors. The default value of dryrun is false. You can just try with dryrun=true option to see the result. Monochrome: monochrome option also can ta...
Nice job buddy. I would like to hear more from you on such intrestiint topic
ReplyDeleteyes sure. you can learn with new posts every week. !!
Deletehello i have visited your blog first time.content was good enough but u have to put more real time scenario in actual where we have used oops concept in selenium
ReplyDelete..anyways nice job keep it up:)
Hi There, Thanks a lot. You will see more real time examples once we will start writing more complex scripts in Selenium. Here I am starting from beginners' level so flow can be maintained. Happy learning :)
DeleteGlad to connect !
ReplyDeleteThank you and same here ! Keep learning :)
Delete