in my test web page I have to upload a file, the uploader is flash based. I used AutoIT to upload the file but my problem is im unable to click that add button so that the upload dialogue box display and autoIT can do its job ..
driver.findElement(By.xpath(“html/body/div[3]/div[2]/div/div/table/tbody/tr[2]/td/div/form/div/div[6]/div[1]/div[2]/object”)).click();
the error im getting is element not found error..
can u guys plz help me how to click that flash button. i have even used Firepath, Css and i dont know what to do. Plz Help
Thank you
You cannot automate flash objects using Selenium, it is way out of the scope of what Selenium can do.
You need to edit the AutoIT script to click the Add button for you, Selenium will not be able to do this for you.