java - Not returning back to selenium after successful execution of autoit -


i trying download , save document local machine application on click of export button. on click of export button continue website(not recommended) error open in window.on click of window save pop of ie11 comes up. trying use autoit select save option pop comes in ie11 while downloading.this downloads file control not returning selenium script , selenium script not terminated.after download have written java code check if file exists in particular path.the script doesnot go part of code.please help

below auto code winwaitactive("internet explorer","",40)

  send("{tab}")--->by default selection in "open".so tabbing "save"   send("{enter}") 

in selenium webdriver iam calling auto java.lang.runtime.getruntime().exec((path of file)+"download_ie.exe");

when tried download manually ,after clicking on save pop closes automatically.but while running script after clicking on save window not closed itself.when closed window through script started working.

winclose("window title")

the script hanging @ point. issue resolved


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -