I tried pasting a file path using all the below, but no luck. I know there`re no ways but I wanted to give it a shot though. Kindly let me know if theres still a way.
//Code
ClickbrowseButton.Click(); //Opens up a windows pop-up
string _filePath = "C:\Temp\Testdatafile.txt";
I tried using all the below ones.
- InputSimulator - doesn`t seem to support .net core, was getting a warning.
- AutoIt - can't use as we'll be running it on servers and this should be installed on the servers too.
- Robot - No good reviews about this.
- SendKeys - cant use library - System.Windows.Forms, as the git runner is running on linux.
- IJavascriptExecutor - doesn`t work as it takes webdriver.
So can someone suggest a way to paste file path apart from the above ones. Thanks!