LambdaTest Community

Find answers, support, and inspiration from other users

Questions
LambdaTest Community
Answered

How can I perform automation testing with Selenium, Cucumber & TestNG?

I want a proper tutorial on how can I perform automation testing with Selenium, Cucumber & TestNG, can anyone please provide me that

Up Vote Down Vote 0 Votes
Posted 4 months ago

Answers


Selenium is an automation tool which we can use in our editor with the help of jar file.

TestNG and Cucumber in other words call as BDD framework these both are the designed frameworks which helps to make our test cases more robust, understandable ,reusable and use for reporting purpose also

TestNg framework: go to the Eclipse market place and download the TESTNG software ,once downloade successfully configure into the project with the help of “configure build path” else create a new project as TestNG Project.

TestNG project does not required main method for program execution because TESTNG contains so many pre-defined Annotations

@Test. ,@BeforeMethod,@AfterMethod,@BeforeSuite,@AfterSuite,. @BeforeClass,@AfterClass etc

Note- Every annotation must associate with one method then only it works

Up Vote Down Vote 0 Votes
Posted 4 months ago