IntermediateTECHNICAL
You mentioned working with BDD Cucumber. Describe a real feature from your project: show how the Gherkin scenarios are written, how you mapped them to step definitions in Java, and how you handled test data and reusability across steps.
Custom Role
General

Sample Answer

One concrete feature I automated with Cucumber was our user registration and login flow, used by about 50k monthly users. A typical Gherkin file looked like: """ Feature: User authentication Scenario Outline: Successful login Given a registered user "<userType>" When they log in with valid credentials Then they see the dashboard Examples: | userType | | basic | | admin | """ In Java, I mapped steps using parameterized step definitions, e.g. `@Given("a registered user \"(.*)\"")` calling a UserFactory that pulled data from a JSON test-data file. Page Objects handled UI actions, so steps stayed high-level and reusable across ~30 scenarios. We also used Cucumber hooks to manage setup/teardown and tagged scenarios (like @smoke, @regression) to reuse the same steps in different subsets. This structure cut duplicate step code by about 40% and made test data changes a simple JSON update instead of touching Java.

Keywords

Provided a real authentication feature with Scenario Outline and ExamplesUsed parameterized Java step definitions with a UserFactory and JSON test dataApplied Page Object pattern and Cucumber hooks for reusabilityReduced duplicate step code by ~40% and simplified data maintenance
Related Questions

Based on your hydrology and irrigation engineering background, explain how you would estimate the irrigation water requirement for a kharif crop in a semi-arid region of Gujarat. Walk me through each step: from reference evapotranspiration estimation, crop coefficient selection, effective rainfall calculation, to arriving at canal discharge for a given command area.

IntermediateTECHNICAL

In your civil engineering studies, what specific design coursework or project work did you complete related to irrigation channels or canals (e.g., design of lined/unlined canals, distributaries, minors)? Describe one such design in detail, including how you determined discharge, permissible velocity, section dimensions, and lining choice for Gujarat-type soil and climate conditions.

IntermediateTECHNICAL

Walk me through a recent multi-channel digital marketing campaign you managed end-to-end. How did you set objectives, choose channels, allocate budget, and measure success?

IntermediateBEHAVIORAL

In your resume you note improving or optimizing [a process, KPI, or metric]. What specific baseline metrics did you start from, what steps did you personally take, and how did you verify that the improvement was due to your changes rather than external factors?

IntermediatePROBLEM_SOLVING

On your resume you mention working on a cross-functional project (e.g., involving multiple teams or stakeholders). Describe a situation from that project where priorities conflicted—how did you navigate the trade-offs and what was the final outcome?

IntermediateSITUATIONAL