WebDriver upload file
作者: Max.Bai
时间: 2014/07
WebDriver upload file is easy than selenium RC
string sFilePath = @"c:\temp\file.txt";
string sNetFilePath = @"\\192.168.0.2\folder\file.txt";
string sBrowserID = "UploadFileBtn";
driver.FindElementByID(sBrowserID).SendKeys(sFilePath);
Selenium RC upload file:
http://blog.csdn.net/max229max/article/details/18817649