testcomplete - How can I directly run a file in IE (11) using javascript in Test Complete -


i using ie 11 , want automatically download , run file using javascript in testcomplete. problem run or save buttons inaccessible. can download window (as shown in attached screenshot) unable click run button.

i tried recording script uses coordinates reach button.

here's code mix , match of recording , scripting-

 if (aliases.browser.browserwindow.framenotificationbar.directuihwnd.visible == true)   {   log.message("ie download prompt");    aliases.browser.browserwindow.framenotificationbar.directuihwnd.click(758, 63);    } 

how can particular run object?download prompt/window ie

you need add directuihwnd window name uiautomation list of accepted windows. this, open tools | current project properties dialog , add window name list in open applications | ui automation group.

enter image description here


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -