How to Create Test Scripts for UAT that focus on Business Process?



  • I am creating a Test Scripts for our UAT but I always ended up doing a test case that looks like a System test scripts. Is it ok to have another test case in a test case since I am validating that the feature is working?

    If I'm going to use Gherkins BDD style does it mean I will not do this?

    • Steps 1: Click [Button] Expected Result:Users sees the window
    • Step 2: Click [Dropdown] Expected Result: Option will be displayed

    I've been searching online for a sample but I don't see any helpful article or blog.



  • Use Cucumber

    Focus on using full english. Focus on behavior over details, the 'what' over the 'how'.

    So instead of

    1. Click Button
    2. See Dropdown populated
    3. Enter numbers in input field

    You want something that is more meaningful to the product owner, such as

    1. Navigate to sign-up page
    2. Select the correct type of product
    3. Provide the number of items desired
    4. Submit form
    5. Ensure result is as expected

    In the details you will do all the click, enter, click, etc. actions.

    As with all testing you are doing three activites:

    Setup ('given')

    1. Navigate to sign-up page

    Action ('when')

    1. Select the correct type of product
    2. Provide the number of items desired
    3. Submit form

    Result ('then')

    1. Ensure result is as expected

    Get your product owner to own and maintain these with appropriate language for the domain you are in. You may need to help them with this advice too or they may just write 'click button' 'type 3', etc.


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2