mercredi 5 février 2020

Can I run a test case multiple times in Robot Framework

I have a test case that I need to run multiple times in the same file, is there a way to do that without copying the whole testcase multiple times?

Step 1 Click With Selecting Court
  Open Browser To Login Page
  Input Username    ${VALID USERNAME}
  Input Password    ${VALID PASSWORD}
  Submit Credentials
  Go To User Book Page
  Userbook Page Should Be Open
  ${tab_user}  ${tab_datetime}  ${tab_products}  ${tab_login}  Api Book Steps
  Userbook Page Court Select  ${tab_user}

This is the test case that I need to run multiple times

I want to run it before this test:

Step 2 Click Without Selecting Date And Start/End Time
  Userbook Page Step 2 Should Be Open
  Submit Date And Start/End Time
  [Teardown]    Close Browser

Aucun commentaire:

Enregistrer un commentaire