Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com
Is there a way to Upload Files on a Browser without the "input type=file"?
I'm testing a website for a company. A particular page only allows drag and drop of files in order to upload. There is no input with type="file" on the page.
I'm unsure if I can use windows apis as that would require me to set the mode to "windows", but what I'm testing is on a browser.
Comments
Hi Karlov,
Can you please try with the below API and check if that helps?
_dropFile() will help you to upload the file as your requirement.
https://resources.sahipro.com/docs/sahi-apis/action-apis.html#_dropFile
If this doesn't work, please let us know your convenient time for the meeting. You can send the details of your application to support@sahipro.com
This worked! Thank you