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
- Define your feature, scenario, and steps.
- Go to Add New Step Definition and select UI module.
![](http://nocodebdd.com/wp-content/uploads/2022/08/file-1-800x370.png)
- Select the action “Send Keyboard Inputs” and provide the file path to be uploaded.
![](http://nocodebdd.com/wp-content/uploads/2022/08/file-2-800x367.png)
- 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.
![](http://nocodebdd.com/wp-content/uploads/2022/08/file-3-800x370.png)
The following video shows how to upload a file by using keyboard actions.