Skip to main content

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 in location "https://dl.bintray.com/testng-team/testng-eclipse-release/6.14.3/" enter Name- "TestNG" click OK. 

now it will be available under new software 
select and click on next agree the license  and complete


Well done you are done installing TestNG to your windows/Mac system  successfully 👌

Cucumber

Cucumber is a testing tool that supports Behaviour Driven Development framework 
It defines application behaviour using simple English text, defined by a language called Gherkin

To install Cucumber to Eclipse

1- Go to help->Eclipse marketplace-> search for cucumber-> found "cucumber eclipse plugin" and install

If cucumber plugin is not available under eclipse marketplace  then use other method.

2- Launch Eclipse click on help menu and launch eclipse->click on install new software->. In the dialogue window click on Add button type enter the name "Cucumber" and location 
"http://cucumber.github.com/cucumber-eclipse/update-site" click OK


It will take some time to process and cucumber plugin will be visible

                 select the cucumber eclipse plugin and click on Next
.      

Select to accept license and agreement and Finish

Bravo you are done installing cucumber to your system successfully💪
In order to execute test cases using cucumber watch out for my next blog.

Comments

Popular posts from this blog

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...

Jmeter 5.4.1- Config Elements - Part-03

  Part-01- Installation of Jmeter and HTTP's Recorder click  here Part 02--Previous blog on Assertion Config elements in Jmeter are used to configure or modify the samplers requests made to the server. These elements are added at the same or higher level of the samplers that we want to configure  Let' start with  CSV data config As the name suggest it used to read data from CSV first we need to put data in variables and then use the variables in sampler request. create a new test plan add CSV data set config Add a Thread Group and then add Sampler "Java Request"  Create a CSV file  with some data (Name and Data) and save it  Now go to Jmeter CSs data set config browse and upload the css file create Make few more changes in place of  variable name - Name and Dept Ignore first line - True Delimeter - \t (as suggested) Now move on the Sampler-" Java Request" and rename it with header elements of CSV As we have Name and d...

Beginners tutorial -:working with JMeter in Mac and windows - Part-01

  Prequisite   you should have Java downloaded in your system with Home path set under environment variables.(as of today Java version 8 and higher are required fro jmeter ) for help check out this link Note Always run the jmeter on your secondary browser,  if you give the primary browser for proxy settings then your internet connection will be disrupted for the browser as well as system For ex if you have chrome and firefox and your primary or default browser is chrome then do all the proxy setting in firefox so it won't hamper the system Internet connection  if you have safari as your default browser in your mac os then set proxy in chrome/firefox  MAC Download jmeter from the link  here click on the hypelink under section Binaries  "Apache JMeter( 5.3 ). tgz" file  for Mac   Tar file will get downloaded Double click on the tar file to unzip  once you open the folder  got to bin and search for jmeter.sh file this is a executa...