Menu

#279 IE9 Can't set path in FileUploa

Version_2.next
open
5
2012-09-15
2011-12-02
No

FileUpload incorrect works. IE9 Can't set path in FileUpload. Runtime version v4.0.30319 Windows7
Decision:
Frame frame = browser.Frame(Find.BySrc(new Regex(path)));
FileUpload fileUpload= frame.FileUpload("uxFileUpload");
browser.Eval("window.frames[0].document.getElementById('uxFileUpload').value='" + fullPath + "'");
fileUpload.NativeElement.SetFileUploadFile(browser.DialogWatcher, fullPath);
fileUpload.NativeElement.Select();

Discussion


Log in to post a comment.

MongoDB Logo MongoDB