When I'm trying to create an object of Robot Class I get java.lang.NullPointerException. Has anyone faced such issue in the past?
This is happening when I'm trying to upload the file in the Aut using Selenium Webdriver.
Thanks and Regards,
I have figured out the solution. It was not because of any programming issue. Actually, there was a clash of Jre Versions on my system.
I uninstalled/deleted all the jdks and installed a new one and everything started working fine.