Skip to main content

Posts

Showing posts with the label cucumber

Cucumber - Execution of test cases and reporting

Before going through this blog please checkout blog on   Cucumber Fundamentals Cucumber is testing tool which implements BDD(behaviour driven development).It offers a way to write tests that  anybody can understand, regardless of there technical knowledge. It users Gherkin (business readable language) which helps to  describe behaviour without going into details of implementation It's helpful for  business stakeholders who can't easily read code ( Why cucumber tool,  is  called  cucumber , I have no idea if you ask me I could have named it "Potato"(goes well with everything and easy to understand 😂) Well, According to its founder..... My wife suggested I call it  Cucumber  (for no particular reason), so that's how it got its  name . I also decided to give the Given-When-Then syntax a  name , to separate it from the  tool . That's why it's  called  Gherkin ( small variety of a cucumber that's been pickled. I...

Working with cucumber - Fundamentals

Hi,  The video talks about how to create a Maven project, what dependencies are required to run cucumber on your system. for reference copying all the dependency required for running cucumber This video is also available in youtube Copy and paste these dependency between <project>   </project> tags in your POM file and save.     < dependencies > < dependency >     < groupId > org.testng </ groupId >     < artifactId > testng </ artifactId >     < version > 7.1.0 </ version >     < scope > test </ scope > </ dependency > < dependency >     < groupId > info.cukes </ groupId >     < artifactId > cucumber- junit </ artifactId >     < version > 1.2.6 </ version >     < type > pom </ type >     < scope > test </ scope > </ dependency ...

Beginners Installation of Selenium->TestNG ->Cucumber for Win and Mac OS _ Part- 2

                 As you have checked in my  previous blog how to install java and Maven on windows as well as Mac OS. you can go ahead installing TestNG and Cucumber on your systems. To give a little overview.. TestNG TestNg is an open source automation testing framework in which NG stands for "Next Generation" TestNG is inspired from JUnit and NUnit introducing some new functionality that makes it more powerful and easier to use. To install TestNG to Eclipse 1-open eclipse  go to help->Eclipse marketplace-> search for TestNG-> and install confirm the installation of TestNG Click on finish to complete the download If cucumber plugin is not available under eclipse marketplace  then user other method 2- Open eclipse go to help->Install new software->click on "Add" button enter Name - "TestNG" Location  " http://beust.com/eclipse "   Can be used for eclipse 06-18  For eclipse 09-18 use the link...