Lets take an example of a user story related to an insurance product
As a claim manager I want to search of the policy of a customer So that I can validate if he is eligible for claim
Scenario : Search with the policy No.
Given I am logged in they system as a claim manager When I search a policy with policy No. Then I can see the detail of the policy and claim history
Scenario : Search/time with policy No.
Given I am a claim manager using the claim system When I search for a policy Then I see the results in 2 seconds
Now let’s take an example where we can actually use Test techniques learnt in ISTQB Foundation