AI & Technical question
Have you done feature testing? Describe what a Gherkin scenario is.
- American Express
- AI & Technical
- Easy
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Practical QA process knowledge and familiarity with behavior-driven development terminology.
How to approach it
- Answer directly on experience with feature testing, describing specific collaboration with QA on test case definition and execution.
- Define a Gherkin scenario, a structured, plain-language format for describing feature behavior using Given, When, Then steps.
- Give a concrete example, e.g. Given a user is logged in, When they submit an invalid payment, Then an error message is shown and the charge is not processed.
- Explain its purpose, making acceptance criteria readable by both technical and non-technical stakeholders and enabling automated behavior-driven tests.
- Explain the PM's role, writing or reviewing scenarios during refinement to ensure they cover the intended behavior and edge cases.
- Note the collaborative aspect, Gherkin scenarios often feed directly into automated test suites, linking product intent to QA execution.
What a strong answer includes
- Gives a concrete, correctly formatted Given-When-Then example rather than only a textbook definition.
- Explains the practical value, bridging plain language requirements and automated testing, showing real process understanding.
- Describes the PM's actual role in this process, reviewing scenarios for completeness, not just defining the term.
- Mentions edge case coverage explicitly, since a well written Gherkin scenario set should include failure paths, not just the happy path.
Common mistakes
- Giving only a dictionary definition of Gherkin without a concrete example.
- Describing feature testing in the abstract with no reference to personal experience.
- Ignoring edge case or failure path scenarios, covering only the happy path.
Likely follow-up questions
- Can you walk through a Gherkin scenario you've written.
- How do you ensure edge cases are covered in these scenarios.
- How does this fit into your team's testing process.
More ai & technical questions
- How does TinyURL work?Google · AI & Technical · Easy
- How would you explain cloud computing to your grandmother?Google · AI & Technical · Easy
- What happens when you enter a URL in your browser?Google · AI & Technical · Easy
- Explain PageRank to a five-year-old.Google · AI & Technical · Easy
- What happens when you swipe your credit card?Apple · AI & Technical · Easy
- What are the key elements of media manifest?Twitch · AI & Technical · Easy
More questions from American Express
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture