This is a project on Automating OneDrive Automation with Selenium and JAVA!
- We will be using Eclipse as IDE
- We will using Java SE 1.8
- We will import Selenium which can be downloaded from https://www.selenium.dev/downloads/
- To upload a file into OneDrive we will need to use AutoIT. AutoIT is used to access Windows explorer as Selenium does not have access in Windows Explorer. Once the File Explorer is opened by Selenium, AUtoIT will input the filepath and will press the OPEN button on the Windows Explorer to complete the file upload proess
Here you will find .au3 file(zerofileupload.au3). This file contains script that will input a 0 Byte file path into Windows Explorer File Upload popup and complete the file upload proces. And, by compiling the .au3 file, we got the .exe fie(zerofileupload.exe) which will execute the script inside the .au3 file. We will execute this .exe file in Selenium to complete the file upload process fo ra 0 Byte File.
You will aslo find .au3 file(FileUploadScript.au3). This file contains script that will input the file path into Windows Explorer File Upload popup and complete the file upload proces. And, by compiling the .au3 file, we got the .exe fie(FileUploadScript.exe) which will execute the script inside the .au3 file. We will execute this .exe file in Selenium to complete the file upload process.