PrepCampusPlus - Signup Form



1. Introduction to Cucumber

2. Cucumber Setup and Installation

3. Understanding Gherkin Language

4. Writing Feature Files

  • Creating a Feature File
  • Writing Test Scenarios
  • Using Scenario Outline and Examples
  • Using Background to Reduce Duplication

5. Step Definitions in Cucumber

  • Creating Step Definition Files
  • Mapping Gherkin Steps to Java Methods
  • Regular Expressions in Step Definitions
  • Parameterizing Step Definitions

6. Cucumber Hooks

  • What are Hooks?
  • Using @Before and @After Hooks
  • Running Pre/Post Conditions
  • Using Multiple Hooks with Order

7. Cucumber Tags

  • What are Tags in Cucumber?
  • Running Specific Scenarios using Tags
  • Using Logical Operators in Tags (@Smoke and @Regression)

8. Data-Driven Testing in Cucumber

  • Using Scenario Outline with Examples
  • Using DataTables in Cucumber
  • Parameterizing Test Cases

9. Cucumber with Selenium WebDriver

  • Setting up Cucumber with Selenium
  • Automating Web UI with Cucumber and Selenium
  • Passing WebDriver Between Steps
  • Page Object Model (POM) with Cucumber

10. Running Cucumber Tests

  • Running Tests Using JUnit
  • Running Tests Using TestNG
  • Configuring Cucumber Runner Class

11. Cucumber Reports

  • Generating Default Cucumber Reports
  • Generating HTML, JSON, and XML Reports
  • Integrating Extent Reports with Cucumber

12. Handling Assertions in Cucumber

  • Using JUnit/TestNG Assertions in Cucumber
  • Using Hamcrest Matchers for Assertions

13. Cucumber with API Testing

  • API Automation Using Cucumber and Rest Assured
  • Writing API Scenarios in Gherkin
  • Sending GET, POST, PUT, DELETE Requests in Cucumber

14. Cucumber Parallel Execution

  • Running Scenarios in Parallel
  • Using @Dataprovider with TestNG for Parallel Execution
  • Using Maven Surefire Plugin for Parallel Execution

15. Cucumber Framework Design

  • Creating a Scalable Cucumber Framework
  • Organizing Feature Files, Step Definitions, and Hooks
  • Best Practices for Cucumber Automation

16. Cucumber Integration with CI/CD

  • Running Cucumber Tests in Jenkins
  • Configuring Cucumber in a CI/CD Pipeline
  • Generating Reports in CI/CD Environment

17. Advanced Cucumber Topics

  • Using Dependency Injection with Cucumber (Guice, PicoContainer)
  • Handling Dynamic Data in Cucumber
  • Custom Parameter Types in Cucumber
  • Handling File Uploads and Downloads in Cucumber

18. Cucumber Best Practices

  • Writing Maintainable and Scalable Tests
  • Avoiding Code Duplication in Step Definitions
  • Managing Test Data in Cucumber