1. Home
  2. REST API Testing
  3. File upload

File upload

If you want to upload a file by sending text from keyboard input, you can achieve this easily using NoCodeBDD.

Steps to upload a file using keyboard keys

  1. Define your feature, scenario, and steps.
  2. Go to Add New Step Definition and select UI module.
  1. Select the action “Send Keyboard Inputs” and provide the file path to be uploaded.
  1. After the file path is entered, select the action “Keyboard Action” to click ENTER Key (Select ENTER Key from the list of keys available). It is always recommended to perform a key release event after accomplishing the key press event.

The following video shows how to upload a file by using keyboard actions.

https://nocodebdd.live/keyboard-actions

Was this article helpful to you? Yes No